Skip to content

Instantly share code, notes, and snippets.

@Avyd
Avyd / Linux_Process_Logger.sh
Created February 13, 2014 01:36
Linux_Process_Logger.sh
#!/bin/bash
while true ; do
date=$(date +"%T-%d-%m-%y")
name=pslist
ps aux >> $name && echo "--------------------------------------------------------------------------------------------" >> $name
echo $date >> $name
echo $date
filesize=`du $name | awk '{print $1}'`
echo " Current size:" $filesize
@Avyd
Avyd / Hungarian_Text_l33tifier.py
Last active August 29, 2015 13:56
Hungarian_Text_l33tifier
#!/usr/bin/python
# -*- coding: utf-8 -*-
#https://simple.wikipedia.org/wiki/Leet
#http://qntm.org/l33t
#http://www.securepasswords.net/site/ASCII-1337-Alphabet/page/23.html
#http://leet.wikia.com/wiki/Category:Letters
text = raw_input("Text to l33t1fy: ")
text = text.lower()