View EC2Linux2LetsEncryptCommands.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Install git and upgrade all packages | |
sudo yum update -y | |
sudo yum install git | |
#Get last available version of let's encrypt | |
git clone https://github.com/letsencrypt/letsencrypt.git | |
#result : | |
Cloning into 'letsencrypt'... | |
remote: Counting objects: 55232, done. | |
remote: Compressing objects: 100% (55/55), done. |
View cljs-react-material-ui-reagent-example.cljs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns crmui-reagent.core | |
(:require | |
[cljsjs.material-ui] | |
[cljs-react-material-ui.core :as ui] | |
[cljs-react-material-ui.reagent :as rui] | |
[cljs-react-material-ui.icons :as ic] | |
[reagent.core :as r :refer [atom]] | |
[reagent.session :as session] | |
[secretary.core :as secretary :include-macros true] | |
[accountant.core :as accountant] |
View emscripten_image2_webm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(perform steps 0 - 7 from https://gist.github.com/binarykitchen/5230096 first) | |
8. final step: port avconv to javascript!! | |
> cd avconv | |
> sudo find . -iname "*.o" -exec rm {} \; | |
> sudo make clean | |
> sudo make distclean | |
> git pull | |
> git clean -f |
View emscripten_avconv_x264_libvpx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
first install x264, libvpx and avconv the normal way without emscripten: | |
0. install common dependencies | |
> sudo apt-get install build-essential checkinstall build-dep | |
1. install yasm | |
> cd [YOUR PROJECTS FOLDER] | |
> wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz |
View node-and-npm-in-30-seconds.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
. ~/.bashrc | |
mkdir ~/local | |
mkdir ~/node-latest-install | |
cd ~/node-latest-install | |
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
./configure --prefix=~/local | |
make install # ok, fine, this step probably takes more than 30 seconds... | |
curl https://www.npmjs.org/install.sh | sh |