Skip to content

Instantly share code, notes, and snippets.

View RickCogley's full-sized avatar
👻
Migrated eSolia to MS365, implementing ISO 27001 ISMS in Sharepoint.

Rick Cogley RickCogley

👻
Migrated eSolia to MS365, implementing ISO 27001 ISMS in Sharepoint.
View GitHub Profile
@RickCogley
RickCogley / Octopress-Rake-Generate-Error-Liquid-Exception
Created January 19, 2013 08:46
Rick Cogley - error on rake generate in Octopress, after adding a bunch of converted posts. Liquid Exception: invalid byte sequence in UTF-8 in atom.xml
rcogley@RickMBP ~/Repositories/octopress-all (git)-[new_layout] % rake generate
/Users/rcogley/.rvm/gems/ruby-1.9.3-p362/gems/bundler-1.2.3/lib/bundler/runtime.rb:197: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777
## Generating Site with Jekyll
/Users/rcogley/.rvm/gems/ruby-1.9.3-p362/gems/bundler-1.2.3/lib/bundler/runtime.rb:197: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777
unchanged sass/screen.scss
/Users/rcogley/.rvm/gems/ruby-1.9.3-p362/gems/bundler-1.2.3/lib/bundler/runtime.rb:197: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777
Configuration from /Users/rcogley/Repositories/octopress-all/_config.yml
Building site: source -> public
Liquid Exception: invalid byte sequence in UTF-8 in atom.xml
/Users/rcogley/Repositories/octopress-all/plugins/octopress_filters.rb:84:in `gsub'
@RickCogley
RickCogley / Octopress-Rake-Generate-One-File-Array-Comparison-Error
Created January 20, 2013 02:05
Rick Cogley - error on rake generate with only one file...
rcogley@RickMBP ~/Repositories/octopress-all (git)-[new_layout] % git commit -m 'ok adding ONE file'
[new_layout 0700ee1] ok adding ONE file
1 file changed, 24 insertions(+)
create mode 100644 source/_posts/2009-05-16-how-to-gargle-ugai-garagara.markdown
rcogley@RickMBP ~/Repositories/octopress-all (git)-[new_layout] % git push --all
Counting objects: 7, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 1.40 KiB, done.
Total 5 (delta 2), reused 0 (delta 0)
@RickCogley
RickCogley / eSolia_Scripting_Example_4.bat
Created November 25, 2014 00:18
Batch file sample to show how to create a file for capturing output, then append to that file.
@echo off
# Author: Rick Cogley
# Last Update: 1 Nov 2014
echo "== STARTING BATCH =="
echo "Results from %computername%:" > results.txt
echo "Pinging..." >> results.txt
ping www.esolia.com >> results.txt
echo. >> results.txt
echo "Running SET..." >> results.txt
set >> results.txt
@RickCogley
RickCogley / cogley fargo macro javascript for social URLs
Created November 28, 2014 11:31
Fargo Macro Javascript - gather social URLs
var socials = '';
socials += '<a class="aSocialMediaLink" id="idsocialFacebook" href="<%socialFacebook%>" target="_blank"><i class="fa fa-facebook"></i></a>';
socials += '<a class="aSocialMediaLink" id="idsocialTwitter" href="<%socialTwitter%>" target="_blank"><i class="fa fa-twitter"></i></a>';
socials += '<a class="aSocialMediaLink" id="idsocialLinkedin" href="<%socialLinkedin%>" target="_blank"><i class="fa fa-linkedin"></i></a>';
socials += '<a class="aSocialMediaLink" id="idsocialGithub" href="<%socialGithub%>" target="_blank"><i class="fa fa-github"></i></a>';
socials += '<a class="aSocialMediaLink" id="idsocialGoogleplus" href="<%socialGoogleplus%>" target="_blank"><i class="fa fa-google-plus"></i></a>';
socials += '<a class="aSocialMediaLink" id="idsocialFlickr" href="<%socialFlickr%>" target="_blank"><i class="fa fa-flickr"></i></a>';
socials += '<a class="aSocialMediaLink" id="idsocialInstagram" href="<%socialInstagram%>" target="_blank"><i class="fa fa-instagram"></i></a>';
socials += '<a
@RickCogley
RickCogley / Mac-Terminal-Killall-Finder-Dock-or-Menu-Cogley.sh
Last active August 29, 2015 14:10
Reset a crashed Mac OS X Finder, Dock or Menubar
killall -KILL Finder
killall -KILL Dock
killall -KILL SystemUIServer
@RickCogley
RickCogley / gist:f77931620b40c91b473f
Created December 23, 2014 14:27
Little Pork Chop Error On Settings 20141223
Can't access the outline at "http://little.porkchop.io/settings.opml" because the remote server didn't find it.
@RickCogley
RickCogley / 0_reuse_code.js
Last active August 29, 2015 14:12
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@RickCogley
RickCogley / javascript_resources.md
Last active August 29, 2015 14:12 — forked from jookyboi/javascript_resources.md
Here are a set of libraries, plugins and guides which may be useful to your Javascript coding.

Libraries

  • jQuery - The de-facto library for the modern age. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
  • Backbone - Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
  • AngularJS - Conventions based MVC framework for HTML5 apps.
  • Underscore - Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects.
  • lawnchair - Key/value store adapter for indexdb, localStorage
@RickCogley
RickCogley / css_resources.md
Last active August 29, 2015 14:12 — forked from jookyboi/css_resources.md
CSS libraries and guides to bring some order to the chaos.

Libraries

  • 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
  • Compass - Open source CSS Authoring Framework.
  • Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
  • Font Awesome - The iconic font designed for Bootstrap.
  • Zurb Foundation - Framework for writing responsive web sites.
  • SASS - CSS extension language which allows variables, mixins and rules nesting.
  • Skeleton - Boilerplate for responsive, mobile-friendly development.

Guides

@RickCogley
RickCogley / tags.txt
Last active August 29, 2015 14:12 — forked from amcgregor/tags.tsv
Bug
ffb8b8 ✘
fc4e4e ✘✘
red ✘✘✘
Feature
89f786 ✔