Andrew is a full stack developer. He spends most of his days programming in Ruby, Node.js, contributing to open source projects and organising local developer user groups. He also aspires to one day take over the world with a fleet of JavaScript powered quadcopters. His nickanme is about guitars, not fishes!
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
[aria-label="Timeline: Your Home Timeline"] { | |
width: 500px; | |
} | |
[data-testid="sidebarColumn"] { | |
display: none; | |
position: absolute; | |
left: 0; | |
top: 0; | |
} | |
.r-1ye8kvj, [data-testid="primaryColumn"], [aria-label="Timeline: Your Home Timeline"] { |
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.exports = { | |
config: { | |
// default font size in pixels for all tabs | |
fontSize: 15, | |
// font family with optional fallbacks | |
fontFamily: '"Operator Mono SSm", Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace', | |
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk) | |
cursorColor: 'rgba(248,28,229,0.8)', |
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
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
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
<div> | |
<ul> | |
{% for item in site.data.navigation.navsecondary %} | |
<li>{{ item.title }}</li> | |
{% if item.subnav %} | |
<!-- This appears fine --> |
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
$list = $('.collections__list'); | |
$item = $list.find('.list__item--is-selected'); | |
$prev = $item.prev(); | |
if ($(window).width() < 700) { | |
// collections put whatever collection is selected at top of list on mobile | |
$list.prependTo('.collections__list'); | |
} | |
// collections put whatever collection is selected at top of list on mobile |
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
.panel { | |
// Base styles | |
&-important { | |
@extend .panel; | |
background: { | |
color: red; | |
} | |
} |
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
window.console.loge = function(msg) { | |
var gifs = [ | |
'http://d1e3ezyatlol8u.cloudfront.net/img/212/doge-wink-212.gif', | |
'http://d1e3ezyatlol8u.cloudfront.net/img/212/doge-shake-space-212.gif', | |
'http://d1e3ezyatlol8u.cloudfront.net/img/212/doge-peepers-212.gif', | |
'http://d1e3ezyatlol8u.cloudfront.net/img/212/doge-prizza-212.gif', | |
'http://d1e3ezyatlol8u.cloudfront.net/img/212/doge-hat-212.gif', | |
'http://d1e3ezyatlol8u.cloudfront.net/img/212/doge-gradient-212.gif', | |
'http://d1e3ezyatlol8u.cloudfront.net/img/212/doge-fat-212.gif', | |
'http://d1e3ezyatlol8u.cloudfront.net/img/212/doge-rainbow-212.gif', |
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
~/sites $ mv hybridconf hybrid-2013 | |
~/sites $ mkdir hybridconf |
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
// A very mini jQuery highsrc/lowsrc plugin | |
// | |
// By Zach Inglis (zachinglis.com) | |
// With credits to Ian Norton () | |
// | |
// Example: | |
// <img src="logo.png" highsrc="logo.svg" /> | |
// | |
jQuery(document).ready(function () { | |
// Retina Change |
NewerOlder