I hereby claim:
- I am zoka123 on github.
- I am zantolov (https://keybase.io/zantolov) on keybase.
- I have a public key whose fingerprint is BAA6 4BDA D69C 48DC 51D6 E39B 22A2 6FF9 1A2B 56A8
To claim this, I am signing this object:
var buttons = document.getElementsByClassName('js-followButton'); | |
for(var i = 0; i < buttons.length; i++){ | |
var item = buttons[i]; | |
if(!item.classList.contains('is-active')){ | |
item.click(); | |
} | |
} |
$('[data-control-name="endorse"]').each(function(){ $(this).click(); }); |
var matches = document.querySelectorAll("button"); | |
for(var i = 0; i < matches.length; i++){ | |
var item = matches[i]; | |
if(item.innerHTML == "Confirm"){ | |
item.click(); | |
} | |
} |
I hereby claim:
To claim this, I am signing this object:
ini_set('display_errors',1); | |
error_reporting(E_ALL|E_STRICT); | |
ini_set('error_log','script_errors.log'); | |
ini_set('log_errors','On'); |
# By path | |
if [ -w "/path/to/dir" ]; then echo "WRITABLE"; else echo "NOT WRITABLE"; fi | |
# Current dir | |
if [ -w `pwd` ]; then echo "WRITABLE"; else echo "NOT WRITABLE"; fi |
find . -type d -exec chmod 755 {} \; | |
find . -type f -exec chmod 644 {} \; |
#!/bin/bash | |
# From https://techoverflow.net/blog/2013/10/22/docker-remove-all-images-and-containers/ | |
# Delete all containers | |
docker rm $(docker ps -a -q) | |
# Delete all images | |
docker rmi $(docker images -q) |
* 1. generate certificates: openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem | |
* 2. start a SSL server with command: openssl s_server -accept 12345 -key key.pem -cert cert.pem | |
* - password should be your cert file pass |
#!/bin/bash | |
# Delete all containers | |
docker rm $(docker ps -a -q) | |
# Delete all images | |
docker rmi $(docker images -q) |