Skip to content

Instantly share code, notes, and snippets.

View fliiiix's full-sized avatar
🎩
This is the year of ipv6 and python3!

Felix fliiiix

🎩
This is the year of ipv6 and python3!
View GitHub Profile
@fliiiix
fliiiix / index.php
Last active February 19, 2018 13:59
my simple link list NEW with mysqli Do What The Fuck You Want To Public License
<?php session_start(); ?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Linkliste</title>
<style type="text/css">
h3 { margin-bottom: 0px; }
#mainDiv { margin: auto; width: 800px;}
</style>
@fliiiix
fliiiix / tumbler-Theme
Created February 16, 2013 15:47
Tumblr Theme unter WTFPL bei fragen und/oder wünschen blog@l33tsource.com
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<!---->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>{Title}{block:SearchPage} | {SearchQuery}{/block:SearchPage}{block:PostSummary} | {PostSummary}{/block:PostSummary}</title>
<link rel="shortcut icon" href="{Favicon}">
<link rel="alternate" type="application/rss+xml" href="{RSS}">
{block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
@fliiiix
fliiiix / t_stacktrace
Created February 23, 2013 21:14
stacktrace and system information for an issue
l33t@nas:~$ rvm -v
rvm 1.18.10 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
l33t@nas:~$ ruby -v
ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-linux]
l33t@nas:~$ gem -v
1.8.25
l33t@nas:~$ t -v
1.7.1
@fliiiix
fliiiix / auth.py
Created April 21, 2013 18:26
easy twitter cli using tweepy in python under Do What The Fuck You Want To Public License
#!/usr/bin/env python
import tweepy
#use your one keys ;)
CONSUMER_KEY = ''
CONSUMER_SECRET = ''
auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
@fliiiix
fliiiix / random.c
Last active December 16, 2015 11:58
Do What The Fuck You Want To Public License
/*******************************************************************************
*
*
* Beschreibung: Diese Programm kann zufällige zahlen Generieren.
*
* Benötigte Libraries:
* - stdlib.h
* - stdio.h
* - time.h
*
@fliiiix
fliiiix / lottozahlen.c
Last active December 16, 2015 11:58
Do What The Fuck You Want To Public License
/*******************************************************************************
*
*
* Beschreibung: Diese Programm kann zufällige zahlen Generieren.
*
* Benötigte Libraries:
* - stdlib.h
* - stdio.h
* - time.h
*
@fliiiix
fliiiix / primzahl.c
Created April 21, 2013 20:07
Do What the Fuck You Want to Public License
/*******************************************************************************
*
*
* Beschreibung: Diese Programm kann zufällige zahlen Generieren.
*
* Benötigte Libraries:
* - stdlib.h
* - stdio.h
*
* Do What the Fuck You Want to Public License
@fliiiix
fliiiix / gatto.py
Created April 22, 2013 09:14
A gatto framework Do What The Fuck You Want To Public License
#!/usr/bin/env python
import getpass
class Gatto:
def sayHey(self):
return "Hi my name is Gatto and i LOVE python!"
def myPositionInTheCompany(self):
return "CEO"
def doWork(self):
@fliiiix
fliiiix / Sieb_des_Eratosthenes.c
Last active December 16, 2015 14:39
Do What The Fuck You Want To Public License
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#define MAX 80000000
//Sieb des Eratosthenes zur bestimmung von primzahlen
int Sieb_des_Eratosthenes()
{
long long unsigned int i, j, x;
x = 0;
@fliiiix
fliiiix / post-receive
Last active December 17, 2015 09:09
jekyll 1.0 git post-receive
#Die folgende Variable speichert den Pfad zum Repository um das es geht.
# Hier meinprojekt.git mit dem Namen Deines Repos ersetzen und ggfs.
# den Pfad zum Repo
GIT_REPO=$HOME/l33tsource.git
# Die folgende Variable speichert den Pfad zum tmp Ordner in dem dann der Jekyll
# Befehl ausgeführt wird um die deine Seite in den Webroot zu befördern.
# Hier wieder "meinprojekt" mit dem Namen des Repos ersetzen ohne ".git" am Schluss.
TMP_GIT_CLONE=$HOME/l33tsoure