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 "choose a name for your new (RSA 4KB) key such as: id_rsa_tnarik_resma" | |
ssh-keygen -t rsa -b 4096 -C "tnarik@lecafeautomatique.co.uk" | |
####ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)" | |
\curl -L https://get.rvm.io | bash | |
echo "rvm_install_on_use_flag=1" > ~/.rvmrc | |
### Sourcing the RVM script adds the rvm to the PATH automatically. | |
####echo "configuring GIT" |
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
http://hints.macworld.com/article.php?story=20110831105634716&query=lion+usb -> to extract the mountain lion install image into a USB. | |
and | |
http://www.techrepublic.com/blog/mac/how-to-create-a-bootable-usb-to-install-os-x/2699 to put it there. | |
To avoid auto-opening volumes from USB drives and such: | |
sudo bless -folder "/Volumes/Mountain Lion" | |
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
DROP user ertpdev cascade; | |
CREATE USER ertpdev IDENTIFIED BY ertpdev | |
DEFAULT TABLESPACE USERS | |
TEMPORARY TABLESPACE temp | |
QUOTA UNLIMITED ON USERS | |
; | |
GRANT RESOURCE, CONNECT, QUERY REWRITE , CREATE SYNONYM, CREATE VIEW TO ertpdev; |
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
# As explained in http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1211165807/6 | |
sudo mkdir /var/lock | |
sudo chmod 777 /var/lock | |
Make sure the ```Preferences > Arduino``` paths are properly set, so that you can use the same private and hardware libraries as from the Arduino IDE. |
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
You can do the following: | |
1) download and install | |
2) create the destination folder (I used the following in a mountable disk): | |
usb_backups (a folder for the backups) | |
├── huolongjing (a folder for the USB stick) | |
├── huolongjing_SyncSettings.ffs_batch | |
├── huolongjing_SyncSettings.ffs_gui | |
├── huolongjing_SyncSettings.ffs_real | |
└── huolongjing_version (a folder for versioning, just as a safeguard) | |
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
brew install passenger nginx --with-passenger |
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
## | |
## Better Node installation | |
## | |
# Install node from the packages as usual if you feel so inclined, or install NVM instead (or as a second step) | |
curl https://raw.githubusercontent.com/creationix/nvm/v0.17.3/install.sh | bash | |
# Edit .zshrc to add the sourcing of the file | |
``` |
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
PROMPT='$(build_prompt) ' | |
ZSH_THEME_GIT_PROMPT_AHEAD="▲" | |
ZSH_THEME_GIT_PROMPT_BEHIND="▼" | |
ZSH_THEME_RVM_PROMPT_PREFIX="[" | |
ZSH_THEME_RVM_PROMPT_SUFFIX="]" | |
prompt_status() { |
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
sudo -E chef-client -z --config /tmp/kitchen/client.rb --log_level debug --json-attributes /tmp/kitchen/dna.json |
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
version: '2' | |
services: | |
cassandra-1: | |
image: cassandra:2 | |
environment: | |
- CASSANDRA_CLUSTER_NAME="demo_3nodes" | |
- CASSANDRA_BROADCAST_ADDRESS=cassandra-1 | |
ports: | |
- "9042:9042" |
OlderNewer