- Item 1
- Item 2
MVT is a tool from https://github.com/mvt-project/mvt
Create an encrypted backup [Cause that includes more stuff.] https://support.apple.com/en-us/HT205220
libimobiledevice looks to be needed only on linux, but what the heck
brew install --HEAD libimobiledevice
Might be already present!
brew install python3 libusb sqlite3
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
#Random | |
curl http://$boseip:8090/info | xmllint --format - | |
curl http://$boseip:8090/presets | xmllint --format - | |
#Whats playing | |
curl "http://$boseip:8090/now_playing" | xmllint --format - | grep track | sed -e 's/<\/\{0,1\}track>//g' | |
#Volume | |
curl http://$boseip:8090/volume | xmllint --format - | grep actual | sed -e 's/<\/\{0,1\}actualvolume>//g' | |
#Update Volume | |
curl -H "Accept:application/json" -XPOST --data "<volume>40</volume>'" http://$boseip:8090/volume |
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
env: | |
TERM: xterm-256color | |
window: | |
dimensions: | |
columns: 80 | |
lines: 24 | |
padding: | |
x: 2 |
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
From 2063aad860376419d899d1ae06ccb7daf56ef9ef Mon Sep 17 00:00:00 2001 | |
From: Jaesup Kwak <veshboo@gmail.com> | |
Date: Mon, 4 Dec 2017 21:23:19 +0900 | |
Subject: [PATCH] Support xwidget webkit for macOS X | |
Add xwidget webkit support for macOS X / NS Cocoa and accompanying | |
changes. | |
Squash changes for comments from Alan Third in Bug#29565. |
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/env bash | |
cd $CHEF_INFRA_HOME/infrastructure;knife search node -a ipaddress "name:*p-* and chef_environment:production" | sed -e ':a' -e 'N' -e '$!ba' -e "s/:\n ipaddress:/ /g" | sed -e '/^\s*$/d' | awk '{print $2" "$1}'> /usr/local/etc/chef_hosts | |
cat /usr/local/etc/chef_hosts | awk '{print "host "$2"\n hostname " $1 "\n user ubuntu\n port 22\n IdentityFile ~/.ssh/id_rsa\n"}' > /usr/local/etc/ssh_config/chef |
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/env bash | |
TOKEN=$(yubioath show $1 | sed "/$1/ s/[a-z ]*//g") | |
read -r -d '' SCRIPT_TEMPLATE <<-'END' | |
tell application "Tunnelblick"NL | |
connect "$PROFILE"NL | |
delay 1NL | |
tell application "System Events"NL | |
keystroke $TOKENNL | |
delay 1NL |
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
Sample Agenda | |
========= | |
Lets discuss the agenda in markdown!. | |
- Here is a list | |
- another list item | |
- Magic | |
Markdown is a lightweight markup language based on the formatting conventions that people naturally use in email. |
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
var locate = function(locationInfo) { | |
var city = locationInfo.city.replace(" ", "_"); | |
var region = locationInfo.region; | |
$.get('http://api.wunderground.com/api/91425b2b253b294f/forecast/q/'+region+'/'+city+'.json', function(response) { | |
console.log(response.forecast.forecastday)}) | |
}); | |
} | |
$.get('http://ip-api.com/json/199.48.152.51?callback=locate') |
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
touch ~/.zshmarks && source ~/.zshmarks | |
function b() { | |
echo "hash -d $1=\"`pwd`\"" >> ~/.zshmarks && source ~/.zshmarks | |
} |
NewerOlder