Instantly share code, notes, and snippets.

View parity.rb
require 'formula'
class Parity < Formula
homepage 'https://github.com/paritytech/parity'
version '1.10'
url 'https://github.com/paritytech/parity.git', :branch => 'beta', :using => :git
depends_on 'rust' => :build
depends_on 'openssl' => :build
View # mariadb - 2018-02-05_19-56-06.txt
Homebrew build logs for mariadb on Debian GNU/Linux 8.10 (jessie)
Build date: 2018-02-05 19:56:06
View ealhosts.txt
idex.auroradao.market
auroradao.market
getyourcoins.org
binance-giveaway.webcindario.com
gift-today.website
cryptopromo.kissr.com
etherium.org.payment.7t21-srv.site
7t21-srv.site
top-deals.pro
medium.com.7t21-srv.site
View pac.js
function FindProxyForURL(url, host) {
return 'HTTPS nl.opera-proxy.net:443';
}
View config.seed
CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_MULTI_PROFILE=y
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_tl-wa701nd-v1=y
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_tl-wa701nd-v2=y
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_tl-wr740n-v1=y
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_tl-wr740n-v3=y
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_tl-wr740n-v4=y
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_tl-wr740n-v5=y
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_tl-wr740n-v6=y
View wr841n-lede-build.conf
CONFIG_MODULES=y
CONFIG_HAVE_DOT_CONFIG=y
CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_MULTI_PROFILE=y
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_tl-wr841-v1.5=y
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_tl-wr841-v10=y
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_tl-wr841-v11=y
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_tl-wr841-v3=y
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_tl-wr841-v5=y
View terminalrc
[Configuration]
MiscAlwaysShowTabs=FALSE
MiscBell=FALSE
MiscBellUrgent=FALSE
MiscBordersDefault=TRUE
MiscCursorBlinks=FALSE
MiscCursorShape=TERMINAL_CURSOR_SHAPE_BLOCK
MiscDefaultGeometry=80x24
MiscInheritGeometry=FALSE
MiscMenubarDefault=TRUE
View downloadmultiple.bash
#!/bin/bash
# Variables
regex='(https?|ftp|file)://[-A-Za-z0-9\+&@#/%?=~_|!:,.;]*[-A-Za-z0-9\+&@#/%=~_|]'
percentDownloadedFromSecondProxy=35
filename=$(basename "$1")
filesize=$(curl -sI $1 | tr -d '\r' | sed -En 's/^Content-Length: (.*)/\1/p')
onepart=$(echo $[ $filesize * 35 /100 ])
secondpart=$(echo $[ $onepart + 1 ])
proxyurl="socks5://192.168.100.89:1080"
View migrate-gitlab-omnibus-to-source.md
cd /var/lib/gitlab/backups
wget http://url.com/1484678383_2017_01_17_gitlab_backup.tar
chown gitlab:gitlab 1484678383_2017_01_17_gitlab_backup.tar
systemctl stop gitlab.target
systemctl stop gitlab-sidekiq
systemctl stop gitlab-unicorn
systemctl stop gitlab-workhorse.service
sudo -u gitlab -H bash
cd /usr/share/webapps/gitlab
View asciinema-upload.sh
#!/bin/bash
DATE="$(date +%s)"
file=$3
minimumsize=5
actualsize=$(du -k "$file" | cut -f 1)
if [ $actualsize -ge $minimumsize ]; then
/usr/share/.configuration/honssh/utils/asciinema.py -t "$3" "$3" > asciinema-upload/asciinema-upload-"$DATE".json
/usr/bin/asciinema upload asciinema-upload/asciinema-upload-"$DATE".json || exit 1
rm asciinema-upload/asciinema-upload-"$DATE".json
else