Skip to content

Instantly share code, notes, and snippets.

# This script aims to be an installer for a clean Fedora Netinst install
if [ -z $REPOS_PREFIX ]; then
mkdir -p $HOME/sys/src
REPOS_PREFIX=$HOME/sys/src
fi
if [ -z $LAPTOP_INSTALL]; then
mkdir -p $HOME/sys/src
REPOS_PREFIX=$HOME/sys/src
This is a sample file
#!/usr/bin/env python
import r2pipe
import re
import base64
import sys
binary = sys.argv[1]

Keybase proof

I hereby claim:

  • I am zlowram on github.
  • I am zlowram (https://keybase.io/zlowram) on keybase.
  • I have a public key whose fingerprint is B740 4BE9 A797 4D3B B770 F0F2 C8A6 C1FD F5D1 3078

To claim this, I am signing this object:

@zlowram
zlowram / dark_acme.patch
Created May 16, 2014 11:37
Dark colorscheme for ACME editor
diff -r 9bfe12150c5e include/draw.h
--- a/include/draw.h Mon May 05 22:28:03 2014 -0400
+++ b/include/draw.h Fri May 16 13:31:14 2014 +0200
@@ -54,6 +54,13 @@
#define DGreyblue 0x005DBBFF
#define DPalegreyblue 0x4993DDFF
#define DPurpleblue 0x8888CCFF
+/* Custom colors */
+#define ZGrey 0x444444FF
+#define ZLightGrey 0x999999FF
@zlowram
zlowram / dwm_gray_colorscheme.diff
Last active January 4, 2016 15:19
DWM Gray Colorscheme by zl0wram
--- config.def.h 2014-01-24 14:39:06.266844228 +0100
+++ config_graytheme.h 2014-01-26 23:07:17.440420053 +0100
@@ -2,12 +2,12 @@
/* appearance */
static const char font[] = "-*-terminus-medium-r-*-*-16-*-*-*-*-*-*-*";
-static const char normbordercolor[] = "#444444";
-static const char normbgcolor[] = "#222222";
-static const char normfgcolor[] = "#bbbbbb";
-static const char selbordercolor[] = "#005577";
@zlowram
zlowram / plain2tex.sh
Created January 30, 2013 09:32
Plain2tex. Script to convert tabulated plain text tables to LaTeX tables.
#!/bin/bash
###########################################
##
## plain2tex.sh
##
## Script to convert tabulated plain text
## tables to LaTeX tables.
##
## Usage: plain2tex.sh <file_name>
@zlowram
zlowram / sony_tablet_s_root.sh
Created January 30, 2013 09:28
Sony Tablet S Root Script (Unix version). Tested in GNU/Linux and Mac OSX
#!/bin/bash
##########################################################################
##
## Sony Tablet S root script
## Unix version (Ported by Sergi Martinez (@zlowram))
##
## Copyright (C) 2012 Dan Rosenberg (@djrbliss)
##
###########################################################################
##
@zlowram
zlowram / 99_macbookpro
Created January 30, 2013 09:22
Power Management Script for MacBook Pro 8.1. Tested in Archlinux. Up to 4:50h of battery life.
#!/bin/bash
#
# Sergi Martinez Bea (@zlowram) - zlowram (a) gmail (.) com
# Macbook Pro 8,1 power management script
#
# It is a combination of:
# Pau Oliva Fora - pof (a) eslack (.) org
# Macbook Air 4,2 power management script
# url: pof.eslack.org/archives/files/99_macbookair
#