Skip to content

Instantly share code, notes, and snippets.


Daniel Marino starzonmyarmz

View GitHub Profile
View gist:278563
// Run via OS X to block junk tweets in Tweetie.
// Info:
defaults write com.atebits.tweetie-mac filterTerms -array "@gowalla" "" "@foursquare" "" "#followfriday"
starzonmyarmz / Skype_PanamericanaTheme_Mod.css
Created Nov 5, 2010
Modification to Skype 5.0 Beta Mac Panamericana Theme to make messaging text a little easier to read and scale.
View Skype_PanamericanaTheme_Mod.css
1. Goto applications folder and right-click (Control + click) the Skype icon and select "Show Package Contents"
2. Go to Content > Resources > ChatStyles > Panamericana.SkypeChatStyle and right-click (Control + click) the Skype icon and select "Show Package Contents"
3. Go to Content > Resources > css > main.css and replace the body {} styles with the below styles. Save the file.
4. Restart Skype
starzonmyarmz / RandomSiteColors.js
Created Jan 10, 2011
Function that picks a random hue for site colors on
View RandomSiteColors.js
(function colorScheme() {
var h = Math.floor(Math.random() * 360), // Hue
// Border Sides
sides = ["top", "right", "bottom", "left"],
// Elements
backgroundColor = ["#doily span", "#content h3", "nav h3", "#bg_color"],
color = ["a:not(#social a)", "#doily b"],
borderColor = ["#page_header", "#doily", "#content h3"],
// Misc Variables
a, i;
starzonmyarmz / grabby_css_override.css
Created Feb 10, 2011
Overrides the styles on - mostly it gets rid of the annoying sidebar with advertising
View grabby_css_override.css
/* Overrides the styles on
* Mostly it gets rid of the annoying sidebar with advertising */
#sidebar { display: none !important; }
#viewgrab { margin: 10px; }
View cramerdev-placeholder.html
<!DOCTYPE html>
<title>Cramer Development, Inc. - Web Development</title>
<meta charset="UTF-8" />
body { width: 80%; margin: 0 auto; text-align: center; background-color: #1A1A1A; }
div#main { margin-top: 300px; }
img { border: none; }
starzonmyarmz / grooveshark.css
Created Feb 21, 2011
Removes ads and displays application as full window
View grooveshark.css
#capital { display: none !important; }
#application { margin-right: 0 !important; }
starzonmyarmz / redmine_dotjs_script.js
Created Apr 11, 2011
Hacks/Mods to be applied to an installation of redmine using dotjs. Rename this file to your installation's url following dotjs's naming convention.
View redmine_dotjs_script.js
* I hate how the Issue Subject field has autocomplete turned on,
* but others at my place of employment don't share the same sentiments
* so this script will turn off autocomplete locally without modifying
* the code base.
(function noAutoComplete() {
document.getElementById("issue_subject").setAttribute("autocomplete", "off");
starzonmyarmz / js_dom.html
Created Jun 24, 2011 — forked from smith/js_dom.html
Get DOM Structure from BODY to clicked element
View js_dom.html
<!doctype html>
<html lang="en">
<!--[if lt IE 9]>
<script src=""></script>
starzonmyarmz / iOS_test.js
Created Aug 19, 2011
Test for iOS devices
View iOS_test.js
/* Test for iOS device, and insert class on body tag. You can't upload files
* on iOS devices, but you can on Android devices, so using mobile style sheets
* won't work for showing and hiding certain content during the sign up process. */
(function isIOS() {
if (/iPhone|iPod|iPad/i.test(navigator.userAgent)) {
} else {
View test.js
// Countdown Clock
function countdown(action) {
function countItDown() {
var cd = $('#countdown');
if (cd.val() > 0) {
cd.val(cd.val() - 1);
setTimeout(countItDown, 1000);
} else {