I like to browse the deep web to keep myself updated about it's happenings but finding the urls gets annoying. Here are a few interesting links:
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
| # Based on https://gist.github.com/jhass/a5ae80d87f18e53e7b56 | |
| AllCops: | |
| TargetRubyVersion: 2.4 | |
| DisplayCopNames: true | |
| Include: | |
| - '**/Rakefile' | |
| - '**/config.ru' | |
| Exclude: | |
| - '**/Guardfile' |
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
| require 'droplet_kit' | |
| token = '' # paste your token here | |
| client = DropletKit::Client.new(access_token: token) | |
| # if your droplets are named john-1, john-2, john-3 | |
| # @param spelledlike [String] type 'john' | |
| # @return [Array<String>] ids of the killed droplets | |
| def killem(spelledlike) | |
| client.droplets.all.select {|e| e.name.include? spelledlike} |
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
| /interface ethernet | |
| set 0 name=WAN1 | |
| set 1 name=WAN2 | |
| set 2 name=WAN3 | |
| set 3 name=WAN4 | |
| set 4 name=Local | |
| /ip address | |
| add address=192.168.0.1/24 interface=Local | |
| add address=192.168.1.65/24 interface=WAN1 |
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
| # Code required to read in the values of k,n and candies. | |
| n = gets.to_i | |
| k = gets.to_i | |
| candy = Array.new(n) | |
| for i in 0..n - 1 | |
| candy[i] = gets.to_i | |
| end | |
| sorted_candies = candy.sort.to_a |
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
| gilani@debris ~/Sandbox/passphrase v1 node | |
| > 26+26+10 | |
| 62 | |
| > Math.pow(62,4) | |
| 14776336 | |
| > | |
| (^C again to quit) | |
| > | |
| gilani@debris ~/Sandbox/passphrase v1 isup | |
| PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. |
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
| /* | |
| If you have a shared copay wallet and would like to create HD multisig address on the fly | |
| Export the backup of your wallet, decrypt it and find the extended public keys for the | |
| co-signers in the publicKeyRing property, and run it through this. | |
| */ | |
| var bitcore = require('bitcore'); | |
| // which iteration of the addresses do you want to generate | |
| var walletNumb = 5; |
Verifying I am +gilani on my passcard. https://onename.com/gilani
I hereby claim:
- I am amingilani on github.
- I am gilani (https://keybase.io/gilani) on keybase.
- I have a public key ASAOjVFyPrChRmDzFnrnq3m4JByzi9_jNdtp9f2i9I5gLwo
To claim this, I am signing this object: