>> ##### File Management
>> ##### Pane Management
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
echo "START SETTING CONFIGURATION DEFAULTS..." | |
########################################################### | |
# General UI/UX | |
########################################################### | |
echo -e "\nDisable window animations ("new window" scale effect)." | |
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false | |
echo -e "\nExpanding the save panel by default." | |
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true |
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 | |
which ffmpeg > /dev/null || { echo "REQUIRED: sudo apt-get install ffmpeg" >&2; exit 1; } | |
which ffprobe > /dev/null || { echo "REQUIRED: sudo apt-get install ffmpeg" >&2; exit 1; } | |
format=mp3 | |
find . -type f | grep -i wma$ > tracklist.txt | |
#readarray -t files < tracklist.txt | |
declare -a tracklist |
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
for f in *.flac ; do | |
# Regex for whitespaces in filenames. | |
# Specify input and output filetypes. | |
out="${f[@]/%flac/mp3}" | |
# Use -qscale or -vbr for VBR [0-9]. | |
# 0: slowest & best possible algo | |
# 1: slow and not as high quality | |
# 2: recommended (same as -h) | |
# 5: default; good speed, reasonable quality |
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
on run {input, parameters} | |
if (count of input) > 0 then | |
tell application "iTerm" | |
if (count of terminals) = 0 then | |
activate | |
end if | |
tell (current terminal) | |
tell (launch session "Default") |
This is a data narrative created using C3.js for CME151: Introduction to Data Visualization (Stanford University, Winter 2016).
This is a 3D particles simulation created using three.js for CME151: Introduction to Data Visualization (Stanford University, Winter 2016).
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
/** | |
* @author mrdoob / http://mrdoob.com/ | |
*/ | |
THREE.SpriteCanvasMaterial = function ( parameters ) { | |
THREE.Material.call( this ); | |
this.type = 'SpriteCanvasMaterial'; |
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 | |
###################################################################### | |
# port_forward.sh | |
# ---------------- | |
# Enable port forwarding for Transmission. | |
# | |
# Requirements: | |
# Private Internet Access user and password as arguments | |
# | |
# Usage: |
OlderNewer