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
. | |
./Vangelis | |
./Vangelis/Blade Runner | |
./Vangelis/Blade Runner/05. Love Theme.mp3 | |
./Vangelis/Blade Runner/cover.jpg | |
./The Kooks | |
./The Kooks/Inside in Inside Out | |
./The Kooks/Inside in Inside Out/00. Naive.mp3 | |
./The Kooks/Inside in Inside Out/cover.jpg | |
./Nancy Sinatra |
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/python | |
import sys | |
import os | |
import shutil | |
import random | |
os.system('find . -name \*.mp3 > input') | |
if os.path.isdir('output'): | |
shutil.rmtree('output') |
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/python | |
import sys | |
import os | |
import shutil | |
import random | |
os.system('find . -name \*.mp3 > input') | |
if os.path.isdir('output'): |
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 | |
#Usage: ./wordpresskur kulup_adi kulup_sifresi | |
KULUP=$1 | |
SIFRE=$2 | |
KLASOR="/home/$KULUP/public_html/" | |
ESSIZ=`head /dev/urandom | md5sum` | |
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 | |
""" | |
set_wallpaper.py | |
Gets the current image of the day from NASA and sets it as the | |
background in Gnome by gconftool or feh on other systems. | |
The summary / description text is written to the image. | |
Requires: | |
PIL (apt-get install python-imaging or pip install PIL) |
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
(Adblock Plus 0.7 or higher required) [Adblock] | |
! Checksum: OsB9a1W4Em1iQyn1Ahm61g | |
ntvmsnbc.com##[href^="http://fotogaleri.ntvmsnbc.com/"] | |
ntvmsnbc.com##[cn$="/Galeri"] | |
ntvmsnbc.com##[cn$="/Foto Galeri"] | |
ntvmsnbc.com##IMG[src="http://media.ntvmsnbc.com/i/msnbc/Components/Art/SITEWIDE/Icons/iSlides.gif"] |
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
class iterableString(str): | |
"""Adds a new next() method to str class""" | |
def replaceCharInString(self,index,new): | |
"""Replaces a char in string on the given position""" | |
s = list(self) | |
s[index] = new | |
return iterableString("".join(s)) | |
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
export PREVPWD=`pwd` | |
export PREVENV_PATH= | |
handle_virtualenv(){ | |
if [ "$PWD" != "$PREVPWD" ]; then | |
PREVPWD="$PWD"; | |
if [ -n "$PREVENV_PATH" ]; then | |
if [ "`echo "$PWD" | grep -c $PREVENV_PATH`" = "0" ]; then | |
deactivate | |
PREVENV_PATH= |
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
from turtle import * | |
from itertools import count | |
def snowflake(length, line=forward, *rest): | |
length=length*2 | |
line(length/3, *rest) | |
right(60) | |
line(length/3, *rest) | |
left(120) | |
line(length/3, *rest) |
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
### Keybase proof | |
I hereby claim: | |
* I am grotiiy on github. | |
* I am yigit (https://keybase.io/yigit) on keybase. | |
* I have a public key whose fingerprint is 6B44 3F32 A39E 416E 2343 89F8 1CC6 B37D 34E5 2335 | |
To claim this, I am signing this object: |
OlderNewer