View gist:3d195cfdb640ec66d9029197e3be91b8
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
UEFI firmware (version UEFI Firmware (DEBUG) built at 20:27:27 on Mar 7 2021) | |
Board Rev: 0xD03114 | |
RAM < 1GB: 0x00000000 (Size 0x3B400000) | |
VideoCore: 0x3B400000 (Size 0x04C00000) | |
Total RAM: 0x200000000 | |
FD: | |
PhysicalBase: 0x0 | |
VirtualBase: 0x0 | |
Length: 0x1D0000 | |
FD Variables: |
View gist:6c824eaa0b96e9e3c5ac18462ad787ac
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
$ cat ~/.sway.log | grep output.c | |
2018-11-30 12:42:54 - [sway/sway/config/output.c:114] Adding non-wildcard output config | |
2018-11-30 12:42:54 - [sway/sway/config/output.c:135] Config stored for output eDP-1 (enabled: -1) (-1x-1@-1.000000Hz position -1,-1 scale 2.000000 transform -1) (bg (null) (null)) (dpms 0) | |
2018-11-30 12:42:54 - [sway/sway/config/output.c:108] Merging on top of existing output config | |
2018-11-30 12:42:54 - [sway/sway/config/output.c:135] Config stored for output eDP-1 (enabled: -1) (-1x-1@-1.000000Hz position 5120,1440 scale 2.000000 transform -1) (bg (null) (null)) (dpms 0) | |
2018-11-30 12:42:54 - [sway/sway/config/output.c:114] Adding non-wildcard output config | |
2018-11-30 12:42:54 - [sway/sway/config/output.c:135] Config stored for output Lenovo Group Limited LT2252p Wide 6V8ABBP1 (enabled: -1) (-1x-1@-1.000000Hz position 5120,390 scale -1.000000 transform -1) (bg (null) (null)) (dpms 0) | |
2018-11-30 12:42:54 - [sway/sway/config/output.c:114] Adding non-wildcard output config | |
2018-11-30 12:42 |
View gist:6d8350c4dfb646f3f5c8ee3fef7430f4
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
2016/05/29 20:30:48 [INFO] Packer version: 0.10.1 | |
2016/05/29 20:30:48 Packer Target OS/Arch: linux amd64 | |
2016/05/29 20:30:48 Built with Go Version: go1.6.2 | |
2016/05/29 20:30:48 Detected home directory from env var: /root | |
2016/05/29 20:30:48 Using internal plugin for googlecompute | |
2016/05/29 20:30:48 Using internal plugin for virtualbox-ovf | |
2016/05/29 20:30:48 Using internal plugin for file | |
2016/05/29 20:30:48 Using internal plugin for null | |
2016/05/29 20:30:48 Using internal plugin for parallels-iso | |
2016/05/29 20:30:48 Using internal plugin for qemu |
View wbuck.zsh-theme
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
# oh-my-zsh w-buck Bureau Theme | |
### CUSTOM | |
_COL="red" | |
_HR="(" #❯ | |
_HL=")" #❮ | |
_LEFT="%{$fg[$_COL]%}$_HR%{$reset_color%}" | |
_RIGHT="%{$fg[$_COL]%}$_HL%{$reset_color%}" | |
### NVM |
View gist:6a52e77b0b8974714263
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 Crypt::Eksblowfish::Bcrypt; | |
use Crypt::Random; | |
$password = 'bigtest'; | |
$encrypted = encrypt_password($password); | |
print "$password is encrypted as $encrypted\n"; | |
print "Yes the password is $password\n" if check_password($password, $encrypted); | |
print "No the password is not smalltest\n" if !check_password('smalltest', $encrypted); |
View gist:4533078196d284c97588
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 | |
while : | |
do | |
clear | |
git --no-pager log --graph --pretty=oneline --abbrev-commit --decorate --all $* | |
sleep 1 | |
done |
View wbuck.zsh-theme
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
# oh-my-zsh w-buck Bureau Theme | |
### CUSTOM | |
_COL="red" | |
_HR="(" #❯ | |
_HL=")" #❮ | |
_LEFT="%{$fg[$_COL]%}$_HR%{$reset_color%}" | |
_RIGHT="%{$fg[$_COL]%}$_HL%{$reset_color%}" | |
### NVM |
View desiredstate.yaml
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
--- | |
clusters: | |
#Static website running nginx and displaying the | |
smallweb: | |
state: | |
provider: private | |
instance-template: small-centos-6.5 | |
nodes: 3 | |
dependencies: [] | |
cluster-groups: [] |
View genssh.scala
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
import java.io.{DataOutputStream, ByteArrayOutputStream, StringReader} | |
import java.security.interfaces.{ECPublicKey, DSAParams, DSAPublicKey, RSAPublicKey} | |
import java.security._ | |
import java.security.spec.X509EncodedKeySpec | |
import org.apache.commons.codec.binary.Base64 | |
import org.bouncycastle.openssl.{PEMKeyPair, PEMParser} | |
object genPubSSHKey { | |
/** |
View jclouds_posix.sh
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/sh | |
export INSTANCE_NAME="test" | |
export INSTANCE_HOME="/tmp/test" | |
export LOG_DIR="$INSTANCE_HOME" | |
forget () { | |
mkdir -p "$LOG_DIR" | |
if test ! -f "$LOG_DIR/pid" ; then | |
nohup "$INSTANCE_HOME/$INSTANCE_NAME.sh" > "$LOG_DIR/stdout.log" 2> "$LOG_DIR/stderr.log" & | |
echo $! > "$LOG_DIR/pid" | |
else |
NewerOlder