vanitygen -r '1[1-9]h[1-5][1-9]m'
example result: 14h55m - bitcoin time!
| # Sinatrize mini | |
| # | |
| # usage: | |
| # | |
| # - download makevoid/sinatrize_mini.rb from gist.github.com ( wget https://gist.githubusercontent.com/makevoid/e5a7fd4c8c29e9b8051e/raw/a46c95d218be17136a53a8efd631411febd8815e/sinatrize_mini.rb ) | |
| # - run: `ruby sinatrize.rb` in your terminal | |
| # - there's no step three! :D | |
| # | |
| # (actually you can `bundle` and `rackup` and you will be gtg! |
| T_FOO = Transproc(:hash_recursion, Transproc(:symbolize_keys)) + Transproc(:hash_recursion, Transproc(:map_hash, foo: :bar)) | |
| T_FOO.( foo: "baz", child: { "foo" => "asd" } ) | |
| # => | |
| # {:child=>{:bar=>"asd"}, :bar=>"baz"} | |
| # quiz: try to refactor the example using function composition :D |
| # Readme.md | |
| # | |
| # # apps_get | |
| # | |
| # ### Get all the apps you are developing on atm, sorted by time | |
| # | |
| # ### Set your configs (APP_PATH) and then: | |
| # | |
| # ruby appsGet.rb | |
| # |
| FROM ubuntu:14.04 | |
| RUN apt-get update && apt-get upgrade -y && apt-get install -y openvpn easy-rsa | |
| RUN gunzip -c /usr/share/doc/openvpn/examples/sample-config-files/server.conf.gz > /etc/openvpn/server.conf | |
| RUN sed -i -re"s/dh dh1024.pem/dh dh2048.pem/g" /etc/openvpn/server.confs |
| // var event = new CustomEvent('nome',{ | |
| // 'detail': { | |
| // 'flange': 2, | |
| // 'foo': 1 | |
| // } | |
| //}) | |
| setInterval(function() { // loop | |
| var rand = parseInt(Math.random() * 1000) | |
| var event = new CustomEvent('flanged', { |
| apt-get update && apt-get upgrade -y && apt-get install -y openvpn easy-rsa && mkdir /etc/openvpn/easy-rsa/ && cp /usr/share/easy-rsa/* /etc/openvpn/easy-rsa/ && cd /etc/openvpn/easy-rsa/ && source vars && ./clean-all && ./build-dh && ./pkitool --initca && ./pkitool --server server && cd keys && openvpn --genkey --secret ta.key && sudo cp server.crt server.key ca.crt dh2048.pem ta.key /etc/openvpn/ |
| /*jslint node:true, vars:true, bitwise:true, unparam:true */ | |
| /*jshint unused:false */ | |
| /*global */ | |
| var mraa = require('mraa'); //require mraa | |
| var request = require('request'); | |
| var _ = require('underscore') | |
| var addr2watch = '1LJ4rddYGzT8GqwQioMNw3cYQJdwjM3Drs' // bitcoin address to watch | |
| var assetName = 'PROG' |
| <?php | |
| include 'config.php'; | |
| include 'check_balance.php'; | |
| // this file is called by the ajax request | |
| $balance = check_balance($address); | |
| $current_balance = floatval($_GET['currentBalance']); |
| # task :default => [:hello] | |
| task :default => [:setup_and_run] | |
| # task :hello do | |
| # puts "hello world" | |
| # end | |
| class Bundle |