Based on MDN's canvas animation tutorial: https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Basic_animations
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
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/danny/.oh-my-zsh | |
# Set name of the theme to load. Optionally, if you set this to "random" | |
# it'll load a random theme each time that oh-my-zsh is loaded. | |
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
ZSH_THEME="robbyrussell" |
I hereby claim:
- I am dandydanny on github.
- I am dandydanny (https://keybase.io/dandydanny) on keybase.
- I have a public key whose fingerprint is 7E62 C41E 074E 10E6 B0B4 C36A 9468 A3FC 9DF0 4971
To claim this, I am signing this object:
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
# Add rbenv to bash so that it loads every time you open a terminal | |
if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi | |
#Homebrew dir | |
export PATH=/usr/local/bin:/usr/local/sbin:$PATH | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
# Aliasing ls command with useful options |
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
REM Name: vlc_capture.bat | |
REM Date: 2015-10-10 | |
REM Purpose: Launch VLC to record H.264/MP3 MP4 container screen cast for an hour on the second desktop. | |
REM Tested on Windows 7 Professional 64-Bit and VLC 2.1.5 | |
"C:\Program Files\VideoLAN\VLC\vlc" screen:// :screen-left="1680" :screen-fps="15" :live-caching="300" -vvv --sout-file-format --sout="#transcode{vcodec=h264, fps=15, acodec=mp3}:std{access=file,mux=mp4,dst=C:\vlc_capture\%%Y-%%m-%%d_%%H-%%M-%%S.mp4}" --run-time="3600" vlc://quit | |
EXIT |
Install from Mac App store. Will have command line tools and C compiler needed for Homebrew to build / compile. Also comes with Apple GIT.
Included in Xcode. Haven’t see the need to use the non-Apple git.
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
;Script Name: SV2 Flex Survey Filler | |
;Author: Daniel Lu | |
;Dependencies: AutoIt 3 | |
; Windows 7, 1280x960 resolution, Windows Classic Theme | |
; Mozilla Firefox | |
;Version History: 0.5 - Added variable for governing transition wait time and mouse speed | |
; 0.4 - Added systray balloon tips to show script execution state | |
; 0.3 - Added image capture | |
; 0.2 - Replaced some hard-wired timers with color | |
; comparison for detecting slide change |
DBC Lucky Ajax Challenge
https://github.com/alexcodreanu86/Lucky_ajax
- Download this application skeleton.
- Convert the app to use AJAX.
- Add any files you changed to your gist and submit your code.
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
//------------------------------------------------------------------------------------------------------------------ | |
// YOUR CODE: Create your Zoo "object literal" and Animal "constructor" and "prototypes" here. | |
//------------------------------------------------------------------------------------------------------------------ | |
//------------------------------------------------------------------------------------------------------------------ | |
// DRIVER CODE: Do **NOT** change anything below this point. Your task is to implement code above to make this work. | |
//------------------------------------------------------------------------------------------------------------------ |
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
<!doctype html> | |
<html> | |
<head> | |
<link rel="stylesheet" href="http://cdn.jsdelivr.net/normalize/2.1.0/normalize.css"> | |
<link rel="stylesheet" href="main.css"> | |
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800"> | |
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Lato:100,900"> | |
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.0.2/css/font-awesome.min.css"> | |
</head> |
NewerOlder