I hereby claim:
- I am joekir on github.
- I am joekirwin (https://keybase.io/joekirwin) on keybase.
- I have a public key whose fingerprint is 1B3E 55CA FB40 6C6B 6E34 AD3B 18C1 8EC7 1A6C 32A6
To claim this, I am signing this object:
| const util = require('util'); | |
| const vm = require('vm'); | |
| var sandbox = { | |
| result: null | |
| }; | |
| var context = vm.createContext(sandbox); | |
| console.log('Sandbox initialized: ' + vm.isContext(sandbox)); | |
| from decimal import Decimal | |
| ''' | |
| Hunts for the solution to things like | |
| 7^(1/3) = x in the group modulo 11 | |
| to solve things like this, you can absorb the modulus into the equation | |
| e.g. (7+11n)^(1/3) = x | |
| This script will then rip through that and find the first integer solution to that. |
I hereby claim:
To claim this, I am signing this object:
| Some samples I collected from sites around the web on this topic. | |
| ^(A+)*B | |
| ^([a-zA-Z0-9]+\s?)*$ | |
| (a+)+b | |
| There seems to be a pretty common theme of | |
| >>> r = re.compile('^(A+)+B$',re.DEBUG) | |
| AT AT_BEGINNING |
| #!/bin/sh -e | |
| # | |
| # rc.local | |
| # | |
| # This script is executed at the end of each multiuser runlevel. | |
| # Make sure that the script will "exit 0" on success or any other | |
| # value on error. | |
| # | |
| # In order to enable or disable this script just change the execution | |
| # bits. |
| colorscheme desert | |
| set expandtab | |
| set tabstop=2 | |
| set clipboard+=unnamedplus | |
| syntax enable | |
| filetype plugin indent on | |
| :map <S-n> :NERDTreeToggle<CR> |
| # Used in location ~/.config/chromium-flags.conf | |
| --enable-dom-distiller |
| // https://developer.chrome.com/extensions/declarativeWebRequest | |
| chrome.declarativeWebRequest.onMessage.addListener(details => { | |
| console.log(details) | |
| }); | |
| var rule1 = { | |
| conditions: [ | |
| new chrome.declarativeWebRequest.RequestMatcher({ | |
| // We at least should have the header being returned! |
# -D : the local SOCKS5 port
# -f : forks the process in the background
# -C : compresses the data before sending
# -q : quiet mode (wrt the ssh output)
# -N : Tells SSH that no command will be sent once the tunnel is up
| Port <some high port> | |
| PermitRootLogin no | |
| PubkeyAuthentication yes | |
| IgnoreRhosts yes | |
| PasswordAuthentication no | |
| PermitEmptyPasswords no | |
| ChallengeResponseAuthentication no | |
| X11Forwarding no | |
| PrintMotd no | |
| PrintLastLog yes |