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
/** | |
* CSS Percentage infographic | |
*/ | |
body{ | |
background: #fff; | |
font-size: 16px; | |
} |
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
/* Info block */ | |
body{ | |
background: #fff; | |
} | |
.info_graf{ | |
perspective: 500px; | |
perspective-origin-x: 0px; | |
display: inline-block; |
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
/* Info block */ | |
body{ | |
background: #fff; | |
} | |
.info_graf{ | |
perspective: 500px; | |
perspective-origin-x: 0px; | |
display: inline-block; |
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
/** | |
* Feature selector styled | |
*/ | |
body{ | |
background: #f3f3f3; | |
} | |
.feature-selector{ | |
position:relative; | |
box-shadow: 2px 2px 0px #5486AC;vertical-align: top;margin: 3px;display: inline-block !important;border-radius: 25px;padding: 0.5em;background: #7ABCED;clear: both;text-align: right; |
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
<section class="qty"> | |
<label>Quantity</label> | |
<input name="quantity" value="5"> | |
<div class="controls-wrapper"> | |
<a href="#" class="minus">-</a> | |
<a href="#" class="plus">+</a> | |
</div> | |
</section> |
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
[ | |
{ "keys": ["j", "k"], "command": "_enter_normal_mode", "args":{"mode":"mode_insert"}, "context":[{"key":"vi_insert_mode_aware"}]} | |
] |
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
Process: SpriteBuilder [23447] | |
Path: /Applications/SpriteBuilder.app/Contents/MacOS/SpriteBuilder | |
Identifier: SpriteBuilder | |
Version: 1.2.1 (1.2.1) | |
App Item ID: 784912885 | |
App External ID: 700852706 | |
Code Type: X86-64 (Native) | |
Parent Process: launchd [356] | |
Responsible: SpriteBuilder [23447] | |
User ID: 501 |
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
package com.bigbaddevil7.example; | |
import net.minecraft.init.Blocks; | |
import net.minecraft.init.Items; | |
import net.minecraft.item.ItemStack; | |
import cpw.mods.fml.common.Mod; | |
import cpw.mods.fml.common.Mod.EventHandler; | |
import cpw.mods.fml.common.event.FMLInitializationEvent; | |
import cpw.mods.fml.common.event.FMLPreInitializationEvent; | |
import cpw.mods.fml.common.registry.GameRegistry; |
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
# let emmet expand in mustache files (templates) | |
'atom-text-editor[data-grammar="text html mustache"]:not([mini])': | |
'tab': 'emmet:expand-abbreviation-with-tab' | |
# let emmet expand in javascript files ( good for templates ) | |
'atom-text-editor[data-grammar="text html javascript"]:not([mini])': | |
'tab': 'emmet:expand-abbreviation-with-tab' | |
# Bind 'j k' to switch to normal mode (vim-mode) | |
'atom-text-editor.vim-mode.insert-mode': |
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
function query() { | |
var | |
total = 0, shown = 0, | |
// HN is done with very unsemantic classes. | |
job_list = Array.prototype.slice.call(document.querySelectorAll('.c5a,.cae,.c00,.c9c,.cdd,.c73,.c88')), | |
query_list = Array.prototype.slice.call(arguments); | |
// This traverses up the dom stack trying to find a match of a specific class | |
function up_to(node, klass) { | |
if (node.className === klass) { |