Default
e scr.highlight.grep=1
e scr.color.grep=1
e asm.highlight=1
e asm.pseudo=1
e asm.marks=0
e asm.cmt.col=0
e asm.indentspace=0
| #!/bin/env python3 | |
| # vim:ts=2 | |
| from http.server import BaseHTTPRequestHandler, HTTPServer | |
| class S(BaseHTTPRequestHandler): | |
| def _set_headers(self): | |
| self.send_response(200) | |
| self.send_header('content-type', 'image/png') | |
| self.end_headers() |
| #!/bin/env bash | |
| function cf() { | |
| db=~/.mozilla/firefox/*.default-default/cookies.sqlite | |
| echo "select * from moz_cookies"|sqlite3 $db|ack cf_clear| grep -o -P '(?<=cf_clearance\|).*(?=\|.leak)' | |
| } | |
| agent='Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0' | |
| cookie="cf_clearance=$(cf)" |
| #include <windows.h> | |
| #include <iostream> | |
| using namespace std; | |
| typedef unsigned int(__stdcall *f_cb)(const char*,int,int,const char*); | |
| typedef unsigned int(__stdcall *f_wcb)(f_cb,int,char**); | |
| typedef int(__cdecl *f_unarc)(f_cb,const char*,const char*,const char*,const char*,const char*,const char*,const char*,const char*,const char*,const char*); |
| find . -mindepth 2 -type f -name '*.jpg' -exec cp -t . -i '{}' + |
Default
e scr.highlight.grep=1
e scr.color.grep=1
e asm.highlight=1
e asm.pseudo=1
e asm.marks=0
e asm.cmt.col=0
e asm.indentspace=0
| [ControlsP0] | |
| button_a=engine:sdl,port:0,guid:030000005e0400008e02000010010000,button:0 | |
| button_b=engine:sdl,port:0,guid:030000005e0400008e02000010010000,button:1 | |
| button_x=engine:sdl,port:0,guid:030000005e0400008e02000010010000,button:2 | |
| button_y=engine:sdl,port:0,guid:030000005e0400008e02000010010000,button:3 | |
| button_lstick= | |
| button_rstick= | |
| button_l= |
| mkdir .switch base update exefs romfs nca nsp | |
| basensp=diablo3.nsp | |
| updatensp=diablo3u.nsp | |
| cp .local/share/yuzu/keys/prod.keys .switch/ | |
| sed 's/|[^|]*$//' .local/share/yuzu/keys/title.keys | sed 's/|/=/' > .switch/title.keys | |
| hactool -t pfs0 $basensp --outdir base | |
| hactool -t pfs0 $updatensp --outdir update |
| extra-keys = [[ESC, '$', &, +, *, HOME, 'UP','END','PGUP'], \ | |
| [CTRL, ALT,_, ~, -, LEFT,'DOWN','RIGHT','PGDN'], \ | |
| [TAB, ':','\"', '/', '|', '\\\\', DEL, ENTER, PASTE]] |
| # https://raw.githubusercontent.com/Gogh-Co/Gogh/master/themes/Google%20Light.yml | |
| color0=#202124 | |
| color1=#EA4335 | |
| color2=#34A853 | |
| color3=#FBBC04 | |
| color4=#4285F4 | |
| color5=#A142F4 | |
| color6=#24C1E0 | |
| color7=#E8EAED |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <unistd.h> | |
| #include <sys/types.h> | |
| #include <sys/mman.h> | |
| #include <fcntl.h> | |
| #include <byteswap.h> | |
| int main(int argc, char *argv[]) | |
| { |