Use at your own risk! As with any backup method, test out your backup by restoring from it before you trust it.
-
Install
qrcode
to generate the QR code:pip install qrcode
-
Export the key, piping the output to
qr
, and save this to a png file:
{ | |
"extensions": | |
[ | |
"md" | |
], | |
"color_scheme": "Packages/Theme - Afterglow/Afterglow-markdown.tmTheme", | |
"draw_centered": true, | |
"draw_indent_guides": false, | |
"trim_trailing_white_space_on_save": false, | |
"word_wrap": true, |
<?php | |
trait HasRandomStatementTrait | |
{ | |
/** | |
* Random Statements by driver name. | |
* @var array | |
*/ | |
protected $randomStatements = [ | |
'mysql' => 'RAND()', |
# default rule | |
sudo ufw default deny | |
# allow ssh | |
sudo ufw allow 22/tcp | |
# enable firewall | |
sudo ufw enable | |
# allow https? |
# colors | |
CHAR_ARROW="\xEE\x82\xB0" # "" | |
COLOR_RESET="\033[m" | |
COLOR_WHITE_ON_BLACK="\033[38;5;15m\033[48;5;0m" | |
COLOR_BLACK_ON_TRANSPARENT="\033[38;5;0m\033[49m" | |
COLOR_BLACK_ON_GRAY="\033[38;5;0m\033[48;5;237m" | |
COLOR_WHITE_ON_GRAY="\033[38;5;15m\033[48;5;237m" | |
COLOR_GRAY_ON_TRANSPARENT="\033[38;5;237m\033[49m" |
[alias] | |
fire = !"f() { \ | |
local current_branch=$(basename \"$(git symbolic-ref HEAD)\"); \ | |
local new_branch=fire-${current_branch}-$(git config user.email)-$(date +%s) \ | |
local message; \ | |
if [ -z \"$1\" ]; then \ | |
message=\"fire commit from $current_branch\"; \ | |
else \ | |
message=\"$*\"; \ | |
fi; \ |
# Template Updated At 2019-04-17 | |
upstream php_backend_%domain_idn%_%web_ssl_port% { | |
server %backend_lsnr%; | |
#server %backend_lsnr% backup; | |
} | |
server { | |
listen %ip%:%web_ssl_port%; | |
server_name %domain_idn% %alias_idn%; |
<!-- | |
Rastgele TC Kimlik No Üreticisi | |
Random Turkish Identification Number Generator | |
https: //github.com/CanerBasaran | |
--> | |
<html><p id="tc"></p> | |
<script type="text/javascript"> | |
var tcno = "" + Math.floor(900000001 * Math.random() + 1e8), | |
list = tcno.split("").map(function(t) { | |
return parseInt(t, 10) |
# 1. Install brew --> http://brew.sh/ | |
# 2. run the following commands in your Terminal | |
brew tap homebrew/dupes | |
brew tap homebrew/versions | |
brew tap homebrew/homebrew-php | |
brew install --with-openssl curl | |
brew install --with-homebrew-curl --with-apache php71 | |
brew install php71-mcrypt php71-imagick | |
# 3. Follow these instructions to make Apache and php-cli use the newer php executable and make the change persist after reboot. | |
brew info php71 |
#!/bin/bash | |
id="$1" | |
host="http://vidble.com/album/" | |
mkdir "$id" | |
wget -nv -O - "$host$id" |grep -e "<img src='" |grep -Eo '/[^" ]+(jpg|jpeg|JPG|GIF|gif|PNG|png)' |sed -e 's/_med//' -e 's@^@http://vidble.com@' > $id/links.txt | |
sed -i '/logo/d' $id/links.txt | |
wget -i $id/links.txt -P $id |