This file contains hidden or 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 gnupg2 and gnupg-agent | |
$ sudo apt-get install gnupg2 gnupg-agent rng-tools | |
# Make sure you have gpg2 2.1.11 (gpg2 --version) | |
# Create entropy for key generation | |
$ sudo rngd -r /dev/urandom | |
This file contains hidden or 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
$ cat test.json | |
[ | |
{ | |
"kind": "workspace", | |
"id": 672699, | |
"name": "Iteration 0", | |
"person_id": 2179801, | |
"project_ids": [ | |
1968761, | |
1968571, |
This file contains hidden or 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
#!/usr/bin/perl | |
$regexp = '\d\d:\d\d:\d\d'; | |
while(<>){ | |
if(/($reg)/g) { | |
print"$1\n" | |
} | |
while( m/($reg)/g ){ | |
print"$1\n" |
This file contains hidden or 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 ruby and the bosh cli | |
git clone git://github.com/sstephenson/rbenv.git .rbenv | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc | |
echo 'eval "$(rbenv init -)"' >> ~/.bashrc | |
git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build | |
echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc | |
git clone https://github.com/sstephenson/rbenv-gem-rehash.git ~/.rbenv/plugins/rbenv-gem-rehash |
This file contains hidden or 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
## Push a sample application to pez | |
# Login to PeZ and create an account: | |
https://pez.pezapp.io/ | |
# Grab a working cf binary for your platform (this assumes osx): | |
$ curl -L "https://cli.run.pivotal.io/stable?release=macosx64-binary&source=github" | tar -zx | |
$ mv cf /usr/local/bin/ |
NewerOlder