Skip to content

Instantly share code, notes, and snippets.


Simon Legner simon04

  • Innsbruck, Austria
View GitHub Profile
osantana / gist:996287
Created May 27, 2011
PHP FastCGI Upstart Configuration
We couldn’t find that file to show.
04n0 /
Created Jun 3, 2017 — forked from dvdbng/
Migrate zsh history to fish
import os
import re
def zsh_to_fish(cmd):
return (cmd.replace('&&', '; and ')
.replace('||', '; or '))
def is_valid_fish(cmd):
ixxra / school-wpa
Created Oct 10, 2013
Simple configuration for netctl to connect to a WPA2 network (@myschool)
View school-wpa
Description='A wireless connection using a custom network block configuration'
gdvalle / putty-monokai.reg
Created Dec 2, 2012
Monokai style theme for PuTTY; colors copied from ST2's theme
View putty-monokai.reg
Windows Registry Editor Version 5.00
JakeWharton /
Last active Nov 28, 2021
A Gson TypeAdapterFactory which allows serialization of @autovalue types. Apache 2 licensed.
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
* Marks an {@link AutoValue @AutoValue}-annotated type for proper Gson serialization.
* <p>
daicham / .gitlab-ci.yml
Last active Apr 5, 2022
A sample of .gitlab-ci.yml for a gradle project
View .gitlab-ci.yml
image: java:8-jdk
- build
- test
- deploy
# - echo `pwd` # debug
Gwerlas /
Last active Apr 12, 2022
Migrate Jira issues to Gitlab
import requests
from requests.auth import HTTPBasicAuth
import re
from StringIO import StringIO
import uuid
# Inspired from
# Tested on Jira 7.4 and Gitlab 2.2 with Python 2.7
JIRA_URL = 'https://your-jira-url.tld/'
JIRA_ACCOUNT = ('jira-username', 'jira-password')
phpdude / nginx.conf
Last active Jun 7, 2022
Nginx image filter + caching of results.
View nginx.conf
location /resize {
alias /tmp/nginx/resize;
set $width 150;
set $height 100;
set $dimens "";
if ($uri ~* "^/resize_(\d+)x(\d+)/(.*)" ) {
set $width $1;
set $height $2;
set $image_path $3;
SwitHak /
Last active Jun 21, 2022
BlueTeam CheatSheet * Log4Shell* | Last updated: 2021-12-20 2238 UTC

Security Advisories / Bulletins / vendors Responses linked to Log4Shell (CVE-2021-44228)

Errors, typos, something to say ?

  • If you want to add a link, comment or send it to me
  • Feel free to report any mistake directly below in the comment or in DM on Twitter @SwitHak

Other great resources

  • Royce Williams list sorted by vendors responses Royce List
  • Very detailed list NCSC-NL
  • The list maintained by U.S. Cybersecurity and Infrastructure Security Agency: CISA List