Skip to content

Instantly share code, notes, and snippets.

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 Feb 19, 2018
my simple link list NEW with mysqli Do What The Fuck You Want To Public License
View index.php
<?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 Feb 16, 2013
Tumblr Theme unter WTFPL bei fragen und/oder wünschen blog@l33tsource.com
View tumbler-Theme
<!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 Feb 23, 2013
stacktrace and system information for an issue
View t_stacktrace
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 Apr 21, 2013
easy twitter cli using tweepy in python under Do What The Fuck You Want To Public License
View auth.py
#!/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 Dec 16, 2015
Do What The Fuck You Want To Public License
View random.c
/*******************************************************************************
*
*
* Beschreibung: Diese Programm kann zufällige zahlen Generieren.
*
* Benötigte Libraries:
* - stdlib.h
* - stdio.h
* - time.h
*
@fliiiix
fliiiix / lottozahlen.c
Last active Dec 16, 2015
Do What The Fuck You Want To Public License
View lottozahlen.c
/*******************************************************************************
*
*
* Beschreibung: Diese Programm kann zufällige zahlen Generieren.
*
* Benötigte Libraries:
* - stdlib.h
* - stdio.h
* - time.h
*
@fliiiix
fliiiix / primzahl.c
Created Apr 21, 2013
Do What the Fuck You Want to Public License
View primzahl.c
/*******************************************************************************
*
*
* 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 Apr 22, 2013
A gatto framework Do What The Fuck You Want To Public License
View gatto.py
#!/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 Dec 16, 2015
Do What The Fuck You Want To Public License
View Sieb_des_Eratosthenes.c
#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 Dec 17, 2015
jekyll 1.0 git post-receive
View 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