- Install the Crouton chrome extension
- Open a shell window and run
sudo sh ~/Downloads/crouton -r trusty -t xiwi,unity,touch,extension
. - When setup is complete, run
sudo startunity
. It should say "Cannot connect to extension, retrying...". If a new window doesn't open, then click the Crouton browser extension button - A new window should appear with Ubuntu installed.
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
{ | |
"id": 29968, | |
"description": "You've Bought The WRONG ONE! Fairway Wood v Hybrid v Driving Iron | |
► Official Apparel and Footwear Partner: Mizuno | |
https://mizunogolf.com/uk/apparel/ | |
MZN-MATTFRYER-20 - Mizuno discount code | |
► Official Distance and GPS Device Partner: Shot Scope | |
https://shotscope.com/?rfsn=6932320.bbe1bd&utm_source=mattfryer |
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
{ | |
"response": { | |
"config": { | |
"headers": { | |
"Accept-Encoding": "gzip", | |
"User-Agent": "google-api-nodejs-client/0.7.2 (gzip)", | |
"Authorization": "Bearer AUTHENTICATED_BEARER_TOKEN", | |
"Content-Type": "application/json", | |
"Accept": "application/json" | |
}, |
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
# TODO: release new version of FileBot for Linux | |
FILEBOT_PACKAGE_VERSION=4.7.21 | |
FILEBOT_PACKAGE_SHA256=e7c99f5a0b55bf52d78f94fec3344f1951c70e0ad33aa2bc51596863fff90fc8 | |
FILEBOT_PACKAGE=FileBot.tar.xz.gpg | |
FILEBOT_PACKAGE_URL=http://get.filebot.net/filebot/latest/$FILEBOT_PACKAGE | |
FILEBOT_PACKAGE_KEY=4E402EBF7C3C6A71 | |
FILEBOT_PACKAGE_KEY_URL=https://raw.githubusercontent.com/filebot/plugins/master/gpg/maintainer.pub | |
# Download latest portable package |
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
function process (input) { | |
// Reduce over input to process an object where the key is the location and the value is the products | |
const tree = input | |
.reduce((output, o) => { | |
o.locations.forEach(location => { | |
if (output[location] === undefined) { | |
output[location] = []; | |
} |
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
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/bholland/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="random" | |
# Uncomment the following line to use case-sensitive completion. |
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
// http://source.entelect.co.za/automatically-publish-to-npm-using-gulp-teamcity | |
'use strict'; | |
const execSync = require('child_process').execSync; | |
const npm = require('npm'); | |
const fs = require('fs'); | |
const args = require('yargs').argv; | |
const uri = 'http://package.brighter.io:4873'; | |
console.log('args', args); |
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 cloneDeep from 'lodash/cloneDeep'; | |
import PayloadService from './payload.svc'; | |
import StatsResource from '../resources/stats.rsc'; | |
import DataTransformationService from '../../core-data-transformation/services/core-data-transformation.svc'; | |
let $q, $timeout, statsResource, dataTransformationService; | |
const SUMMARY_RETRIEVAL_SERVICE_NAME = 'socialgrids.coreData.summaryRetrievalService'; | |
class SummaryRetrievalService extends PayloadService { |
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
{ | |
"info version":"1.1", | |
"firmware version":"HD3.11.03.03", | |
"wifi version":"4.0.36.1", | |
"wifi bootloader version":"0.1.0", | |
"wifi mac":"d4d91924fff0", | |
"camera type":"HERO3+ Black Edition", | |
"camera serial number":"H3B+B051424FFF0", | |
} |
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/bash | |
protected_branch='master' | |
current_branch=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,') | |
if [ $protected_branch = $current_branch ] | |
then | |
read -p "You're about to push master, is that what you intended? [y|n] " -n 1 -r < /dev/tty | |
echo | |
if echo $REPLY | grep -E '^[Yy]$' > /dev/null |
NewerOlder