Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| module ApplicationHelper | |
| # Shaun Inman's original Widon't | |
| # http://shauninman.com/archive/2006/08/22/widont_wordpress_plugin | |
| # | |
| # @param [String] text the text to apply Widon't to | |
| # @return [String] the text with Widon't applied | |
| def widont(text) | |
| text.strip! | |
| text[text.rindex(' '), 1] = ' ' if text.rindex(' ') |
| Copyright (c) 2011 ZURB, http://www.zurb.com/ |
| /* | |
| * base58.js | |
| * - encodes integers to and decodes from a base58 (or your own) base58 alphabet | |
| * - based on Flickr's url shortening | |
| * | |
| * usage: | |
| * base58.encode(integer); | |
| * base58.decode(string); | |
| * | |
| * (c) 2012 inflammable/raromachine |
| #!/usr/bin/env ruby | |
| # | |
| # [email protected] July 2012 | |
| # | |
| # I'm playing around with APIs, and sharing my learnings | |
| # You can follow my trials and tribulations at http://viewyonder.com/apis | |
| # | |
| # This is a simple Ruby script to show how a simple API might work. | |
| # The resource model is just a simple array of a single class - no back-end store (yet) | |
| # |
| % FontAwesome (http://fortawesome.github.com/Font-Awesome/) bindings for (Xe)LaTeX | |
| % Author: Honza Ustohal <[email protected]> | |
| % | |
| % Translation of FontAwesome's private range characters into XeTeX symbols. All icons are camel-cased and prefixed with 'fa', i.e. what was .icon-align-center the CSS version of FontAwesome becomes \faAlignCenter | |
| % This might be reworked into a full blown package in the near future | |
| % | |
| % Prerequisite: | |
| % XeLaTeX, FontAwesome installed as a system font accessible by XeLaTeX | |
| % | |
| % Usage: |
| #!/bin/sh | |
| mongo localhost:27017/mongo run_command.js | |
| mongo localhost:27018/mongo run_command.js | |
| mongo localhost:27019/mongo run_command.js | |
| # if you don't need connection infomation etc., use --quiet option. | |
| # http://www.mongodb.org/display/DOCS/--quiet |
| require 'pry' | |
| require 'watir-webdriver' | |
| include Selenium | |
| def capabilities | |
| opts = {:platform => :any, :javascript_enabled => true} | |
| capabilities = WebDriver::Remote::Capabilities.ie(opts) | |
| end | |
| def set_up_grid_browser |
| def local_driver | |
| Selenium::WebDriver.for(@browser.to_sym) | |
| end | |
| def iphone4_driver | |
| caps = Selenium::WebDriver::Remote::Capabilities.iphone | |
| caps.platform = 'Mac 10.6' | |
| caps.version = '4.3' | |
| Selenium::WebDriver.for( |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| ProjectM notes: | |
| Install JackOSX 0.90 beta 13 from: | |
| http://www.jackosx.com | |
| Install cmake using Homebrew | |
| Download Qt from: | |
| https://qt-project.org/downloads | |
| I used Qt4 and compiled it statically from source. Static building isn't necessary but made it (in some ways) easier to make a self-contained application. | |
| Download ProjectM source code from: | |
| https://sourceforge.net/projects/projectm/files/2.1.0/projectM-complete-2.1.0-Source.tar.gz/download |