#Jade Snippets
# take ownership of the folders that npm/node use | |
# please don't do this if you don't know what it does! | |
sudo mkdir -p /usr/local/{share/man,bin,lib/node,include/node} | |
sudo chown -R $USER /usr/local/{share/man,bin,lib/node,include/node} | |
# now just a pretty vanilla node install | |
# let it use the default paths, but don't use sudo, since there's no need | |
export PREFIX= | |
mkdir node-install | |
curl http://nodejs.org/dist/node-v0.4.3.tar.gz | tar -xzf - -C node-install |
VERSION=0.20.7 | |
sudo apt-get update | |
sudo apt-get install openjdk-7-jdk | |
# 1.10.2015 $VERSION = 1.6.0 | |
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-$VERSION.deb | |
sudo dpkg -i elasticsearch-$VERSION.deb | |
# be sure you add "action.disable_delete_all_indices" : true to the config!! |
#Responsive Web Design
Dies ist eine Sammlung nützlicher Tips und Tricks zur Entwicklung Responsiver Webseiten. 👌
Viewport und (Normalize)
<!-- Damit wird die spezifische Skalierung der Smartphones ausgestellt -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
### Change VM to dynatic size | |
cd C:\virtualbox\Portable-VirtualBox\app64 | |
VBoxManage clonehd "C:\virtualbox\Portable-VirtualBox\data\.VirtualBox\Machines\win7\win7.vhd" "dynamic_win7.vhd" --variant Standard | |
### Resize | |
1. use vmBoxManage | |
VBoxManage modifyhd "C:\virtualbox\Portable-VirtualBox\data\.VirtualBox\Machines\win7\dynamic_win7.vhd" -resize 40000 | |
2. go on vm and add space | |
https://www.youtube.com/watch?v=SfU24IFQ3x8 |
A simple but effective instruction doc which shows how to generate preview thumbnails of a video, and corresponding VTT file, for use within JW Player to allow for toolbar video preview (described in following article. First it shows how to create an image of images (sprite) and then how to create a VTT file belonging to the sprite via Javascript.
A simple but effective command-line tool for generating thumbnails of a video, and corresponding VTT file, for use within JW Player to allow for toolbar video preview.
Alternatively check the Online Demo
$ ssh-keygen -t rsa -C "[email protected]"
$ cat ~/.ssh/id_rsa.pub
$ git remote -v
$ git remote set-url origin --delete https://github.com/lidox/reaction-test.git
$ git remote add origin [email protected]:lidox/reaction-test.git