Skip to content

Instantly share code, notes, and snippets.

View than's full-sized avatar
🥌

Than Tibbetts than

🥌
View GitHub Profile
No law, increasing the compensation for the services of the Senators and Representatives, shall take effect, until an election of Representatives shall have intervened.
@than
than / gist:5620830
Last active December 17, 2015 13:59
Open URL of Safari's active tab in Google Chrome
-- a quick and dirty way to open sites that require Flash in Google Chrome
-- "Going Flash-Free on Mac OS X, and How to Cheat When You Need It" ⇒ http://daringfireball.net/2010/11/flash_free_and_cheating_with_google_chrome
tell application "Safari"
set currentTab to current tab of front window
set currentURL to currentTab's URL
end tell
tell application "Google Chrome"
activate
if (count every window) = 0 then
make new window
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
// Simple, single configuration file to override almost all paths and server settings. As used by @airways
// and @litzinger.
// Only check in the default as dist.config.php, set your version control system to ignore config.php so that
// local users and each instance (staging, production) can have their own settings.
// These config files are mainly meant to be used on a shared development server used by all developers,
// although it works almost as well for local development as well.
@than
than / gist:3919174
Last active March 18, 2018 04:01
Put Simplenote in your Menubar – Fluid.app Userstyles
/* -------------------------------------------------
SIMPLENOTE IN YOUR MENUBAR / FLUID.APP USERSTYLES
Than Tibbetts
http://thanland.com/notes/put-simplenote-in-your-menubar-with-fluid
------------------------------------------------- */
.wrapper {
top: 20px !important;