Skip to content

Instantly share code, notes, and snippets.

@anubhavcodes
anubhavcodes / gist:f2abe77779f59236eb28
Created September 9, 2014 07:11
/usr/share/howm-session #A startup script for howm.
#! /bin/bash
#
# howm-session
#
# This script is a session launcher for howm.
# It is based on similar scripts included with Openbox.
if [ -n "" ]; then
echo "Usage: howm-session"
echo
@anubhavcodes
anubhavcodes / gist:bd3021fb9dd9ce1a2579
Created September 9, 2014 07:13
/usr/share/xsession/howm.desktop
[Desktop Entry]
Encoding=UTF-8
Name=howm
Comment=Launch a howm session
Exec=/usr/bin/howm-session
Type=XSession
/
|-- bash
|-- tmux
|-- vim
`-- Xresources
brew install stow # For OSX
apt install stow # For debian based OSes
@anubhavcodes
anubhavcodes / markdown_in_term.sh
Created January 23, 2019 09:41
Render markdown in terminal
# Install the tools
brew install pandoc
brew install lynx
# Store this preferrably in ~/.profile
rmd () {
pandoc $1 | lynx -stdin
}
# Source it
@anubhavcodes
anubhavcodes / keybase.md
Created January 17, 2020 10:27
Keybase Proof

Keybase proof

I hereby claim:

  • I am anubhavcodes on github.
  • I am anubhavyadav (https://keybase.io/anubhavyadav) on keybase.
  • I have a public key ASAYOIBXcri7obfg7uLsNNEghKEm9y44w_S7UkCHmkKiEAo

To claim this, I am signing this object:

@anubhavcodes
anubhavcodes / model.json
Created November 17, 2020 14:40
Grafana reproduce bug for #28897
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",