Skip to content

Instantly share code, notes, and snippets.

Konstantinos konfou

Block or report user

Report or block konfou

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@konfou
konfou / sf-cvs2git.sh
Last active May 16, 2017
cvs.sourceforge-to-git
View sf-cvs2git.sh
#!/usr/bin/env bash
#
# Convert a Sourceforge's CVS repo to Git.
# depends
type -p rsync >/dev/null || exit 3
type -p cvs2git >/dev/null || exit 3
# trap SIGINT
trap 'trap - INT; kill -s INT "$$"' INT
@konfou
konfou / OmniCode
Created Jul 24, 2013
An alternative to Geek Code, by Greg Webster (see README.md).
View OmniCode
OmniCode! version 0.1.7
Description for the New Net
All codes are built in the following way:
[code symbol][attribute].[modifier].[modifier].[modifier]...
or for multiple codes:
[code symbol][attribute].[modifier]&[attribute].[modifier]...
View lagint_old.py
#!/usr/bin/env python
# shitty way of doing a Lagrange interpolation
def lagint(xarr,yarr):
p = []
k = len(xarr) # rank+1
for i in range(k):
Li = []
for j in range(k):
if (j != i):
View d34dc0d3.py
#!/usr/bin/env python
import requests
from bs4 import BeautifulSoup
from re import findall
url = 'http://5.9.247.121/d34dc0d3'
headers = { 'X-0x0ACE-Key' : 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' }
# key to be taken by previous challenge on 80.233.134.210
def solve(bgn,end):
@konfou
konfou / fs_fb_pic.js
Created Aug 8, 2013
Bookmarklet that turns an opened Facebook picture to its full size.
View fs_fb_pic.js
javascript:location.href=window.location.href.replace(/\/s\d{3}x\d{3}\//g,%20"/");
View vbox.desktop
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=$vb_name
Comment=Starts the VirtualBox machine $vb_name
Type=Application
Exec=/usr/lib/virtualbox/VirtualBox --comment $vb_name --startvm $vb_uuid
Icon=virtualbox-vbox.png
You can’t perform that action at this time.