Skip to content

Instantly share code, notes, and snippets.

Gregory Gaskill chronon

Block or report user

Report or block chronon

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@chronon
chronon / xps-13.md
Created Sep 3, 2018
Dell XPS 13 9370 Dual Boot Win 10 and Debian Linux
View xps-13.md

Dell XPS 13 9370 Dual Boot Win 10 and Debian Linux

Windows Preparation and Setup

  1. Download Win 10 installation ISO and create a bootable USB drive.
  2. Boot, F12 for system menu, select BIOS Setup.
    • System Configuration -> SATA Operation and change from "RAID On" to "AHCI".
    • Secure Boot -> Secure Boot Enable and change to "Disabled"
  3. Reboot, F12 for system menu, select the external USB drive and install Win 10.
@chronon
chronon / keybase.txt
Last active Oct 3, 2017
Keybase Proof
View keybase.txt
### Keybase proof
I hereby claim:
* I am chronon on github.
* I am mistagrrr (https://keybase.io/mistagrrr) on keybase.
* I have a public key ASAKyjQwTM8QDlkoCwLtk51qGSIGqYafm4Q_xgBDzUn3hgo
To claim this, I am signing this object:
@chronon
chronon / vagrant.log
Created Mar 1, 2017
Repeating vagrant hang-up
View vagrant.log
INFO vmware_driver: vmrun getGuestIPAddress failed: VMRunError
INFO vmware_driver: Reading VMX data...
DEBUG vmware_driver: - .encoding = UTF-8
DEBUG vmware_driver: - bios.bootorder = hdd,CDROM
DEBUG vmware_driver: - checkpoint.vmstate =
DEBUG vmware_driver: - cleanshutdown = FALSE
DEBUG vmware_driver: - config.version = 8
DEBUG vmware_driver: - cpuid.corespersocket = 1
DEBUG vmware_driver: - displayname = seven: default
DEBUG vmware_driver: - ehci.pcislotnumber = -1
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
box = 'bento/ubuntu-16.04'
ip = '192.168.33.10'
hostname = 'seven-vm'
domain = 'dev'
Vagrant.configure(2) do |config|
config.vm.box = box
@chronon
chronon / fixvagrant.sh
Last active Apr 20, 2017
Vagrant VMware port collisions
View fixvagrant.sh
#!/bin/sh
# remove entries under `[incomingtcp]` in `nat.conf`
sudo vim /Library/Preferences/VMware\ Fusion/vmnet8/nat.conf
# remove all entries in the file
sudo vim /etc/exports
# restart vmware networking
sudo /Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli --stop
@chronon
chronon / ext.txt
Created Feb 18, 2017
List of docker-php-ext-install extension names
View ext.txt
Possible values for ext-name:
bcmath
bz2
calendar
ctype
curl
dba
dom
enchant
@chronon
chronon / dropdown-menu.scss
Created May 22, 2013
Simple, not very styled, CSS only cross browser dropdown menu sass/scss mixin.
View dropdown-menu.scss
// Sort of based on http://matthewjamestaylor.com/blog/centered-dropdown-menus
// but with centering elements removed.
@mixin navmenu($z-index, $width) {
clear: both;
float: left;
margin: 0;
padding: 0;
width: 100%;
@chronon
chronon / SecurityGenShell.php
Created Jan 24, 2013
A CakePHP 2.x console command that prints random Security.salt and Security.cipherSeed.
View SecurityGenShell.php
<?php
/* SecurityGenShell - prints randmom Security.salt and Security.cipherSeed for
* Config/core.php
*
* See lib/Cake/Console/Command/Task/ProjectTask.php securitySalt() and
* securityCipherSeed().
*
* Installation: put this file, named `SecurityGenShell.php`, in `APP/Console/Command`.
* Usage: run `Console/cake security_gen` - copy and pasted the values to
* APP/Config/core.php.
View tmsnip2vim
#!/usr/local/bin/php
<?php
$base = $_SERVER['HOME'].'/Library/Application Support/TextMate/Bundles/CakePHP.tmbundle/Snippets/';
foreach (glob($base.'*.tmSnippet') as $file) {
$xmlString = file_get_contents($file);
$xml = new SimpleXMLElement($xmlString);
$trigger = 'snippet '.$xml->dict->string[3];
$snip = $xml->dict->string[0];
$snip = str_replace(array('\\', '$0'),'',$snip);
You can’t perform that action at this time.