Skip to content

Instantly share code, notes, and snippets.

View danilovazb's full-sized avatar

Danilo `UnkL4b` Vaz danilovazb

View GitHub Profile
#!/usr/bin/env python
# -*- coding: utf-8 -*-
##########################################################################
# ██████╗ ██████╗ ███╗ ██╗███████╗██╗ ██╗██╗ ████████╗ █████╗
# ██╔════╝██╔═══██╗████╗ ██║██╔════╝██║ ██║██║ ╚══██╔══╝██╔══██╗
# ██║ ██║ ██║██╔██╗ ██║███████╗██║ ██║██║ ██║ ███████║
# ██║ ██║ ██║██║╚██╗██║╚════██║██║ ██║██║ ██║ ██╔══██║
# ╚██████╗╚██████╔╝██║ ╚████║███████║╚██████╔╝███████╗██║ ██║ ██║
# ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚═╝
<?php
function compare_array($array1, $array2) {
$compare = array_diff($array1, $array2);
return (empty($compare)) ? '1' : '0';
}
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import threading
import time
import urllib2,sys,json,requests,re
import pycurl
from bs4 import BeautifulSoup
from itertools import islice
#!/usr/bin/python
import subprocess,os,sys
try:
process = sys.argv[1]
cmm = "ps -ef | grep '%s' | grep -v 'grep' | grep -v 'killmon.py' | awk '{ print $2 }'" % (process)
resultado = subprocess.check_output(cmm, shell=True)
resultado = resultado.strip()
lista = resultado.split('\n')
for i in range(len(lista)):
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import threading
import time
import urllib2,sys,json,requests,re
import pycurl
import subprocess
from bs4 import BeautifulSoup
from itertools import islice
# Set a Ctrl-b shortcut for reloading your tmux config
bind r source-file ~/.tmux.conf
# Set the prefix to be ^A
unbind C-b
import time
import sys
OxOoO = [chr(70),
chr(101),
chr(108),
chr(105),
chr(122),
chr(32),
chr(65),
VAAAAAIIIIII.TXT
TESTE
# This is an automatically generated file.
# Please see <file:/usr/share/doc/menu/README> for information.
# to use your own menu, copy this to ~/.fluxbox/menu, then edit
# ~/.fluxbox/init and change the session.menuFile path to ~/.fluxbox/menu
[begin] (Fluxbox)
# Automatically generated file. Do not edit (see /usr/share/doc/menu/html/index.html)