Skip to content

Instantly share code, notes, and snippets.

View SilverPreece's full-sized avatar
🐀
Coding like crazy

Silver Preece SilverPreece

🐀
Coding like crazy
  • Vancouver, BC
View GitHub Profile
@SilverPreece
SilverPreece / plugin-install-debug.log
Created May 24, 2019 15:52
Vagrant Plugin Install Multiple Version Constraints Debug Log
INFO global: Vagrant version: 2.2.4
INFO global: Ruby version: 2.4.4
INFO global: RubyGems version: 2.6.14.1
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/bin/vagrant"
INFO global: VAGRANT_INSTALLER_ENV="1"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/embedded"
INFO global: VAGRANT_NO_PLUGINS="1"
INFO global: VAGRANT_DISABLE_PLUGIN_INIT="1"
INFO global: VAGRANT_LOG="debug"
@SilverPreece
SilverPreece / phing-schema.2.16.1.xsd
Created March 28, 2019 03:49
Auto-conversion of the RELAX NG schema for Phing into a W3C XML Schema document.
<?xml version="1.0" encoding="UTF-8"?>
<!--
-File $Id$
-License GNU LGPL (http://www.gnu.org/copyleft/lgpl.html)
-Author Johan Persson, johanp@aditus.nu
-->
<!--
==================================================================================
XML Schema Document For Phing build XML scripts.
@SilverPreece
SilverPreece / jquery.detach-select-options.js
Created October 3, 2012 08:25 — forked from dave1010/jquery.detach-select-options.js
jQuery plugin to detach (hide) select options and add them again.
// this is because of http://stackoverflow.com/questions/4398966/how-can-i-hide-select-options-with-javascript-cross-browser/4423543
// forked from dave1010's example to include removal of attached elements from the data() array
(function($){
$.fn.extend({detachOptions: function(o) {
var s = this;
return s.each(function(){
var d = s.data('selectOptions') || [];
s.find(o).each(function() {