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 (var i:int = 0; i < MAIN_MC.numChildren; i++) | |
{ | |
var mcRef:MovieClip = MovieClip(MAIN_MC.getChildAt(i)); | |
mcRef.methodName; | |
} |
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
desc "Transmit DockSend" | |
task :deploy do | |
system <<-EOF | |
osascript -e "on run argv\r\n ignoring application response\r\n tell app \\"Transmit\\" to open POSIX file item 1 of argv\r end ignoring\r end run" . | |
EOF | |
puts "Sent publish/ to Transmit." | |
end |
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
cd `brew --prefix` | |
rm -rf Cellar | |
brew prune | |
rm -rf Library .git .gitignore bin/brew README.md share/man/man1/brew | |
rm -rf ~/Library/Caches/Homebrew |
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
gem list | cut -d" " -f1 | xargs gem uninstall -aIx |
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
@each $font-face in font-1, font-2 { | |
@font-face { | |
font-family: $font-face; font-style: normal; font-weight: normal; | |
src: url('#{$font-face}.eot'); | |
src: url('#{$font-face}.eot?') format('eot'), | |
url('#{$font-face}.woff') format('woff'), | |
url('#{$font-face}.ttf') format('truetype'); | |
} | |
} |
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
{ | |
latest_migration: "20140805143805", | |
features: { | |
dfp_keys: { | |
city: "", | |
state: "", | |
zip: [ ], | |
cnty: [ ], | |
targetcode: "", | |
cbsa: "", |
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
Router.configure({ | |
layoutTemplate: 'layout', | |
loadingTemplate: 'loading', | |
waitOn: function() { | |
return [ | |
Meteor.subscribe('posts'), | |
Meteor.subscribe('comments') | |
]; | |
} | |
}); |
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 React from 'react' | |
import { Route, IndexRoute } from 'react-router' | |
import App from './containers/App' | |
import Login from './containers/Login' | |
import Dashboard from './containers/Dashboard' | |
import SearchContainer from './containers/Search' | |
import Cart from './containers/Cart' | |
import Maintenance from './containers/Maintenance' | |
import Profile from './containers/Profile' |
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
repo_data = [name: "asdf"] | |
{status, result} = JSON.encode(repo_data) | |
IO.puts "RESULT: #{result}" | |
case System.cmd "curl", ["-XPOST", "-H", "Authorization: token #{github_token}", "https://api.github.com/user/repos", "-d", "#{result}"] do | |
{output, 0} -> IO.puts "#{output}" | |
{err, code} -> {:error, %Raygun.Error{message: err, command: "new", code: code}} | |
end |
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
[Service] | |
Restart=on-failure | |
StartLimitInterval=86400 | |
StartLimitBurst=5 | |
; User and group the process will run as. | |
User=root | |
Group=www-data | |
; Letsencrypt-issued certificates will be written to this directory. |
OlderNewer