Skip to content

Instantly share code, notes, and snippets.

View mfaerevaag's full-sized avatar
:shipit:

Markus Faerevaag mfaerevaag

:shipit:
View GitHub Profile
@afogal
afogal / crypto_squirrel.txt
Created September 18, 2016 18:52
keybase squirrel ascii art
▄▄▄▄█▀ 
╭───────────────────────╮ ▄▄ ▄▄▄█▄▄▀ 
│ │ ███▄▄▄▄▄▄▄▄▄▄███▄██ 
│ Encrypt everything! │ ▄▄▄████▄▄▄███████████ 
│ ├──── ▄▄▄▄▄████▄█████████████
@nathanharper
nathanharper / tmux_irssi_niclist.sh
Last active October 29, 2018 08:39
A quick attempt to automate opening up a tmux session with Irssi and its nicklist.pl running.
#!/usr/bin/env bash
# This should work whether you are already in a TMUX session or not...
# Irssi directory is assumed to be in the user's home dir
if [ -z "$TMUX" ]
then
tmux new-session -d -s ircuser
tmux split-window -tircuser -h -l20
tmux send-keys -tircuser "tmux send-keys -t0 \"irssi\" C-m; \
tmux send-keys -t0 \"/set nicklist_height \$(stty size | cut -f1 -d' ' -)\" C-m; \
tmux send-keys -t0 \"/set nicklist_width \$(stty size | cut -f2 -d' ' -)\" C-m; \
@LordMike
LordMike / RegisterBash.reg
Last active January 29, 2019 11:48
Adds "Open Bash Here" to right-click context menu in Explorer
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\bash]
"Extended"=""
@="Open Bash here"
[HKEY_CLASSES_ROOT\Directory\Background\shell\bash\command]
@="ubuntu run /bin/bash"
@johnjohndoe
johnjohndoe / redmine-osx-installation.md
Created May 21, 2012 16:51
Redmine installation on MacOSX

Redmine installation on MacOSX

  • A summarized instruction tested on MacOSX 10.7.4 installing Ruby 1.9.3p194 and Rails 3.2.3.

Install brew

  • Follow the instructions on https://github.com/mxcl/homebrew
  • $ /usr/bin/ruby -e "$(/usr/bin/curl -fsSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"

brew hints

@dcollien
dcollien / c_json_servlet.c
Last active August 12, 2020 10:50
C program for a libevent server receiving JSON requests and replying with JSON responses over HTTP
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <event.h>
#include <evhttp.h>
@vivien
vivien / custom-separator-trick.conf
Created March 4, 2014 04:32
Custom separator trick for i3blocks
# We use the global settings as a shortcut to define our own separator.
# Based on the default i3blocks config file.
full_text=〉
align=center
color=#666666
separator=false
separator_block_width=7
[volume]
command=/usr/libexec/i3blocks/volume
@iansym
iansym / jsonview-solarized.css
Last active September 13, 2022 21:33
JSON View solarized theme for Chrome Extension
body {
background-color: #002b36;
color: #839496;
font-size: 14px;
white-space: pre !important;
font-family: "Source Code Pro", monospace;
}
.property {
font-weight: bold;
@MichaelKoczwara
MichaelKoczwara / Cobalt Strike & Metasploit servers
Last active October 22, 2022 06:37
Cobalt Strike & Metasploit servers
Cobalt Strike & Metasploit servers
Cobalt Strike C2 sample report from http://180.215.104.226:80/j.ad
https://tria.ge/210327-65vrb1gqtj
beacon sample:
https://pasteboard.co/JUCfE6Y.jpg
180.215.105.229
@raandree
raandree / Get-KerberosKeytab.ps1
Last active December 27, 2023 02:33
Parses Kerberos Keytab files
param(
[Parameter(Mandatory)]
[string]$Path
)
#Created by Pierre.Audonnet@microsoft.com
#
#Got keytab structure from http://www.ioplex.com/utilities/keytab.txt
#
# keytab {

This is unmaintained, please visit Ben-PH/spacemacs-cheatsheet

Useful Spacemacs commands

  • SPC q q - quit
  • SPC w / - split window vertically
  • SPC w - - split window horizontally
  • SPC 1 - switch to window 1
  • SPC 2 - switch to window 2
  • SPC w c - delete current window