Skip to content

Instantly share code, notes, and snippets.

View seanstickle's full-sized avatar

Seán Stickle seanstickle

View GitHub Profile
require "csv"
input = File.readlines(ARGV[0], chomp: true).map do |line|
line.split(/,/)
end
unique_elements = input.flatten.uniq.size
def merge(input)
data = input.clone
@seanstickle
seanstickle / salesforce-help-pages.css
Created March 6, 2019 15:14
SalesForce Help Pages
#div1, #div3, #switch, .footer {
display: none;
}
#box {
width: 100%;
}
.ht-slds #div2 {
max-width: 100%;
// ==UserScript==
// @name Fix Business VoiceEdge Dropdowns
// @namespace http://tampermonkey.net/
// @version 0.1
// @author Seán Stickle
// @match https://voiceedge.comcast.com/HuntGroup*
// @require http://code.jquery.com/jquery-3.3.1.min.js
// ==/UserScript==
(function() {
'use strict';
#!/usr/bin/env ruby
require "ruby-cbc"
require "csv"
wings = {
4 => 4.55,
5 => 5.70,
6 => 6.80,
7 => 7.95,
#
# CONFERENCE SCHEDULING
#
# Finds a solution to scheduling all the education
# sessions at the annual conference
#
/* Rooms, Days, Times */
set ROOMS;
set DAYS;

Tiny Content Framework

About the Project

This is a tiny content strategy framework focused on goals, messages, and branding. This is not a checklist. Use what you need and scrap the rest. Rewrite it or add to it. These topics should help you get to the bottom of things with clients and other people you work with.

Contribute

There’s more to come, and I’d love to hear what you think. Give me feedback on Twitter (@nicoleslaw) or by email (nicole@nicolefenton.com). We all benefit from sharing our ideas and creating standards. Onward.

#!/usr/bin/env bash
# -------------------------------------------------------------------
#
# DIRECTORY DESCENDING WORD LADDER
#
# -------------------------------------------------------------------
#
# (c) 2012 Sean Stickle, sean.stickle@gmail.com
#
U1=%q{M_]C_X``02D9)1@`!`@$!+`$L``#_X0?M17AI9@``34T`*@````@`!P$2``,`
M```!``$```$:``4````!````8@$;``4````!````:@$H``,````!``(```$Q
M``(````4````<@$R``(````4````AH=I``0````!````G````,@```$L````
M`0```2P````!061O8F4@4&AO=&]S:&]P(#<N,``R,#$R.C$Q.C`V(#(S.C0U
M.C0Q``````.@`0`#`````0`!``"@`@`$`````0```#N@`P`$`````0```"T`
M````````!@$#``,````!``8```$:``4````!```!%@$;``4````!```!'@$H
M``,````!``(```(!``0````!```!)@("``0````!```&OP````````!(````
M`0```$@````!_]C_X``02D9)1@`!`@$`2`!(``#_[0`,061O8F5?0TT``?_N
M``Y!9&]B90!D@`````'_VP"$``P("`@)"`P)"0P1"PH+$14/#`P/%1@3$Q43
M$Q@1#`P,#`P,$0P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P!#0L+#0X-
a.resource_sets.reduce({}) do |a, x|
a[x.key] = { id: x.resource.id, url: x.resource.url }; a
end
@seanstickle
seanstickle / README.txt
Created June 4, 2012 18:02 — forked from RichardBronosky/README.txt
Apache mod_rewrite unit tests
ReUnit - Unit tests for HTTP Redirects.
# ATTENTION: Please do not think badly of me for this code!
# I REALLY WANT TO REDO THIS IN PYTHON AND USE YAML!!!
# It started out as a oneliner! https://gist.github.com/1158733/2f9aa7e2db9ccfbda4669c2102daebacf8a04284#L6
Contents:
reunit.sh - This is the main script and the purpose of this repo. It reads a text file full of tests.
tests.txt - This holds the tests that will be run. It's format is Identical to the output of reunit.sh an urltest
urltest - This is the test utility used by reunit.sh. It was extracted into an executable so that it could be used for single tests or creating entries for tests.txt