Skip to content

Instantly share code, notes, and snippets.

View trickymast3r's full-sized avatar
🎯
Focusing

Tricky Lonely trickymast3r

🎯
Focusing
View GitHub Profile
#HTML
<div class="rating"><i class="star" data-star='1'></i></div>
<div class="rating"><i class="star" data-star='1.5'></i></div>
<div class="rating"><i class="star" data-star='2'></i></div>
<div class="rating"><i class="star" data-star='2.5'></i></div>
<div class="rating"><i class="star" data-star='3'></i></div>
<div class="rating"><i class="star" data-star='3.5'></i></div>
<div class="rating"><i class="star" data-star='4'></i></div>
<div class="rating"><i class="star" data-star='4.5'></i></div>
<div class="rating"><i class="star" data-star='5'></i></div>
ssh-keygen -t rsa -b 4096
eval $(ssh-agent -s)
ssh-add ~/.ssh/id_rsa
cat ~/.ssh/id_rsa.pub
usdt 3.30000000
bcc: 0.00100000
btc: 0.00050000
eth: 0.01000000
remi
usdt 5
bcc: 0.0001
btc: 0.00020000
eth: 0.005
@trickymast3r
trickymast3r / fafmime.js
Created December 30, 2018 16:13
mime types by font awesome
import { findKey } from 'lodash';
const ICONS = {
'fa-font' : /font/,
'fa-file-image' : /image/,
'fa-file-audio' : /audio|application\/ogg/,
'fa-file-video' : /video/,
'fa-file-pdf' : /pdf/,
'fa-file-excel' : /excel|sheet/,
'fa-file-csv' : /csv/,
'fa-file-word' : /msword|opendocument/,
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDRbeOC1xB5TKfEpf0XPoeXwX7GIr71tFJ2m1RA/U87SUOzPw78agW6u1lu4F5Hi6+e1WJV7PIOYTIc1S1B9DqQDTMjuMoDLecOff3RkhWMteF9GWPhsgssKd6/xaM3qiY58dSnrgLXyIHqrlQiDA6OHyy3uWgmiCQ9gReGxqUgxy+R8O52FtR2Ln1ZbLscu5Zgi5UNl8kYwegka9T8kssfUVdHjVo/miC6w9RB13nEqbN+rHlj3UJ7DKqJCxZbp+FpiAo4ilxKBjUaBWB1nxKZuVE8lcI/kQQVpT8lJxWJfu3bgbm0zzBRVOJf+RMqDETgLcW3fIOx8Nb3phk0982h
@trickymast3r
trickymast3r / fpm.template
Last active June 12, 2019 05:24
Nginx Config
[kho]
user = $pool
group = $pool
listen = /run/php/fpm.$pool.sock
listen.owner = www-data
listen.group = www-data
;listen.mode = 0660
;listen.allowed_clients = 127.0.0.1
@trickymast3r
trickymast3r / setup-node-crio.sh
Last active September 27, 2019 00:14
setup-k8s-node
#/bin/bash
sudo sed -i '/ swap / s/^/#/' /etc/fstab
sed -i '/preserve_hostname: false/preserve_hostname: true/g' /etc/cloud/cloud.cfg
swapoff -a
modprobe overlay
modprobe br_netfilter
cat > /etc/sysctl.d/99-kubernetes-cri.conf <<EOF
net.bridge.bridge-nf-call-iptables = 1
net.ipv4.ip_forward = 1
@trickymast3r
trickymast3r / install.txt
Last active December 14, 2019 09:00
Basic Ubuntu Install Command
apt-get install -y git build-essential software-properties-common
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
curl -sL https://deb.nodesource.com/setup_11.x | sudo -E bash -
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
add-apt-repository -y ppa:nginx/stable && add-apt-repository -y ppa:ondrej/php