View gist:9996d9388c5f8d111e46c7f9fdebd4ef
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
panic(cpu 2 caller 0xffffff7f9a7a0aae): watchdog timeout: no checkins from watchdogd in 310 seconds (11 totalcheckins since monitoring last enabled), shutdown in progress | |
Backtrace (CPU 2), Frame : Return Address | |
0xffffff8209c6bc40 : 0xffffff8019d215cd | |
0xffffff8209c6bc90 : 0xffffff8019e5a3c5 | |
0xffffff8209c6bcd0 : 0xffffff8019e4bf7e | |
0xffffff8209c6bd20 : 0xffffff8019cc7a40 | |
0xffffff8209c6bd40 : 0xffffff8019d20c97 | |
0xffffff8209c6be40 : 0xffffff8019d21087 | |
0xffffff8209c6be90 : 0xffffff801a4c2ce8 | |
0xffffff8209c6bf00 : 0xffffff7f9a7a0aae |
View microcosm-onix-bisac-codes.csv
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
ANT000000 | Antiques & Collectibles / General | |
---|---|---|
ANT001000 | Antiques & Collectibles / Americana | |
ANT002000 | Antiques & Collectibles / Art | |
ANT003000 | Antiques & Collectibles / Autographs | |
ANT005000 | Antiques & Collectibles / Books | |
ANT006000 | Antiques & Collectibles / Bottles | |
ANT007000 | Antiques & Collectibles / Buttons & Pins | |
ANT008000 | Antiques & Collectibles / Care & Restoration | |
ANT009000 | Antiques & Collectibles / Transportation | |
ANT010000 | Antiques & Collectibles / Clocks & Watches |
View gist:c959caa8c4f6df6ac0e20845050322d1
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
cd $HOME | |
curl -sS https://getcomposer.org/installer | php | |
mkdir -p ~/bin | |
mv composer.phar ~/bin/composer |
View stickyHeaders.js
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
// Vertical sticky headers with push effect | |
// | |
// Use: | |
// import stickyHeaders from './stickyHeaders'; | |
// stickyHeaders.init($('.sticky-header'), $(window), 20); | |
// | |
// Markup: | |
// <div class="sticky-header"> | |
// <div class="sticky-title">Test Header</div> | |
// </div> |
View sphp.sh
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 | |
# Creator: Phil Cook | |
# Email: phil@phil-cook.com | |
# Twitter: @p_cook | |
brew_prefix=$(brew --prefix | sed 's#/#\\\/#g') | |
brew_array=("5.6","7.0","7.1","7.2","7.3") | |
php_array=("php@5.6" "php@7.0" "php@7.1" "php@7.2" "php@7.3") | |
valet_support_php_version_array=("php@5.6" "php@7.0" "php@7.1" "php@7.2" "php@7.3") | |
php_installed_array=() |
View gitlog
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 | |
# Pulls git log for an author formatted for a timesheet | |
# Usage: | |
# gitlog = all commits today | |
# gitlog 48 = last 48 hours of commits | |
# gitlog 2022-05-31 = all commits on May 13, '22 (also supports 5/31/2022, 05-31-2022) | |
# gitlog yesterday = all commits yesterday | |
# gitlog 1 week ago = all commits since a week ago |
View deploy.sh
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 | |
USER=username | |
PROJECT=projectname | |
SERVER=siteurl.com | |
rsync --delete -rvzce ssh . ${USER}@${SERVER}:webapps/${PROJECT}/ \ | |
--exclude /.git \ | |
--exclude /assets \ | |
--exclude /tmp \ | |
--exclude /cache \ |
View fb.rb
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/ruby | |
require 'date' | |
logtext = "Account Deactivated : Wednesday, August 8, 2012 at 8:52pm CDT | |
Account Reactivated : Sunday, November 4, 2012 at 3:14pm CST | |
Account Deactivated : Sunday, November 4, 2012 at 3:25pm CST | |
Account Reactivated : Monday, December 24, 2012 at 9:42pm CST | |
Account Deactivated : Monday, December 24, 2012 at 10:02pm CST | |
Account Reactivated : Thursday, January 10, 2013 at 9:07am CST | |
Account Deactivated : Thursday, January 10, 2013 at 9:14am CST |
View server.js
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
var app = require('express')(); | |
var server = require('http').Server(app); | |
var io = require('socket.io')(server); | |
var redis = require('redis').createClient({host: 'localhost'}); | |
var port = process.env.PORT || 8890; | |
server.listen(port); | |
io.on('connection', function (socket) { | |
socket.on('subscribe', function(data) { |
NewerOlder