Skip to content

Instantly share code, notes, and snippets.

Avatar

Steven Price priceflex

View GitHub Profile
View duplicacy-filters
# ==============================================================================
# ============================================================================== notes about this file
# ==============================================================================
#
# This file is a generic file which adds some folders and files to the duplicacy backup ignore list
# This file can be modified as needed, eventually also propose said modifications, if they are generic enough, to the main duplicacy repository on github: https://github.com/gilbertchen/duplicacy/.
#
# ==============================================================================
#
# Regexes:
@priceflex
priceflex / DYMO.Label.Framework.2.0.2.js
Created May 31, 2018
DYMO Label Framework 2.0.2 swapped out localhost with 127.0.0.1
View DYMO.Label.Framework.2.0.2.js
/*Copyright (c), 2011 Sanford, L.P. All Rights Reserved.*/(function() {var l,aa=aa||{},n=this;n.Aa=!0;function p(){}
function ba(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var d=Object.prototype.toString.call(a);if("[object Window]"==d)return"object";if("[object Array]"==d||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==d||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
else if("function"==b&&"undefined"==typeof a.call)return"object";return b}function ca(a){return"array"==ba(a)}function da(a){var b=ba(a);return"array"==b||"object"==b&&"number"==typeof a.length}function q(a){return"string"==typeof a}function ea(a){return"number"==typeof a}function t(a){return"function"==ba(a)}var fa="closure_uid_"+(1E9*Math.random()>>>0),ga=0;functio
View auto_outlook.vbs
'***************************************************
' File: auto_outlook.vbs
' Author: Mark M Manning
' Date: 10/10/2007
' Version: 1
' Based on the work of Peder Pedersen - pep@deif.com
'***************************************************
Option Explicit
View WUA_SearchDownloadInstall.vbs
'#############################################################################
'# Procedure: WUA_SearchDownloadInstall.vbs
'# Author: Microsoft/Scott Vintinner
'# Last Edit: 07/14/2014
'# Purpose: This script will trigger a Windows Update on this computer
'# Notes: Must be run as administrator
'# Source: http://msdn.microsoft.com/en-us/library/aa387102%28VS.85%29.aspx
'#############################################################################
Option Explicit
Dim scriptShell, fs
View load_env_git_env_windows.bat
setx PATH "%PATH%;C:\Program Files\Git\bin;C:\Program Files\Git\usr\bin\;" /M
View rubydev.txt
Disable-MicrosoftUpdate
Disable-UAC
Update-ExecutionPolicy Unrestricted
cinst git.install
cinst ruby
cinst powershell
cinst chef-client
cinst putty
cinst rubygems
@priceflex
priceflex / ping_and_growl.rb
Created Jun 29, 2012 — forked from wtnabe/ping_and_growl.rb
simple network monitor with ping and growl
View ping_and_growl.rb
#! /usr/bin/env ruby
# -*- coding: utf-8 -*-
require 'logger'
=begin
WHATIS
* ping monitoring once every 30 secs
@priceflex
priceflex / deploy.rb
Created Jun 23, 2012 — forked from geekontheway/deploy.rb
capistrano-with-passenger-stand-alone
View deploy.rb
# -*- encoding : utf-8 -*-
$:.unshift(File.expand_path('./lib', ENV['rvm_path'])) # Add RVM's lib directory to the load path.
require "rvm/capistrano" # Load RVM's capistrano plugin.
set :rvm_ruby_string, '1.9.2' # Or whatever env you want it to run in.
require 'bundler/capistrano'
set :application, "yourapp"
set :use_sudo, false
@priceflex
priceflex / .vimrc
Created May 31, 2012
My vimrc file
View .vimrc
map <C-t> :CommandT<CR>
set number
set showcmd
set background=dark
map <Esc>[A <Up>
map <Esc>[B <Down>
map <Esc>[C <Right>
map <Esc>[D <Left>
syntax on
View chef_solo_bootstrap.sh
#!/usr/bin/env bash
apt-get -y update
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline-gplv2-dev libyaml-dev
cd /tmp
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz
tar -xvzf ruby-1.9.3-p125.tar.gz
cd ruby-1.9.3-p125/
./configure --prefix=/usr/local
make
make install