This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function gzipCompare() { | |
_TARG="$1" | |
echo -n "Calculating gzip differences for"; echo -e " \e[1;32m$_TARG\e[0m" | |
_OG=$(cat "$1" | wc -c) | |
_B6=$(cat "$1" | base64 -w 0 | wc -c) | |
_GZ=$(cat "$1" | gzip -9 | wc -c) | |
_G6=$(cat "$1" | gzip -9 | base64 -w 0 | wc -c) | |
echo "----------------------------------------" | |
echo -n "Original: " | colorize white --attr="bold"; | |
echo "$_OG bytes" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"os" | |
"strconv" | |
"sync" | |
"time" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# preview: https://tcp.ac/i/J7RAJ | |
agrep() { | |
_RES=$(apt-cache search "$@" | while read line; do | |
_APP=$(echo -n "$line" | awk '{print $1}' | colorize cyan | tr -d '\n') | |
_DESC=$(echo -n "$line" | awk -F ' - ' '{print $2}' | colorize yellow) | |
echo -n -e "$_LIST$_APP|$_DESC\n" | |
done) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import json | |
import sys | |
import urllib | |
from argparse import ArgumentParser | |
import requests | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
trap "exit 1" TERM | |
export TOP_PID=$$ | |
#-------------------\ | |
# - - - | 0 | - - -\ | |
# - - | r | - - OO | |
# . | l | . ||---------------> 0rly? <------------. | |
# ? | y | ? || * git.tcp.direct/kayos * `` | |
# .------------. || * github.com/yunginnanet * `` | |
# / 0rly? \ ||----------------------------------------.`` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\# | |
# ->BABBYS FIRST REVERSE SHELL FACTORY<- # | |
#/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\# | |
# +RUNS ON YOUR GRANDMAS BLENDER # | |
# +HACKS YOUR EXES FACEBOOK # | |
# +MAKES YOU THE LEADER OF ANONYMOUS # | |
#\--------------------------------------/# | |
## Config ### | |
STARTPORT=4444 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
####################### | |
# | |
# Example Screenshot: | |
# tcp.ac/i/bg9Xb | |
# | |
# Dependencies | |
# 1) figlet | |
# 2) playerctl | |
# 3) jp2a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
echo "" | |
echo "can we sudo?" | |
echo "" | |
if [[ ! $(sudo echo 0) ]] | |
then | |
echo "nope." | |
exit 1 | |
else | |
set -x |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am yunginnanet on github. | |
* I am kayos (https://keybase.io/kayos) on keybase. | |
* I have a public key ASBn4_HcYuVh4q1zb4OGTVXYicaugaaOeyg0MaO7IfE5jwo | |
To claim this, I am signing this object: |
NewerOlder