Skip to content

Instantly share code, notes, and snippets.

@sygo
sygo / conf.hexdump
Last active August 7, 2023 15:00
additions to the standard grc.conf (check the appropriate conf files for each command)
# offset
regexp=([0-9a-fA-F]{1,7})+
colours=bold red
count=once
======
# Hex Bytes %_p
regexp=\|.+?\|
colours=cyan
count=once
======
@sygo
sygo / vimrc
Last active September 25, 2015 02:07
vimrc
" colors
set t_Co=256
" colorscheme miromiro
" detect filetype, associated plugins and auto indent, enable syntax highlight
filetype off
syntax enable
" backup things
set backup
@sygo
sygo / bashrc
Last active September 25, 2015 02:07
bashrc
#-- be done if it's not an interactive session --#
[ -z "$PS1" ] && return
#-- prompt --#
PNORMAL='\[\033[00m\]'
PGREEN='\[\033[0;32m\]'
PRED='\[\033[0;31m\]'
PBLUE='\[\033[0;34m\]'
#PS1=['$?:${PWD#${PWD%/*/*/*}/}> '
@sygo
sygo / Xdefaults
Last active January 3, 2023 16:03
Xdefaults
!-- Urxvt settings --!
URxvt.buffered: true
URxvt.background: #000000
URxvt.foreground: #A9A9A9
URxvt.cursorColor: #5E468C
URxvt.geometry: 80x30
URxvt.transparent: true
URxvt.shading:20
URxvt.title: Urxvt
! Underlined text color
@sygo
sygo / space_cadet.terminal
Created April 12, 2012 02:41
terminal.app Space Cadet colour scheme
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ANSIBlueColor</key>
<data>
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
AAGGoKMHCA9VJG51bGzTCQoLDA0OViRjbGFzc1xOU0NvbG9yU3BhY2VVTlNSR0KAAhAC
TxAmMC4zMjU0OTAyMDY1IDAuMzYwNzg0MzIyIDAuNDYyNzQ1MTMwMQDSEBESE1okY2xh
c3NuYW1lWCRjbGFzc2VzV05TQ29sb3KiEhRYTlNPYmplY3RfEA9OU0tleWVkQXJjaGl2
@sygo
sygo / earth.css
Created March 8, 2013 14:30
alternative css for the pinapple
.navbar {
top:10px;
min-width:80%;
background:khaki;
padding-left: 5px;
padding-right: 5px;
padding-top: 3px;
padding-bottom: 3px;
border-top-left-radius: 10px 10px;
border-top-right-radius: 10px 10px;
@sygo
sygo / .zshrc
Last active December 21, 2015 20:09
This is really a variation of my old .bashrc, it calls for the prompt (you can find it under my gists as well) as an external script, you will also want at least zsh-syntax-highlight installed to have neat on-the fly...well...erm...syntax highlighting.
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
setopt appendhistory autocd extendedglob nomatch notify correctall
unsetopt beep
bindkey -v
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '$HOME/.zshrc'
@sygo
sygo / le_prompt.zsh
Last active December 21, 2015 20:09
zsh prompt (Somewhat customized version of Aaron Toponce's awesome prompt) I find that have the two info lines of the prompt being the same color as regular text on the terminal makes the whole screen somewhat less readable, so I changed most of the prompt's text from white to dark gray (though the on the script it's identified and BRIGHT_BLACK)…
#Somewhat modified from the Aaron's original and awesome work --
# My ZSH prompt theme to match the 88_madcows.theme for Irssi
# Author: Aaron Toponce
# License: Public Domain
function precmd {
# let's get the current get branch that we are under
# ripped from /etc/bash_completion.d/git from the git devs
git_ps1 () {
@sygo
sygo / keybase.md
Last active July 3, 2016 23:26
keybase.md

Keybase proof

I hereby claim:

  • I am sygo on github.
  • I am nuno (https://keybase.io/nuno) on keybase.
  • I have a public key whose fingerprint is 8F08 BF19 03B3 EFD0 0E19 6C5A 98DA AA47 AFD3 4F5B

To claim this, I am signing this object:

@sygo
sygo / .screenrc
Last active November 16, 2016 18:39
screenrc
# status
hardstatus alwayslastline '%{= M} %H%{= G} %l %= %{= w}%-w%{+b r}%n*%t%{-b r}%{w}%+w %= %{c}%d %D %{B}%c '
hardstatus off
hardstatus alwayslastline
#scrollback goodness
defscrollback 5000