Youtube to animated meme generator.
brew install ffmpeg
brew install libtool
brew install imagemagick --build-from-source
brew install automake
git clone git@github.com:pornel/giflossy.git && cd giflossy && autoreconf -i && ./configure && make && make install
sudo pecl install imagick
vi /etc/php.ini
and add extension=imagick.so
cd libs/youtubeToGif && npm install
php cmd.php A7TaY8HWYd8 71 5 "PRETTY GOOD JUNIOR" 500 BOTTOM
php cmd.php 6Hn8qnsucwo 30 5 "PRETTY ... PRETTY ... PRETTY ... PRETTY ... PRETTY GOOD" 500 TOP
php cmd.php puo1Enh9h5k 49 2 "ROMANO LE RELOU" 500 BOTTOM
A cloud image recognition test.
Using the moodstocks.com cloud service.
A nice and simple socketIO boilerplate.
Features a demo web multi screen web app.
sudo gem install compass
sudo npm install bower -g
sudo npm install grunt -g
sudo gem install sass
sudo gem install --pre sass-css-importer
cd _build && npm install
client-master/_dev/js/libs/config.js
client-slave/_dev/js/libs/config.js
server/libs/config.json
cd client-master/_build && grunt build
cd client-slave/_build && grunt build
cd server && ./run
(debug : cd server && ./run-debug
)Thanks to the guys at http://socket.io
An basic phonegap boilerplate.
sudo npm install -g phonegap
sudo npm install grunt -g
sudo npm install -g ios-deploy && sudo npm install -g ios-sim
phonegap run ios
export ANDROID_HOME=$HOME/Library/Android
export PATH=$PATH:$ANDROID_HOME/tools
android
phonegap run android
_build/config.json->installCommands
cd _build && npm install && grunt install
cd _build && grunt run:ios
_build/config.json->phonegapiOSTarget
to change simulated devicecd _build && grunt run:android
_build/config.json->phonegapAndroidTarget
to change simulated deviceandroid
phonegap create . com.lucasmouilleron.phonegapAngularBoilerplate phonegapAngularBoilerplate
A simple phantomJS snapshot generator for web app.
cd server && npm install
cd server && vi config.json
:
envPath
: paste the result of echo $PATH
baseURL
: the base URL of the appcd webApp && npm install && grunt build
cd webApp && vi .htaccess
: edit the RewriteBase
make-snapshot http://localhost.com/webAppSnapshotBoilerplate/webApp/#!/reddits
make-snapshot http://localhost.com/webAppSnapshotBoilerplate/webApp/#!/github/lucasmouilleron
Slim is a lightweight but powerfull API Rest PHP framework.
sudo npm install bower -g
sudo npm install grunt -g
sudo gem install sass
sudo gem install --pre sass-css-importer
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
cd api && composer install
cd build && npm install
index.php
and _dev/js
test.php
api/libs/JWTAuthenticationMiddleware.php
> JWTAuthenticationMiddleware->doLogin
to add login logicThanks to guys at Slim
sudo gem install compass
sudo npm install bower -g
sudo npm install grunt-cli -g
sudo npm install grunt -g
sudo gem install sass
sudo gem install --pre sass-css-importer
cd _build && npm install
config->installCommands
_build/config.json
if neededcd _build && grunt build
cd _build
grunt sync
ndex-debug.html
insteadindex-debug.html
loads the non compiled versioncd _build && bower install the_module --save
_dev/js/libs/vendor/the_module/path/to/jsFile
in _dev/main.js
in path section and include module name in the requirejs
callcd _build && bower install the_module --save
_dev/scss/main.scss
and add @import "CSS:../js/libs/vendor/the_module/the_css_path/the_css_file_without_extension";
cd _build && bower install the_module --save
build/config.json
and update the copyFiles
value so the files from the vendor path are copyied in the public assets
foldersudo gem install compass
sudo npm install bower -g
sudo npm install grunt-cli -g
sudo npm install grunt -g
sudo gem install sass
sudo gem install --pre sass-css-importer
npm install && grunt install
config.json
if neededgrunt build
brew install mongodb
[Mac OS]mkdir -p /path/to/data/db
sudo mongod --fork --logpath /var/log/mongodb.log --port 27017 --dbpath /path/to/data
sudo mongod --fork --logpath /var/log/mongodb.log --port 27017 --dbpath /path/to/data
mongo --host the_host --port 27017
use admin
db.createUser({user: "admin", pwd: "iamagod", roles: [ "root" ]})
sudo mongod ... --auth
mongo --username admin --password iamagod admin --authenticationDatabase admin
use main
db.shops.ensureIndex({"loc":"2dsphere"})
db.shops.ensureIndex({"name":"text"})
db.shops.ensureIndex({"address.zip":1})
db.shops.ensureIndex({"address.city":1})
db.shops.ensureIndex({"date":1})
mongodump --username admin --password iamagod --authenticationDatabase admin --db main --collection shops
mongorestore --username admin --password iamagod --db main --authenticationDatabase admin --collection shops dump/test/shops.bson
take autoconf
curl http://ftp.gnu.org/gnu/autoconf/autoconf-latest.tar.gz > autoconf.tar.gz && tar -xzf autoconf.tar.gz && cd autoconf-2.69 && ./configure && make
sudo make install
export PHP_AUTOCONF=/usr/local/bin/autoconf
sudo pecl install mongo
sudo vi /etc/php.ini
and add extension=mongo.so
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
cd api && composer install
dbViewer/config.js
node dbViewer/app.js
sudo mongod --fork --logpath /var/log/mongodb.log --dbpath $HOME/Projects/haveidols/testMongoDB/data --auth
mongo --host localhost --port 27017 --username admin --password iamagod admin --authenticationDatabase admin
mongodump --host localhost --port 27017 --username admin --password iamagod --authenticationDatabase admin --db main --collection shops