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
set isCrashPlanRunning to false | |
try | |
set pid to do shell script ¬ | |
"sudo launchctl list | grep com.crashplan.engine" user name "username" password ¬ | |
"password" with administrator privileges | |
set isCrashPlanRunning to true | |
end try | |
if isCrashPlanRunning then | |
log "CrashPlan is already running: " & pid |
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
/** | |
* Implements hook_classic(). | |
*/ |
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
Meteor.startup(function() { | |
// Start APM only on our test server. | |
var rootUrl = Meteor.absoluteUrl(); | |
if (rootUrl === "https://<rootUrl>/" || rootUrl === "http://<rootUrl>/") { | |
Apm.connect('<AppId>', '<AppSecret>'); | |
} | |
}); |
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
drush vset maintenance_mode 1 | |
drush vset maintenance_mode_message 'Come back later!' |
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
Posts = new Meteor.Collection("posts", { | |
schema: new SimpleSchema({ | |
title: { | |
type: String, | |
optional: true | |
}, | |
description: { | |
type: String, | |
optional: 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
libraries[jquery_ui][download][type] = get | |
libraries[jquery_ui][download][url] = http://jquery-ui.googlecode.com/files/jquery.ui-1.6.zip | |
libraries[jquery_ui][directory_name] = jquery.ui | |
libraries[jquery_ui][destination] = modules/contrib/jquery_ui |
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/zsh | |
rm -rf "$HOME/Library/Preferences/WebIde70" | |
rm -rf "$HOME/Library/Caches/WebIde70" | |
rm -rf "$HOME/Library/Application Support/WebIde70" | |
rm -rf "$HOME/Library/Logs/WebIde70" |
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
<!-- | |
The examples below illustrate different ways to make a reactive and nonreactive join between two collections. | |
We will retrieve in all of them a list of the 10 most popular posts along with their author profile. | |
More informations are available on: http://journal.gentlenode.com/ | |
Summary: | |
1. Nonreactive Join #1: Denormalization. | |
2. Reactive Join #1: Joining on the client. (by calling a publication) | |
3. Reactive Join #2: Overpublishing. (and joining with data context) |
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
{ | |
"meteor": {}, | |
"dependencies": { | |
"basePackages": { | |
"iron-router": {}, | |
"famono": {}, | |
"famous-components": {}, | |
"less-bootstrap-3": {}, | |
"font-awesome-4-less": {} | |
}, |
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 ~/Desktop | |
➜ Desktop git clone [email protected]:shrop/spectacle-frontend.git | |
Cloning into 'spectacle-frontend'... | |
remote: Counting objects: 203, done. | |
remote: Compressing objects: 100% (16/16), done. | |
remote: Total 203 (delta 2), reused 0 (delta 0) | |
Receiving objects: 100% (203/203), 111.53 KiB | 0 bytes/s, done. | |
Resolving deltas: 100% (63/63), done. | |
Checking connectivity... done. |