Skip to content

Instantly share code, notes, and snippets.


Michael Heuberger binarykitchen

View GitHub Profile
isaacs /
Last active Jun 19, 2022
Use one of these techniques to install node and npm without having to sudo. Discussed in more detail at Note: npm >=0.3 is *safer* when using sudo.
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl | tar xz --strip-components=1
./configure --prefix=~/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl | sh
binarykitchen / emscripten_avconv_x264_libvpx
Last active Aug 10, 2018
mad goal: port avconv to javascript (part 1 of 2)
View emscripten_avconv_x264_libvpx
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
> wget
binarykitchen / emscripten_image2_webm
Last active Dec 15, 2015
mad goal: port avconv to javascript (part 2 of 2)
View emscripten_image2_webm
(perform steps 0 - 7 from 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
madvas / cljs-react-material-ui-reagent-example.cljs
Created May 13, 2016
Snippet example of using library cljs-react-material-ui with Reagent
View cljs-react-material-ui-reagent-example.cljs
(ns crmui-reagent.core
[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]
#Install git and upgrade all packages
sudo yum update -y
sudo yum install git
#Get last available version of let's encrypt
git clone
#result :
Cloning into 'letsencrypt'...
remote: Counting objects: 55232, done.
remote: Compressing objects: 100% (55/55), done.