michaelfox + code   152

Kiln - Mercurial Version Control and Code Review Software from Fog Creek Software
Your Power Tools for Version Control and Code Review

Simplify your development workflow
Ship higher quality code
Understand your code's history
Integrate with FogBugz and other tools
No limits on repositories
bugtracking  codereview  hosting  mercurial  git  code  sourcecontrol  scm  bugs  tracking  tools  saas 
15 days ago by michaelfox
140byt.es
140byt.es is a tweet-sized, fork-to-play, community-curated collection of JavaScript

### How to play

1. Go to the master gist page, and click the button.
2. Modify all the files to according to the rules in the gist.
3. Save your entry and tweet it up!

Keep in mind that thanks to the awesome sensibilities of the GitHub team, gists are just repos. So feel free to clone yours and work locally for a more comfortable environment, and to allow commit messages.
code  javascript  reference 
22 days ago by michaelfox
Github Recommendation Service
see suggested repos (based on watcher relationships)
git  code  inspiration  discovery  github  browser 
february 2012 by michaelfox
Checkbox Hack ✿ dabblet.com
/* Checkbox Hack */

input[type=checkbox] {
position: absolute;
top: -9999px;
left: -9999px;
}
label {
-webkit-appearance: push-button;
-moz-appearance: button;
display: inline-block;
margin: 60px 0 10px 0;
cursor: pointer;
}

/* Default State */
div {
background: green;
width: 400px;
height: 100px;
line-height: 100px;
color: white;
text-align: center;
}

/* Toggled State */
input[type=checkbox]:checked ~ div {
background: red;
}
css  css3  form  checkbox  code  sample 
december 2011 by michaelfox
Practical PHP Patterns | Web Builder Zone
Basic
Domain Logic
Data Source
Object-Relational Behavior
Object-Relational Structure
Object-Relational Metadata
Web Presentation
Distribution patterns
Concurrency
Session State
Practical PHP Patterns: Visitor
php  patterns  architecture  code  bestpractices 
may 2011 by michaelfox
Zeon.js
Do want! @kuvos's text editor script for @jsprf. http://t.co/OOgWREE
code  javascript  analysis  from instapaper
may 2011 by michaelfox
Machx/Xcode-Keyboard-Shortcuts - GitHub
A Git Repo for storing the Xcode Keyboard Shortcuts as well as being able to keep track of forks
code  xcode  shortcuts 
april 2011 by michaelfox
Grapevine Message Aggregator - Home
Grapevine is a simple message aggregator. It works by feeding in messages from various sources such as Twitter and grouping them into topics. Then it will periodically send out a notification with the most popular topic. Once topics are sent out in a notification, they won't be sent out again for a specified time window.

Currently Grapevine supports:

Loading messages from Twitter.
Integration with GitHub for filtering trackbacks.
Sending notifications to Twitter accounts.
social  twitter  github  code  source  repos  inspiration 
march 2011 by michaelfox
Getting Started with HTML Emails | Nettuts+
HTML emails are a great way to keep clients posted on the latest updates related to your business or product, but they’re a bit tricky. CSS support in email clients is inconsistent. As a result, we must resort to ancient techniques, such as using tables, and inline CSS. Today, I’m going to walk you through the process of creating simple HTML emails.
Intro: HTML Email
As a freelance web developer, coding HTML emails are one of the more challenging tasks that I have to deal with. Fortunately, when one of my first clients asked me to design and code his email newsletter, he was patient enough to let me go through the long and frustrating process of figuring it all out. You might not be so lucky, so prepare yourself with this tutorial.
code  css  email  html 
january 2011 by michaelfox
Doug's AppleScripts for iTunes ♫ Missing Menu Commands
This is a list (a very subjective list) of scripts that perform tasks you may wish were actual iTunes Menu commands. Just copy and paste 'em to your AppleScript Editor and save to your iTunes Scripts folder...then add a Shortcut.

Optionally, you can click the mini-AppleScript Editor icon link beneath each snippet to open the script in AppleScript Editor on your computer. These links use URL Protocol Messaging to safely and securely send the contents of the script to your AppleScript Editor application.

