This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"color_scheme": "Packages/Color Scheme - Default/Blackboard.tmTheme", | |
"dictionary": "Packages/Language - English/en_GB.dic", | |
"font_face": "Monaco", | |
"font_size": 17.5, | |
"tab_size": 4, | |
"detect_indentation": false, | |
"translate_tabs_to_spaces": true, | |
"spell_check": true | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en-us" dir="ltr" class="no-js"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>CSS Flip Experiment</title> | |
<style type="text/css"> | |
.panel { | |
float: left; | |
width: 300px; | |
height: 300px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ENV['TARGET_ENV'] && ENV['http_proxy'] && !ENV['http_proxy'].empty? | |
proxy = URI.parse(ENV['http_proxy']) | |
if Capybara.current_session.driver.respond_to?('agent') # mechanize only | |
Capybara.current_session.driver.agent.set_proxy(proxy.host, proxy.port) | |
puts "Using proxy #{proxy.host} #{proxy.port} from env" | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Tabbable | |
def tagNames | |
['a', 'button', 'input', 'select', 'textarea', 'object'] | |
end | |
def selectors | |
['tabindex'] | |
end | |
def tabbableCssExpression |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
// include OAuth lib | |
require("OAuth.php"); | |
class yql_lib{ | |
function __construct(){ | |
// define your consumer key | |
$this->consumerKey = ""; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Yql extends Controller { | |
function __construct() | |
{ | |
parent::Controller(); | |
$this->load->library('yql_lib'); | |
} | |
NewerOlder