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 python | |
# license removed for brevity | |
import rospy | |
from std_msgs.msg import String | |
def talker(): | |
pub = rospy.Publisher('chatter', String) | |
rospy.init_node('talker', anonymous=True) | |
r = rospy.Rate(10) # 10hz | |
while not rospy.is_shutdown(): |
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
{ | |
"name": "myapp", | |
"description": "Boilerplate web app using node, express, backbone, marionette.", | |
"version": "0.0.1", | |
"private": true, | |
"scripts": { | |
"start": "node app.js" | |
}, | |
"engines": { | |
"node": "0.11.x" |
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
npm http GET https://registry.npmjs.org/ascli | |
> protobuf@0.8.7 install /usr/local/lib/node_modules/spotify-web/node_modules/protobuf | |
> node-gyp rebuild | |
protobuf/protobuf_full_do_not_use.target.mk:158: warning: overriding commands for target `Debug/protobuf_full_do_not_use.a' | |
protobuf/protobuf_full_do_not_use.host.mk:172: warning: ignoring old commands for target `Debug/protobuf_full_do_not_use.a' | |
protobuf/protobuf_lite.target.mk:152: warning: overriding commands for target `Debug/protobuf_lite.a' | |
protobuf/protobuf_lite.host.mk:166: warning: ignoring old commands for target `Debug/protobuf_lite.a' | |
CXX(host) Debug/obj.host/protobuf_full_do_not_use/protobuf/src/google/protobuf/stubs/strutil.o |
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
$ npm install -g lame | |
npm http GET https://registry.npmjs.org/lame | |
npm http 200 https://registry.npmjs.org/lame | |
npm http GET https://registry.npmjs.org/bindings | |
npm http GET https://registry.npmjs.org/debug | |
npm http GET https://registry.npmjs.org/readable-stream | |
npm http 304 https://registry.npmjs.org/readable-stream | |
npm http 304 https://registry.npmjs.org/debug | |
npm http 304 https://registry.npmjs.org/bindings | |
npm http GET https://registry.npmjs.org/string_decoder |
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 $PYTHONPATH | |
/usr/local/lib/python2.7/site-packages |
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
app.use(express.static(path.join(__dirname, 'public'))); | |
//required for passport | |
app.use(express.session({secret: 'secret'})); // session secret | |
app.use(passport.initialize()); | |
app.use(passport.session()); // persistent login sessions |
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 <Cocoa/Cocoa.h> | |
@interface AppDelegate : NSObject <NSApplicationDelegate> { | |
@private | |
NSWindow *window; | |
} | |
@property (assign) IBOutlet NSWindow *window; | |
@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
#!/bin/sh | |
BREW_FILE_DIRECTORY=$(dirname "$0") | |
BREW_FILE_DIRECTORY=$(cd "$BREW_FILE_DIRECTORY" && pwd -P) | |
BREW_FILENAME=$(basename "$0") | |
export HOMEBREW_BREW_FILE="$BREW_FILE_DIRECTORY/$BREW_FILENAME" | |
BREW_SYMLINK=$(readlink $0) | |
if [ -n "$BREW_SYMLINK" ] | |
then |
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
[exec] [info] Compiling 8 Scala sources to /private/tmp/gitbucket-CoUf/target/scala-2.10/test-classes... | |
[exec] [error] | |
[exec] [error] while compiling: /private/tmp/gitbucket-CoUf/src/test/scala/view/PaginationSpec.scala | |
[exec] [error] during phase: xsbt-api | |
[exec] [error] library version: version 2.10.3 | |
[exec] [error] compiler version: version 2.10.3 | |
[exec] [error] reconstructed args: -deprecation -classpath /private/tmp/gitbucket-CoUf/target/scala-2.10/test-classes:/private/tmp/gitbucket-CoUf/target/scala-2.10/classes:/Users/hanxue/.ivy2/cache/org.eclipse.jgit/org.eclipse.jgit.http.server/jars/org.eclipse.jgit.http.server-3.0.0.201306101825-r.jar:/Users/hanxue/.ivy2/cache/org.eclipse.jgit/org.eclipse.jgit/jars/org.eclipse.jgit-3.0.0.201306101825-r.jar:/Users/hanxue/.ivy2/cache/com.jcraft/jsch/jars/jsch-0.1.46.jar:/Users/hanxue/.ivy2/cache/com.googlecode.javaewah/JavaEWAH/jars/JavaEWAH-0.5.6.jar:/Users/hanxue/.ivy2/cache/org.scalatra/scalatra_2.10/j |
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
Buildfile: /private/tmp/gitbucket-CoUf/build.xml | |
clean: | |
war: | |
[exec] Listening for transport dt_socket at address: 5005 | |
[exec] [info] Loading global plugins from /Users/hanxue/.sbt/0.13/plugins | |
[exec] [info] Updating {file:/Users/hanxue/.sbt/0.13/plugins/}global-plugins... | |
[exec] [info] Resolving com.github.mpeltonen#sbt-idea;1.5.2 ... | |
[exec] [info] Resolving commons-io#commons-io;2.0.1 ... |
OlderNewer