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
0 info it worked if it ends with ok | |
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'publish' ] | |
2 info using npm@1.3.10 | |
3 info using node@v0.10.25 | |
4 verbose publish [ '.' ] | |
5 verbose cache add [ '.', null ] | |
6 verbose cache add name=undefined spec="." args=[".",null] | |
7 verbose parsed url { protocol: null, | |
7 verbose parsed url slashes: null, | |
7 verbose parsed url auth: null, |
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
Based on https://www.ietf.org/rfc/rfc2045.txt, something needs to be transformed. | |
$ echo 'admin:admin123' | openssl base64 | |
YWRtaW46YWRtaW4xMjMK | |
$ Accepted: | |
YWRtaW46YWRtaW4xMjM= | |
Last character used was "=". |
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 | |
# Compare a file on S3 to see if we have the latest version | |
# If not, upload it and invalidate CloudFront | |
import fnmatch | |
import os | |
import boto | |
import pprint | |
import re |
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
/** @module lib/Todos Docs */ | |
"use strict"; | |
var builder = require("xmlbuilder"); | |
/** | |
* @param {object} todosJson is instance of the json report. | |
* @return {object} An XML representation of the todos based on sourceforge's todo. | |
*/ |
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
### Keybase proof | |
I hereby claim: | |
* I am marcellodesales on github. | |
* I am marcellodesales (https://keybase.io/marcellodesales) on keybase. | |
* I have a public key whose fingerprint is E1A5 0439 EE01 0DF4 D70A 377F 2B6A FBE5 7EB7 4C28 | |
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
// Confirm the new user by retrieving the password submitted. | |
User.confirmNewUser = function(id, code, submittedUser, next) { | |
console.log("Submitted User ID: " + id + "; Data to confirm: " + JSON.stringify(submittedUser)); | |
// Find the user by ID submitted | |
// http://docs.strongloop.com/display/public/LB/Exposing+models+over+REST | |
User.findById(id, function (err, savedUser) { | |
if (err) { | |
throw err; |
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
[root@pppdc9prd8tl tmphttps://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/chap-Managing_Services_with_systemd.html | |
$ sudo ln -s /usr/lib/systemd/system /etc/init | |
[root@pppdc9prd8tl npme]# mkdir /etc/systemd/system/npme.d | |
[root@pppdc9prd8tl npme]# ln -s /etc/systemd/system/npme.d /etc/init | |
[root@pppdc9prd8tl npme]# ls -la /etc/init | |
lrwxrwxrwx. 1 root root 26 Jun 20 13:36 /etc/init -> /etc/systemd/system/npme.d]# cd /tmp | |
[root@pppdc9prd8tl tmp]# wget https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm | |
[root@pppdc9prd8tl tmp]# ls *.rpm |
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
> db.SondeDataContainer.stats() | |
{ | |
"ns" : "netbeams.SondeDataContainer", | |
"count" : 2419200, | |
"size" : 1170892976, | |
"storageSize" : 1358632416, | |
"nindexes" : 20, | |
"ok" : 1 | |
} |
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
> db.SondeDataContainer.find( {"observation.pH":4.52, "observation.Battery":1.4} ).explain() | |
{ | |
"cursor" : "BasicCursor", | |
"startKey" : { | |
}, | |
"endKey" : { | |
}, | |
"nscanned" : 2419200, |
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 plugins used for this build. | |
*/ | |
/* | |
* Provides the compile, test, jar, etc tasks | |
*/ | |
apply plugin: 'java' | |
/* | |
* Generates the Eclipse project files. |
OlderNewer