This file contains 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
import random | |
adjectives = [ | |
"blue", "red", "green", "yellow", "purple", "orange", | |
"happy", "sad", "angry", "calm", "sleepy", "hungry", | |
"big", "small", "tall", "short", "wide", "narrow", | |
"soft", "hard", "rough", "smooth", "hot", "cold", | |
] | |
nouns = [ |
This file contains 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
import PyPDF2 | |
import sys | |
import os | |
def remover(target, file_name): | |
print(f"!Removing assinature of \"{target}\" from {file_name}") | |
try: | |
pdf_file = open(file_name,'rb') | |
except: |
This file contains 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
colo delek | |
syntax on | |
" Shortcut to rapidly toggle `set list` | |
nmap <leader>l :set list!<CR> | |
"Invisible character colors | |
highlight NonText guifg=#4a4a59 | |
highlight SpecialKey guifg=#4a4a59 |
This file contains 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/sh | |
# | |
# Source: http://cscope.sourceforge.net/large_projects.html | |
# | |
# Modified by Gustavo Walbon<[email protected]> | |
# | |
DIR_KERNEL=${1:-.} | |
find ${DIR_KERNEL} \ |
This file contains 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
# ♦︎ ♠︎ ♣︎ ♚ ♛ ♜ ♝ ♞ ♟ ⚛ ⚔ 🃁 ❀ | |
###################### | |
### DESIGN CHANGES ### | |
###################### | |
## source : http://www.hamvocke.com/blog/a-guide-to-customizing-your-tmux-conf/ | |
# panes | |
set -g pane-border-fg black | |
set -g pane-active-border-fg brightred |
This file contains 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
# cat << EOF > /dev/null | |
# https://github.com/gpakosz/.tmux | |
# (‑●‑●)> dual licensed under the WTFPL v2 license and the MIT license, | |
# without any warranty. | |
# Copyright 2012— Gregory Pakosz (@gpakosz). | |
# /!\ do not edit this file | |
# instead, override settings in ~/.tmux.conf.local, see README.md | |
# -- general ------------------------------------------------------------------- |
This file contains 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 | |
#alias .CHOOSE='if [[ $FILES ]] ; then ~/.choosing.sh ${FILES} | while read line; do for item in $line; do echo $item; done | xargs ${COM} ; done ; fi; FILES=""; COM=""' | |
# Usage : | |
# FILES=$(ls *.txt); COM="egrep -i walbon"; .CHOOSE | |
# | |
pkglist="" | |
pkglist2="" | |
n=1 |
This file contains 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
# Customize BASH PS1 prompt to show current GIT repository and branch. | |
# by Mike Stewart - http://MediaDoneRight.com | |
# SETUP CONSTANTS | |
# Bunch-o-predefined colors. Makes reading code easier than escape sequences. | |
# I don't remember where I found this. o_O | |
# Reset | |
Color_Off="\[\033[0m\]" # Text Reset |
This file contains 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
private static string WebRequestPostData(string url, string postData) | |
{ | |
System.Net.WebRequest req = System.Net.WebRequest.Create(url); | |
req.ContentType = "text/xml"; | |
req.Method = "POST"; | |
string postDataBody = @"<?xml version=""1.0"" encoding=""utf-8""?><soap:Envelope xmlns:soap=""http://schemas.xmlsoap.org/soap/envelope/"" xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xmlns:xsd=""http://www.w3.org/2001/XMLSchema""><soap:Body><xml><![CDATA["; | |
postDataBody += postData; | |
postDataBody += "]]></xml></soap:Body></soap:Envelope>"; | |
This file contains 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 | |
# Try to determine how much RAM is currently being used per program. | |
# Note the per program, not per process. So for example this script | |
# will report mem used by all httpd process together. In detail it reports: | |
# sum(all RSS for process instances) + max(shared mem for any process instance) | |
# | |
# The shared calculation below will factor out shared text and | |
# libs etc. within a program, but not between programs. So there |
NewerOlder