This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Default: https://github.com/Canop/broot/blob/master/resources/default-conf.hjson | |
# Doc: https://dystroy.org/broot | |
{ | |
show_selection_mark: true | |
verbs: [ | |
{ | |
invocation: edit | |
shortcut: e | |
execution: "$EDITOR +{line} {file}" | |
leave_broot: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Place this file in ~/.byobu/bin/5_cputiny | |
TMP=$HOME/.byobu | |
cpu_last=($(head -n1 $TMP/cpulast)) | |
cpu_last_sum=$(head -n1 $TMP/cpulastsum) | |
# Get the first line with aggregate of all CPUs | |
cpu_now=($(head -n1 /proc/stat)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
my $cmd; | |
my $path; | |
while (<>) { | |
if (/^Exec=(.*)/) { | |
$cmd = $1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/bin/java -client -Xss2m -Xms32m -XX:PermSize=32m -Dapple.laf.useScreenMenuBar=true -Dapple.awt.graphics.UseQuartz=true -Dsun.java2d.noddraw=true -Dsun.java2d.dpiaware=true -Dsun.zip.disableMemoryMapping=true -jar /Applications/jEdit.app/Contents/Resources/Java/jedit.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/opt/local/bin/python2.7 | |
# Small script that scapes into HTML your bookmarks on bitly.com | |
# Licensed under DWTFYWWI: https://github.com/avar/DWTFYWWI/blob/master/DWTFYWWI | |
from __future__ import print_function | |
import bitly_api | |
import time | |
import sys | |
import httplib |