12 Second Fade/Stop and Next Track
Artist to Album Artist
Choose Playlist
Current Track to (Select Playlist)
De-Shuffle All Playlists
Delete Selected Playlists
Eject iPods
Erase Bookmark
Jump to Playlist
Just Played These
Open iTunes Scripts folder
Play Random Playlist
Play Random Track of Random Playlist
Play Selected Track Once
Remove (Album Version)
Remove SOME TEXT From Names
Reset Start and Stop Times
Search Results to New Playlist
Selected Tracks to Current Playlist
Set Skipped Count/Skipped Date
Show Get Info Window of a Track's File
Skip Ahead n Seconds
Skip and Pretend We Played This
Super Shuffle
Toggle Checkmarks of Selected
Toggle Mute
View Current Playlist
Virgin Again
itunes  applescript  snippets  resources  code  source 
december 2010 by michaelfox
Doug's AppleScripts for iTunes ♫ Spare Parts
Selection Routines
Single Selected Track
Get a reference to a single selected track.
Each Selected Track
Get a list of references to each selected track.
Select Playing or Single Selected Track
Get a reference to the current track if player is paused or playing; otherwise, check for a single selected track.
Selected Tracks or Entire Playlist
Repeat with a reference to each of the selected tracks; or, if no tracks are selected, repeat with a reference for each track in the currently selected playlist.
Handlers
Is iTunes Running
Returns true or false.
Choose/Restore Encoder
Change encoders on-the-fly and restore Preferences-set encoder afterwards.
Nuke Track 1
Delete a track from iTunes entirely.
Nuke Track 2
Delete a track from iTunes entirely and delete its file immediately (and unrecoverably).
Nuke Track 3
Delete a track from iTunes entirely and move its file to the Trash.
text_to_list(), list_to_text(), replace_chars()
Frequently helpful text and list handlers.
Basic Idle Routine
Checks for new current track. Save as Stay-Open Application.
List Manually Managed iPods
Sets two corresponding lists to manually managed iPod names and source references
Export Artwork as File to Folder
Supply an iTunes track reference, path to folder as text, name of new file as text, and scale in pixels. NOTE: probably will not work with iTunes 9/Snow Leopard. See the slightly updated version below.
Export Artwork as File to Folder II
Supply an iTunes track reference, path to folder as text, name of new file as text, and scale in pixels.This version seems to work better in Snow Leopard with iTunes 9
Rating to Text Stars
Pass the value of a track’s rating property. Regretably, the chevrons in the Unicode do not translate into UPM so you’ll have to copy-and-paste this off the page.
itunes  applescript  snippets  resources  code  source 
december 2010 by michaelfox
Useful Linux commands for programmers? - Super User
am taking a test soon and I would like to know useful commands on Linux for a programmer. Some examples are string, strace, top, free, df, mount, cat, head, tail, whoami, touch. What are others?

I am a complete novice. Those are all the commands I know along with groupadd, useradd, chmod, chown, ls, rm, mkdir and echo. That is all I know.
bash  shell  commands  tools  resources  list    cli  development  linux  code  ssh  vim  man  find 
december 2010 by michaelfox
GNU cflow
GNU cflow analyzes a collection of C source files and prints a graph, charting control flow within the program.

GNU cflow is able to produce both direct and inverted flowgraphs for C sources. Optionally a cross-reference listing can be generated. Two output formats are implemented: POSIX and GNU (extended).

Input files can optionally be preprocessed before analyzing.

The package also provides Emacs major mode for examining the produced flowcharts in Emacs.

A sample of a direct flowchart is available online.
programming  c  tools  gnu  visualization  opensource  analysis  code  parser  documentation  source  development 
october 2010 by michaelfox
technoweenie's Profile - GitHub
technoweenie (rick)

* Gists
* Message
* Follow Unfollow

GitHub Role
Captain Ruby

Name
rick

Email
technoweenie@gmail.com

Website/Blog
http://techno-weenie.net

Company
Github

Location
portland

Member Since
Jan 13, 2008

* 92 public repos
* 1,246 followers

Following 11 coders and watching 200 repositories view all →

*
*
*
*
*
*
*
*
*
*
*
github  github.user  github.user.technoweenie  code  repository 
september 2010 by michaelfox
Git smart: How we're using Git to track our source code - (37signals)
What is Git?
Git is a directory content tracker (i.e. it lets you keep track of the contacts of directories as they change over time). It was developed originally by Linus Torvalds (creator of Linux) in 2005.

What do we use it for?
Until a couple of weeks ago, we were using Subversion for keeping track of our source code. We’re now about a third of the way into converting everything to git (a surprisingly straightforward process, thanks to the git-svn utility).

So git is our source code manager of preference these days. Whenever someone makes a change to one of our applications or dependencies, they check the change into the central repository via git, and the other developers can then merge those changes into their own repositories. Git makes much of this insanely easy, compared to Subversion.

Why do we like it?
Branching and merging are the features we originally fell in love with. Whenever we start development on a new feature, we create a “branch” of the code. Work done in this branch will not affect the “main” branch (called “trunk” in subversion, and “master” in git), so it is a good way to make significant changes without affecting what our users actually see.

