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
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 / andro_info.sh
Created Sep 13, 2015
Android Device Specifications
View andro_info.sh
#! /bin/bash
if ! type adb; then
echo "adb not found"
echo "check PATH"
else
echo "============================"
echo "Android Device Specificatios"
echo "============================"
adb wait-\for-device
echo "> Manufacturer"
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
@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"/");
@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]...
You can’t perform that action at this time.