Scroll to an element if it's not completely visible in the Viewport.
This python script will print all active leases availables in the /var/lib/dhcp/dhcpd.leases file.
This is not my work! See Author below.
+--------------------------------------------------------------------------------------------------
| DHCPD ACTIVE LEASES REPORT
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
# | |
# Authors: | |
# Tercio Gaudencio Filho <terciofilho@gmail.com> | |
# | |
# Ex: | |
# USERNAME@HOSTNAME [/FULL/PATH] ✘ $ TIME | |
function prompt_0x3333_setup { | |
setopt LOCAL_OPTIONS | |
unsetopt XTRACE KSH_ARRAYS |
ForkLift is in version 3, but I have a license for version 2. I want to install ForkLift version 2 using brew cask
, if I just run brew cask install forklift
it will install version 3.
To install version 2 install the last commit in the cask file forklift.rb
for version 2, which is 2.6.6, commit 0bc4d90.
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
/* | |
* Copyright (C) 2015 Machinery For Change, Inc. | |
*/ | |
package com.github.x3333.logging; | |
import java.text.MessageFormat; | |
import java.util.LinkedList; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.Map.Entry; |
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/zsh | |
TRAPDEBUG() { | |
read -q "?run \"$ZSH_DEBUG_CMD\"? " || setopt errexit | |
echo > /dev/tty | |
} | |
echo "First command" | |
echo "Second command" | |
echo "Last command" |
OlderNewer