Skip to content

Instantly share code, notes, and snippets.

View kimiamania's full-sized avatar

Rezha Julio kimiamania

View GitHub Profile
### Keybase proof
I hereby claim:
* I am kimiamania on github.
* I am kimiamania (https://keybase.io/kimiamania) on keybase.
* I have a public key whose fingerprint is 4D97 5FD3 689F D879 6AD2 5DED 89C1 95B5 860B CD3A
To claim this, I am signing this object:
# This is an example resource file for rTorrent. Copy to
# ~/.rtorrent.rc and enable/modify the options as needed. Remember to
# uncomment the options you wish to enable.
# Maximum and minimum number of peers to connect to per torrent.
min_peers = 1
max_peers = 100
# Same as above but for seeding completed torrents (-1 = same as downloading)
<?php
$username=$_GET['username'];
$password=$_GET['password'];
$message=$_GET['message'];
$type=$_GET['type'];
$id=$_GET['id'];
if(!$username && !$password && !$message && $type > 7 && $type < 0) { exit(); }
$agent = "Opera/9.60 (J2ME/MIDP; Opera Mini/4.2.14912/812; U; ru) Presto/2.4.15";
@kimiamania
kimiamania / ckedit.py
Created December 28, 2013 14:31 — forked from mrjoes/ckedit.py
from flask import Flask
from flask.ext.sqlalchemy import SQLAlchemy
from flask.ext import admin, wtf
from flask.ext.admin.contrib import sqlamodel
app = Flask(__name__)
app.config['SECRET_KEY'] = '123456790'
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///test.sqlite'
db = SQLAlchemy(app)
@kimiamania
kimiamania / css.py
Last active December 28, 2015 21:49
import cssmin, time, glob
#nama file output, disini gue beri nama all_UnixTime.css
#contoh file output all_1376637310.css
outfilename = 'all_' + str((int(time.time()))) + ".css"
#membaca setiap file css dalam 1 folder
with open(outfilename, 'wb') as outfile:
for fname in glob.glob('*.css'):
with open(fname, 'r') as rawfile:
#mengecilkan css