This file contains 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
article { | |
border: none; | |
margin: 0 auto; | |
padding: 0; | |
} | |
.banner, .quotes, h1, .patron-count { | |
display: none; | |
} |
This file contains 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
var casper = require('casper').create({ | |
verbose: true, | |
logLevel: "debug", | |
viewportSize: { width: 1378, height: 768 }, //for real, my screen is like everyone else's! | |
pageSettings: { | |
loadImages: false, | |
loadPlugins: false, | |
//I'm using Chrome, I SWEAR | |
userAgent: "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36" | |
}, |
This file contains 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 | |
App::uses('Controller', 'Controller'); | |
class AppController extends Controller { | |
public $components = array( | |
'Auth' => array( | |
'authenticate' => array( | |
'FormValue' => array( | |
'field' => 'steam_id', | |
'userModel' => 'User' |
This file contains 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
/** Sass mixins to position stuff with transforms when they're available with Modernizr and with usual position values otherwise | |
* | |
* instead of writing `bottom: 7px`, just write `@include bottom(7px)` | |
**/ | |
@mixin __position($pos, $value) { | |
html.no-csstransforms & { | |
#{$pos}: $value; | |
} | |
html.csstransforms & { | |
@if $pos == right or $pos == bottom { |
This file contains 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
# search for the keyword under the scope on devdocs.io or google if language is not supposedly supported | |
# | |
# how to use: bind the "help_for_word" command to a keyboard shortcut | |
# put your cursor on the language keyword, function, ... you want info on | |
# trigger the command via the shortcut > devdocs or google is opened on your browser | |
# | |
# code is mostly http://dom111.co.uk/files/sublime/plugins/help_for_word.py | |
# modified to use devdocs.io as the main doc website | |
import sublime | |
import sublime_plugin |
NewerOlder