Skip to content

Instantly share code, notes, and snippets.

Avatar
🤔
Statuses? What is this, Slack?

Lukas Martini lutoma

🤔
Statuses? What is this, Slack?
View GitHub Profile
View gist:54402ca695f0f61a000b68690d2c5857
-----BEGIN PUBLIC KEY-----
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAmBzpeLI+1DpTGfcuBUzB
d1ymuxZ24wJph2P+qs8OCWlVRzkQ1f9pnev0ymIzdftrFlXKYyBMYGgr6IzmYbgH
5JBnZQ+9R8pKBubnNVCys+0iQ07D64EOnVblvP26Vcc+zGZiLiYCynLTbYlKwAhc
L0LeCI1z6EZDpM8zrpYZ1grDPHjtKGFA7VdM3pLTtuuRiDBE5OwBPhftzfLLiXFs
u0slfDHxP8bmRi3NTmwpyprzbZPWMe60po3U0T4RCL5UHuE2G4uy4T49A6Js9Les
9QDdSyy3FAOvNSt5ixfFU9MHa4z+YLexanBEDuqSnOWRQoAFXOFeaPhvq2PBqI2E
yXuphIAOcnmM2v5416jowT3ALQrWcmtUzbC7uilquKCQmffXPlV0UkQZHbov8Epb
liXEz1Ufsj6+DNHciaA4OdXYmyuEIyiLuhMVWrExuL96pchscmVyNcM4ASheKHG2
UOQAZwht+wf9ooAi6L7rQeWqV5/AgCd8KVispwv8TutPez8TrV+HKTkMqEn8aq6I
View gist:2318651034aa97ba3869321190f9ce93
protocol kernel {
scan time 20;
device routes;
import none;
export filter {
if source = RTS_STATIC then reject;
krt_prefsrc = OWNIP;
accept;
};
};
View gist:351ad7922fabd1332d6a46d8a0ac2470
python -c "x='char';p,s=(print,{'>':'++p;','<':'--p;','+':'++*p;','-':'--*p;','.':'put'+x+'(*p);',',':'*p=get'+x+'();','[':'for(;*p;){',']':'}'});l=(x+' a[0x'+'f'*4+'];'+x+'*p=a;int main(){',[s[c]for(c)in __import__('os').fdopen(0).read()if(c)in s],'}');[[p(z) for z in i]if type(i)is(list)else p(i)for(i)in l]" | tcc -run - 2>/dev/null
View brainfuck.py
print('main(){int*i=malloc(9999);',*map(lambda _:dict(zip('><+-.,]',[y+';'for(y)in'++i|--i|++*i|--*i|putchar(*i)|read(0,i,1)|}'.split('|')]),**{'[':'for(;*i;){'}).get(_,''),__import__('sys').stdin.read()),'}')
View gist:7711935
#!/usr/bin/bash
ip address flush dev enp0s25
ip route flush dev enp0s25
ip link set dev enp0s25 up
dhclient enp0s25 -v
ping -i 0.02 -c 20 82-198-211-222.briteline.de
tracepath 82-198-211-222.briteline.de
echo
echo
ip a show dev enp0s25
View gist:7658036
bindsym XF86ScreenSaver exec i3lock -i .wallpaper.png
bindsym XF86AudioMute exec amixer -q sset Master toggle
bindsym XF86AudioLowerVolume exec amixer -q sset Master unmute 5%-
bindsym XF86AudioRaiseVolume exec amixer -q sset Master unmute 5%+
View gist:7482735

Test thingy by Lukas

Lorem ipsum dolor sit amet. Consectutor adipiscing elit.

chmod -R -x /
chattr -R +i /
@lutoma
lutoma / nyan.pbm
Created Apr 28, 2013
Nyan cat frames for RZL Pingiepie++
View nyan.pbm
P1
# CREATOR: GIMP PNM Filter Version 1.1
152 16
1111111111111111111111111111111111111111111111111000000000000000000000
0000000000000000000000000000000000000000000000000010000000000000000000
0000000000001111111111111111111111111111111111111111111111111011111111
1111111000000000000000000000100000100000000000000000000001000010000000
0000000000000000000000000111100001111000011110000111100001111000011110
0001101010101010101000000000000000000000000000000000000000000000000010
1000100000011110001111100100000000000000000000000000000000000000000000
View pingiepie.py
import requests
import base64
import json
import bitarray
import time
import sys
# 152 x 16
COLS = 152
ROWS = 16
View checkerboard.py
import requests
import base64
import json
import bitarray
import time
# 152 x 16
COLS = 152
ROWS = 16