Skip to content

Instantly share code, notes, and snippets.

View zachinglis's full-sized avatar

Zach Inglis zachinglis

View GitHub Profile
@zachinglis
zachinglis / stylish.css
Created April 24, 2019 05:33
Stylish: Twitter Sidebar Remover
[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"] {
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)',
# 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 ->
<div>
<ul>
{% for item in site.data.navigation.navsecondary %}
<li>{{ item.title }}</li>
{% if item.subnav %}
<!-- This appears fine -->
$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
.panel {
// Base styles
&-important {
@extend .panel;
background: {
color: red;
}
}
@zachinglis
zachinglis / gist:9831849
Last active August 29, 2015 13:57
console.loge
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',
~/sites $ mv hybridconf hybrid-2013
~/sites $ mkdir hybridconf
@zachinglis
zachinglis / bio.md
Last active December 13, 2015 17:29 — forked from andrew/andrewnesbitt.jpeg

Andrew Nesbitt

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!

// 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