This file contains hidden or 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/bash | |
#curl -s -k -H "Accept: application/json" "https://circleci.com/api/v1/recent-builds?circle-token=:$CIRCLE_BUILD_TOKEN&limit=1" | echo | |
#foo=$(($?)) | |
WHO_BROKE_IT=$(git log HEAD^..HEAD --pretty='%aN <%aE>' | sort -u) | |
echo "Build Broke! (I blame $WHO_BROKE_IT)" | |
echo "Installing email software..." | |
sudo apt-get install bsd-mailx sendemail | |
echo "Sending email to the offending party..." | |
#uuencode file1.png file1.png | mail -s "Funny" [email protected] | |
sendEmail -f "build status <[email protected]>" -t "$WHO_BROKE_IT" -u "You Broke the build!" -m "https://circleci.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME/$CIRCLE_BUILD_NUM" |
This file contains hidden or 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
'use strict' | |
var gulp = require('gulp') | |
var standard = require('gulp-standard') | |
var mocha = require('gulp-mocha') | |
var istanbul = require('gulp-istanbul') | |
var coveralls = require('gulp-coveralls') | |
gulp.task('standard', function () { | |
return gulp.src(['./app.js']) |
This file contains hidden or 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
machine: | |
node: | |
version: v0.11.13 | |
environment: | |
COVERALLS_REPO_TOKEN: "xxx" | |
CIRCLE_ARTIFACTS: "coverage" | |
general: | |
artifacts: | |
- "coverage" # relative to the user's home directory |
This file contains hidden or 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
<?php | |
/** | |
* Formats a JSON string for pretty printing | |
* | |
* @param string $json The JSON to make pretty | |
* @param bool $html Insert nonbreaking spaces and <br />s for tabs and linebreaks | |
* @return string The prettified output | |
* @author Jay Roberts | |
*/ |
This file contains hidden or 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
{ | |
"txid" : "4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b", | |
"version" : 1, | |
"locktime" : 0, | |
"vin" : [ | |
{ | |
"coinbase" : "04ffff001d0104455468652054696d65732030332f4a616e2f32303039204368616e63656c6c6f72206f6e206272696e6b206f66207365636f6e64206261696c6f757420666f722062616e6b73", | |
"sequence" : 4294967295 | |
} | |
], |
This file contains hidden or 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
https://www.raspberrypi.org/forums/viewtopic.php?t=99016&p=687280 | |
by gwizz » Wed Feb 18, 2015 12:51 pm | |
I've found the easiest way for me is this: (provided you are ok with a slightly older kernel) | |
sudo aptitude install -y linux-image-rpi2-rpfv linux-headers-rpi2-rpfv | |
echo -e "kernel=vmlinuz-3.18.0-trunk-rpi2\ninitramfs initrd.img-3.18.0-trunk-rpi followkernel" | sudo tee -a /boot/config.txt | |
sudo reboot |
NewerOlder