Skip to content

Instantly share code, notes, and snippets.

View daitomanabe's full-sized avatar

Daito Manabe daitomanabe

View GitHub Profile
#!/bin/bash
for i in `seq -f %02g 0 50`
do
foo=0
k=`expr $foo + $i`
say ${k} -o ${i}.aiff -v Kyoko
done
check the status
defaults read com.google.Keystone.Agent.plist
adjust the checkinterval of GoogleSoftwareUpdate.app
defaults write com.google.Keystone.Agent checkInterval 0
disable
sudo chmod a-r /System/Library/Frameworks/CoreMediaIO.framework/Versions/A/Resources/VDC.plugin/Contents/MacOS/VDC
sudo chmod a-r /System/Library/PrivateFrameworks/CoreMediaIOServicesPrivate.framework/Versions/A/Resources/AVC.plugin/Contents/MacOS/AVC
sudo chmod a-r /System/Library/QuickTime/QuickTimeUSBVDCDigitizer.component/Contents/MacOS/QuickTimeUSBVDCDigitizer
sudo chmod a-r /Library/CoreMediaIO/Plug-Ins/DAL/AppleCamera.plugin/Contents/MacOS/AppleCamera
sudo chmod a-r /Library/CoreMediaIO/Plug-Ins/FCP-DAL/AppleCamera.plugin/Contents/MacOS/AppleCamera
enable
sudo chmod a+r /System/Library/Frameworks/CoreMediaIO.framework/Versions/A/Resources/VDC.plugin/Contents/MacOS/VDC
sudo chmod a+r /System/Library/PrivateFrameworks/CoreMediaIOServicesPrivate.framework/Versions/A/Resources/AVC.plugin/Contents/MacOS/AVC
When an app crashes on open.
remove
~/Library/Containers/xxxxxx
e.g, Quicktime
~/Library/Containers/com.apple.QuickTimePlayerX
@daitomanabe
daitomanabe / gist:76338dd806c5c6b4177de27b5268649f
Last active March 25, 2017 16:54
installing basic audio apps on OSX
sound flower
https://github.com/mattingalls/Soundflower/releases/
lame
https://gist.github.com/trevorsheridan/1948448
sound siphon
https://staticz.com/soundsiphon/
Barbabatch
http://www.audioease.com/index.php#software
Max
https://cycling74.com
@daitomanabe
daitomanabe / neural-style-gpu-in-ec2.markdown
Last active June 1, 2016 00:57
easy set up for neural-stlye with Cuda7.5 + cuDNN5 in EC2

#neural-style with Cuda7.5 + cuDNN5 in EC2

  • if you want to skip installing nvidia driver and cuda7.5, use this Ubuntu 14 AMI.
    https://aws.amazon.com/marketplace/pp/B01EYKBEQ0
    (Nvidia Drivers, Cuda 7.5 Toolkit, cuDNN pre-installed with Nvidia Drivers, Cuda 7.5 Toolkit, cuDNN 4, TensorFlow, and Jupyter to leverage Nvidia GRID instances)
    g2.2xlarge or better (GPU instance)
    Don't forget to make your root partition size bigger.

  • In case you want to install everything by yourself