michaelfox + hacks   89

Set the DNS server under OS X - Stack Overflow
domain> <1.Nameserver> [2.Nameserver]"
echo "Example
dns  osx  shell  environment  hacks 
september 2011 by michaelfox
Unreleased stuff... — Gist
This list will hopefully shrink faster than it can grow. (yeah, right)

## jQuery

jQuery deparam / deparam+ / sortObject (WIP)
<https://gist.github.com/1025817>

jQuery infiniteScroller (WIP)

jQuery scrollinout event
<http://benalman.com/code/projects/jquery-scrollinout/examples/scrollinout/>

jQuery Sphere 3D
<http://benalman.com/code/projects/jquery-sphere3d/examples/flickr/>

jQuery Farthest Decendant: Dedicated to [Kris Borchers](http://twitter.com/rewardjs/status/75843907744833536)
<https://gist.github.com/1003361>

jQuery Data+: a new signature to allow easy initializing/getting of a per-element "state object"
<https://gist.github.com/979530>

jQuery Detach+: Improve .detach to allow optional reattaching!
<https://gist.github.com/978520>

jQuery Random: Add an "element of surprise" into the chain!
<https://gist.github.com/964822>

Like jQuery's .one but runs only once, across multiple elements and/or event types.
<https://gist.github.com/894952>

jQuery seq: execute code sequentially, for each selected element.
<https://gist.github.com/850322>

jQuery Floating Scrollbar
<https://gist.github.com/846423>

jQuery Widget Bootstrap: Experimenting with loading widgets that are dependent on jQuery...
<https://gist.github.com/816746>

jQuery htmlDoc "fixer" - get HTML, HEAD, BODY in your $(html)
<https://gist.github.com/742952>

jQuery nodetype filter: Filter the selected elements by nodeType
<https://gist.github.com/705550>

jQuery Tiny Pub/Sub: A really, really, REALLY tiny pub/sub implementation for jQuery.
<https://gist.github.com/661855/c119783954e1b10551c4afef53b2c04fefcb7465>

jQuery log selector: See what your selectors are selecting!
<https://gist.github.com/640714>

jQuery queueFn
<https://gist.github.com/36f3be40777bd70706b9>
<https://gist.github.com/330793>

jQuery liveOne: The power of .live and .one, together at last!
<https://gist.github.com/500667>

jQuery bindAndTrigger: Bind an event handler and fire it immediately
<https://gist.github.com/385142>

jQuery scrollable selector
<https://gist.github.com/331331>

## JavaScript

JavaScript: What's New? List properties that have been added to an object between a starting and ending point.
<https://gist.github.com/1027709>

Small Walker: A small and simple JavaScript DOM walker
<https://gist.github.com/958000>

JavaScript detach: detach a node from the DOM, optionally reattaching it when done.
<https://gist.github.com/938767>

JavaScript Curry
<https://gist.github.com/721002>

whatevCache: a simple localStorage-if-you-got-it, otherwise not-at-all-persistent data object cache.
<https://gist.github.com/658526>

postMessage detector
<https://gist.github.com/581030>

isSemVer - semantic version comparison for JavaScript
<https://gist.github.com/566233>

## Ruby

Gaucho (WIP)

Ruby: Clone Yer GitHub Repos, Fast!
<https://gist.github.com/916434>

Ruby: Unindent arbitrarily-indented heredocs
<https://gist.github.com/826577>

## Applescript

Finder Open iTerm Here
<https://gist.github.com/905546>

## Bash

Multi-Firefox Fixer: Run multiple versions of Firefox simultaneously!
<https://gist.github.com/868662>

## Articles

What results can you get just using these characters: +[]
<https://gist.github.com/984932>

JavaScript: A few ways to work around the lack of `this` propagation in inner functions
<https://gist.github.com/980016>

JavaScript var indenting thoughts.
<https://gist.github.com/946689>

jQuery.sub() "module-specific jQuery extensions" usage example for jQuery 1.5+
<https://gist.github.com/804811>

What == what?
<https://gist.github.com/1036978>
jquery  javascript  reference  resources  plugins  snippets  hacks  tutorials  tools  utility  github  github-gist  user:cowboy 
june 2011 by michaelfox
Editing the Quicksilver Shelf | russds.com
I’ve had various issues trying to edit the shelf in quicksilver. Some say to invoke QS, go to the shelf, then drag the item to the trash. This never seemed to work for me, so I sought out a better way. Here are two of them:

1. Invoke Quicksilver, then hit Command+Option+S. From there you can select the item you want to delete and then hit Delete or Backspace.
2. Edit the file: ~/Library/Application Support/Quicksilver/Shelves/General.qsshelf
quicksilver  shelf  tools  resources  hacks  fixes  reference  howto 
november 2010 by michaelfox
Abracode Shortcuts
Abracode
Website: http://www.abracode.com/free/cmworkshop/

What is it?
Shortcuts is a Mac OS X application to assign hot keys to contextual menu items. It works only with menu items added by contextual menu plug-ins. Version 2.0 also allows you to display a menu with items added by CM plug-ins.

Requirements
Mac OS 10.5 or higher.
Some useful contextual menu plug-ins highly recommended.
In Mac OS 10.6 Shortcuts is the only method to use contextual menu plug-ins in 64 bit applications.

Introduction
Ever wanted to assign a hot key combination to contextual menu item? "Shortcuts" is the answer. It allows you to assign a hot key combination to chosen menu item so you can select some object (file in Finder or text) and hit keyboard combination to execute the task normally performed by choosing that menu item.
Shortcuts works with contextual menu plug-ins only. It does not work with menu items added by the application which shows the menu. For example, when you ctrl-click on Desktop in Finder you have "New Folder" and other items added by Finder. You cannot assign shortcuts to those items. But the same contextual menu also shows some items added by plug-ins — in default Mac OS 10.4 installation it would see Automator and folder actions items which are added by Apple-provided plug-ins — and you can assign shortcuts to those items. Of course you probably need to have some third party contextual menu plug-ins installed to make good use of "Shortcuts". But even if you used it only for one frequently used item it would be worth installing and getting the benefits of much faster execution.
Unfortunately not all contextual menu plug-ins will work with "Shortcuts". Only contextual menu items which play by the rules will work. So what are the rules? The rules are: when the context information (selected text of file information) is passed to the contextual menu plug-in, it should advertise available commands by returning the menu item name. It seems obvious but some plug-ins do it in a different way. They do not provide the names of their contextual menu items when asked and they try to add those items to menu later. You will not be able assign shortcuts to those items because in most cases they will not show up at all when "Shortcuts" tries to query all plugins. Another class of problematic plug-ins are those which restrict their visibility to certain applications only — for example some plug-ins may show only in Finder. In such case "Shortcuts" will not see their items.
extension  gui  keyboard  mac  shortcuts  environment  osx  hacks  context 
november 2010 by michaelfox
OnMyCommand
OnMyCommand is a UNIX shell script and AppleScript executor. You can build your own Contextual Menu Item or GUI application.
For more information on building command descriptions see Command Description Manual.
Sources are included with Contextual Menu Workshop. Newest sources are available on request.
applescript  mac  osx  software  unix  bash  shell  context  menu  tools  plugins  development  environment  programming  productivity  hacks 
november 2010 by michaelfox
/* Position Is Everything */ — Modern browser bugs explained in detail!
I'm Big John, and here I attempt to describe and demonstrate some of the bugs found in web browsers, and to show advanced CSS methods that work across all browsers.
css  reference  ie  browsers  resources  positioning  layout  hacks 
august 2010 by michaelfox
Panopticlick | How Unique - and trackable - is your browser?
Is your browser configuration rare or unique? If so, web sites may be able to track you, even if you limit or disable cookies.

Panopticlick tests your browser to see how unique it is based on the information it will share with sites it visits. Click below and you will be given a uniqueness score, letting you see how easily identifiable you might be as you surf the web.

Only anonymous data will be collected by this site.
privacy  security  browser  tracking  fingerprint  user  unique  analytics  sniffing  tools  tests  detection  hacks 
may 2010 by michaelfox
28 Coolest Firefox About:Config Tricks :Stupid Site
You may have installed countless add-on in Firefox to enhance your using experience, but if you want to get the most out of Firefox, you really have to hack your way into the about:config.
about:config  mozilla  firefox  customization  tweak  hacks  settings  config 
november 2009 by michaelfox
Main / Howtos — TextMate Wiki
- Before: Do Nothing - Command: grep -n '^[[:space:]]*\(public\|private\|protected\)\?\([[:space:]]\+static\| [[:space:]]\+abstract\)\?[[:space:]]\+function' - Std In: Entire Document - Std out: Show in separate win - Pattern: ^(\d+):\s(public|private|pro
textmate  tips  *todo  hacks 
september 2007 by michaelfox
« earlier      

related tags

*todo  about:config  addons  advanced  align  amazon  analytics  api  apple  applescript  appletv  apps  arduino  autocomplete  automation  bash  bestpractices  bindings  blog  boxee  browser  browsers  bugs  center  centering  character  characters  cheatsheet  chrome  cli  code  codeigniter  collection  colors  commands  communitywiki  config  configuration  context  crack  crossbrowser  css  css3  cursor  customization  dashboard  db  defaults  delicious  design  detection  development  divx  diy  dns  dock  dom  dotjs  download  dropbox  dvd  DVR  ebooks  editor  education  electronics  emacs  email  environment  escape  explanation  extension  extensions  Facebook  fade  fadeoutbottom  features  filters  finder  fingerprint  firefox  fitbit  fixes  framework  frontrow  gist  git  github  github-gist  gmail  google  googleanalytics  greasemonkey  growl  gui  hacks  hdd  headers  helpdesk  hidden  hotkey  howto  html  htpc  http  icons  ie  ie6  ie7  ie8  images  inactive  include  inspiration  install  interesting  iphone  isight  itunes  javascript  jquery  key  keybindings  keyboard  keyboardshortcuts  kindle  layout  leopard  lib  library  linux  lion  loop  mac  magazine  mail  maker  mashup  math  media  menu  microsoft  mobi  mobile  mouse  movies  mozilla  music  myspace  mysql  navigation  network  networking  numbers  organization  osx  pages  parts  password  pastie  pastie-325104  performance  php  pinbaord  plugin  plugins  positioning  poweruser  prime  privacy  productivity  profiles  programming  prompt  pseudoselectors  python  quantifiedself  quicksilver  rar  recent  reference  regex  registry  resources  reuse  safari  scirpts  script  scripting  scripts  se  search  security  server  serverfault  services  settings  setup  shelf  shell  shortcuts  signature  sniffing  snippets  software  speed  spotify  spotlight  ssh  stackoverflow  stacks  store  styling  sublime  suggest  sustainable  symbol  sync  synchronization  sysadmin  table-cell  target  technology  templates  terminal  tests  textmate  themes  tip  tips  tools  tracking  transclusion  transmission  trick  tricks  tutorial  tutorials  tv  tweak  tweaks  twitter  ui  ultimatebuild  unicode  unique  unix  urls  user  user:cowboy  userscripts  userstyles  utilities  utility  utils  vertical  video  web  webdesign  webdev  wget  wifi  wiki  window  windows  wordpress  workaround  yahoo.pipes  zsh 

Copy this bookmark:



description:


tags: