Skip to content

Instantly share code, notes, and snippets.

View busches's full-sized avatar

Scott Busche busches

  • Des Moines, Iowa
View GitHub Profile
@busches
busches / npm log -dd
Created May 5, 2015 17:42
Simple package.json hangs on npm install -dd
This file has been truncated, but you can view the full file.
C:\Users\buschs1
λ λ cd deDesktop\npmBug\
C:\Users\buschs1\Desktop\npmBug
λ cd Desktop\npmBug\rm -rf node_moduleslsmvn install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building test 0
@busches
busches / ConEmu-2015-05-12-p37444.log
Created May 12, 2015 13:42
NPM Bug log - real npm -dd
This file has been truncated, but you can view the full file.
C:\Users\buschs1\Desktop\npmBug
λ node -v
v0.12.2
C:\Users\buschs1\Desktop\npmBug
λ npm install -dd
npm info it worked if it ends with ok
npm verb cli [ 'C:\\Program Files\\nodejs\\\\node.exe',
npm verb cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli 'install',
@busches
busches / ConEmu-2015-05-12-p36148.log
Created May 12, 2015 13:43
NPM Bug log - real npm -ddd
This file has been truncated, but you can view the full file.
C:\Users\buschs1\Desktop\npmBug
λ npm install -ddd
npm info it worked if it ends with ok
npm verb cli [ 'C:\\Program Files\\nodejs\\\\node.exe',
npm verb cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli 'install',
npm verb cli '-ddd' ]
npm info using npm@2.9.1
npm info using node@v0.12.2
npm verb node symlink C:\Program Files\nodejs\\node.exe
@busches
busches / ConEmu-2015-06-03-p49224.log
Created June 3, 2015 18:25
Complex package.json npm hung with -dd
This file has been truncated, but you can view the full file.
C:\Users\buschs1\Desktop\npmBug
λ npm install -dd
npm info it worked if it ends with ok
npm verb cli [ 'C:\\Program Files\\nodejs\\\\node.exe',
npm verb cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli 'install',
npm verb cli '-dd' ]
npm info using npm@2.11.0
npm info using node@v0.12.4
npm verb readDependencies loading dependencies from C:\Users\buschs1\Desktop\npmBug\package.json
@busches
busches / changeLog.sh
Created June 22, 2015 23:16
Changelog for CM builds
#export WORKSPACE=/var/lib/jenkins/jobs/Build_CM12/workspace/builds
#export WORKSPACE=~/Downloads
export WORKSPACE=~/Dropbox/CM
export CHANGESPATH=$WORKSPACE/CHANGES-$(date -u +%Y%m%d).txt
rm $CHANGESPATH 2>/dev/null
# export CM_NIGHTLY
# get the name of the file we just built
lastBuild=$(ls -lt $WORKSPACE/cm*.zip | sed -e "s/ / /" | cut -d ' ' -f9 | head -1)
@busches
busches / gulpfile.babel.js
Created July 26, 2015 23:56
Gulpfile with Babel and ES6
import gulp from 'gulp';
import { argv as args } from 'yargs';
import browserSync from 'browser-sync';
import del from 'del';
import path from 'path';
import assign from 'lodash.assign';
import configRaw from './gulp.config';
const config = configRaw();
import gulpPlugins from 'gulp-load-plugins';
const $ = gulpPlugins({lazy: true});
@busches
busches / gulpfile.js
Created July 26, 2015 23:56
Gulpfile with ES5
var gulp = require('gulp');
var args = require('yargs').argv;
var browserSync = require('browser-sync');
var del = require('del');
var path = require('path');
var assign = require('lodash.assign');
var config = require('./gulp.config')();
var $ = require('gulp-load-plugins')({lazy: true});
var port = process.env.PORT || config.defaultPort;
@busches
busches / npm.log
Created April 12, 2016 14:37
NPM install log of npm swapping to npmjs.org's registry instead of user defined registry
npm info it worked if it ends with ok
npm verb cli [ 'C:\\Program Files\\nodejs\\node.exe',
npm verb cli 'C:\\Users\\buschs1\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli 'install',
npm verb cli '-ddd' ]
npm info using npm@3.8.6
npm info using node@v5.10.0
npm sill loadCurrentTree Starting
npm sill install loadCurrentTree
npm sill install readLocalPackageData
@busches
busches / bumpme
Last active December 11, 2019 19:01
Wed Dec 11 19:01:40 UTC 2019
@busches
busches / Main.kt
Created July 20, 2021 01:59
Check if a video will play in the Pacifica
import org.w3c.dom.Document
import org.xml.sax.InputSource
import java.io.File
import java.io.IOException
import java.io.StringReader
import java.math.BigInteger
import java.util.concurrent.TimeUnit
import javax.xml.parsers.DocumentBuilderFactory
import javax.xml.xpath.XPathConstants
import javax.xml.xpath.XPathFactory