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
mode=$1 | |
local_ip=$2 | |
local_port=$3 | |
function serv_ins { | |
echo "ssh -N -R $local_port:localhost:22 root@$local_ip" | sudo timeout 2 nc -l -c -p $local_port | |
} | |
if [ $mode = -s ] | |
then |
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
echo " ____ _ ____ _ ___ _ ____ " | |
sleep 0.1 | |
echo "| __ ) / \ / ___| |/ / | | | _ \ " | |
sleep 0.1 | |
echo "| _ \ / _ \| | | ' /| | | | |_) |" | |
sleep 0.1 | |
echo "| |_) / ___ \ |___| . \| |_| | __/" | |
sleep 0.1 | |
echo "|____/_/ \_\____|_|\_\\___/|_| " | |
echo "" |
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
LETTERS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
def main(): | |
# This text can be copy/pasted from http://invpy.com/vigenereCipher.py | |
myMessage = input("Input a message >>> ") | |
myKey = input("Input a keyword >> ") | |
opt = input(" E for Encrypt or D for Decrypt? >> ") # set to 'encrypt' or 'decrypt' | |
if (opt == "e"): | |
myMode = "encrypt" | |
else: |
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
own_window yes | |
own_window_type override | |
own_window_class conky | |
own_window_argb_visual | |
own_window_transparent yes | |
draw_shades no | |
alignment bottom_middle | |
background yes | |
gap_y 28 |
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
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <ctype.h> | |
/*encypt.c*/ | |
// Function prototypes | |
int CipherChar(char *s, int offset); | |
int CipherStr(char *s, int offset); |
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 time | |
import sys | |
import os | |
#################### By Pry0cc - The Dysfunctional Progress bar #################### | |
### Credit from stack overflow - A function to get height and width of terminal window |
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
/* * * * * * | |
Adapted from: | |
http://noha-ra.deviantart.com/art/Melbourne-Firefox-CSS-FF-29-and-above-473887761 | |
* * * * * * */ | |
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); | |
/*remove internal border*/ |
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/perl | |
use warnings; | |
use strict; | |
use LWP::Simple; | |
my $distro; | |
if ($ARGV[0]) { | |
print "Searching $ARGV[0]\n"; |
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
#!/bin/bash | |
wget $(wget -O - $1 | grep 'jpg\|png' | grep wallpaper | sed 's/<img src="//g' | sed 's/" class="wall stage1 wide">//g') |
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
#!/bin/bash | |
cd ~/Pictures/Wallbase/ | |
while [ 1 ] | |
do | |
feh --bg-scale $(ls | grep $[ ( $RANDOM % 100 ) + 1 ]) | |
sleep 10 | |
done |