Branching and merging in Subversion are painful. If you’ve never used it, you don’t know what I mean. If you have, you do. Branching and merging in git, though, are wonderfully, blissfully straightforward. For those two reasons alone git is worth the switch for us, though there are lots of other, more advanced, features we like about git, too (git-stash, git-bisect, etc.)

How can people learn more?
The learning curve is pretty hefty, especially if you start out thinking of it like “subversion-but-with-some-differences”. The best way to learn git is to forget everything you know about more traditional SCM’s and read through the various tutorials online. We’ve got a Backpack page where we’ve been accumulating various Git resources.
git  versioncontrol  development  svn  code  resources 
september 2010 by michaelfox
How to Create Perfect Pre Tags • Perishable Press
If you operate a website that features lots of code examples, you know how important it is to spend some quality time styling the <pre> element. When left unstyled, wild <pre> tags will mangle your preformatted content and destroy your site’s layout. Different browsers treat the <pre> tag quite differently, varying greatly in their default handling of font-sizing, scrollbar-rendering, and word-wrapping. Indeed, getting your preformatted code to look consistent, usable, and stylish across browsers is no easy task, but it certainly can be done. In this article, I’ll show you everything you need to create perfect <pre> tags.
html  code  pre  formatting  syntax  highlighting  source  blog  tutorial  howto 
august 2010 by michaelfox
« earlier      

related tags

*todo  accelerators  activerecord  advice  ajax  algorithms  align  amazon  analysis  animation  api  app  apple  applescript  architecture  array  art  asyoutype  automation  aws  backup  bash  BBEdit  beautifier  bestpractices  bitbucket  blog  book  bookmarklets  bookmarks  boxee  browser  bugs  bugtracking  buildsystems  c  calendar  calibre  carousel  center  centering  checkbox  checklist  chrome  class  clean  cleancode  cli  cloud  cocoa  coda  code  codecomplete  codehighlighter  codeigniter  codereview  codesniffer  coding  collaboration  collection  commands  commenting  communitywiki  compare  comparison  completion  composer  compression  console  convention  conventions  copyright  css  css3  ctags  curl  customevents  dashboard  data  database  date  datepicker  db  debug  debugging  decision  decompressor  definition  design  development  diff  discovery  docco  documentation  dom  download  ebooks  ec2  editor  email  emails  engine  enterprise  entities  environment  epub  escaping  event  example  examples  extension  extensions  ezsql  facebook  familytree  file  find  firebug  firefox  foobar  fork  form  format  formatter  formatting  forms  forum  framework  function  game  gamedev  games  geshi  gist  git  github  github-user  github.user  github.user.technoweenie  gnu  google  googlewave  graphics  greasemonkey  gui  hacks  help  hierarchy  highlight  highlighting  hinting  hosting  howto  html  html5  huffduffer  humor  ide  ids  ie  input  inspiration  inspiration:php  install  interface  ios  ipad  iphone  itunes  javascript  jquery  JSON  language  layout  libraries  library  license  licensing  linecount  links  linux  list  livevalidation  logging  logic  lorem  mac  macosx  macros  man  markdown  math  mercurial  message  metadata  metrics  minify  mootools  mouse  mp3  music  mysql  namespaces  node  nodejs  normalize  oauth  objective-c  objectivec  ondomready  oo  opensource  optimization  organization  orm  os  osx  parser  patterns  pcntl  performance  php  phpunit  pinboard  placeholder  plugin  plugins  podcast  popular  positioning  pre  prettifier  prettydate  prettyprint  print  programming  project  projects  quartz  quartzcomposer  R  rails  recursive  reddit  refactoring  reference  regex  regexp  repo  repos  repository  reset  resources  reusablecode  review  rights  row  ruby  rubycocoa  ruleengine  rules  saas  sample  scm  screensaver  script  scripts  scroll  search  security  server  setup  shell  shortcuts  showcase  sitemap  size  slideshow  snippet  snippets  snippits  social  software  source  sourcecontrol  spotlight  sprite  sql  ssh  standard  standards  statistics  string  style  styleguide  subversion  svn  syntax  table  table-cell  tabular  team  techniques  template  test  testing  text  textarea  textmate  threading  tidy  time  tips  tmbundle  toolkit  tools  tracking  tree  troubleshooting  tutorial  tutorials  twitter  ui  unit  unittest  unittesting  unix  unminify  urls  userscripts  utilities  utility  ux  versioncontrol  vertical  video  viewer  vim  visualization  wave  web  webapp  webdesign  webdev  webtool  widget  wiki  wordpress  workflow  xcode  xml  xsl  xslt  youtube   

Copy this bookmark:



description:


tags: