Skip to content

Instantly share code, notes, and snippets.

View devonzuegel's full-sized avatar
💖
I've gone to look for myself. If I return before I'm back, please ask me to wait

Devon Zuegel devonzuegel

💖
I've gone to look for myself. If I return before I'm back, please ask me to wait
View GitHub Profile
@devonzuegel
devonzuegel / index.html
Last active November 3, 2017 18:47
Tumblr theme — Idea Collector http://notes.devonzuegel.com/
<html>
<head>
<title>{Title}</title>
<meta name="description" content="{MetaDescription}" />
<link rel="shortcut icon" href="{Favicon}">
<link rel="alternate" type="application/rss+xml" href="{RSS}">
<link rel="stylesheet" href="http://static.tumblr.com/n0b6kem/qt2njxy0u/style.css" type="text/css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<meta name="color:Link Color" content="#505050"/>
<meta name="text:Twitter" content=""/>
@devonzuegel
devonzuegel / aliases.zsh
Last active December 31, 2020 01:01
ZSH Aliases
####################################################################################################
## ls ##############################################################################################
####################################################################################################
# # Flags:
# # -G: default colors, different for directories vs. files
# # -F: includes a trailing `/` at the end of directory names
# # -l: display long format (file types, permissions, number of hard
# # links, owner, group, size, last-modified date, and filename)
# # -t: sort the list of files by modification time
@devonzuegel
devonzuegel / AutoPep8.sublime-settings
Last active September 22, 2017 08:08
Sublime preferences
{
"format_on_save": false,
"max-line-length": 150,
"show_output_panel": false,
"syntax_list": ["Python"],
"file_menu_search_depth": 20 // max depth to search python files
}
{"lastUpload":"2018-01-03T09:10:20.634Z","extensionVersion":"v2.8.7"}
{
// ----------------------------------------------------------------------
// Auto Format on Save
// ----------------------------------------------------------------------
//
// @param {bool} "auto_format_on_save"
// @default false
//
// Whether or not to run the `js_prettier` command automatically
// on every file save.
{
test: /\.css$/,
rules: [
{
issuer: /\.js$/,
use: 'style-loader',
}, {
use: 'css-loader',
},
],
import inlineStyles from './styles?inline' // Will be loaded with url-loader
import externalStyles from './styles?external' // Will be loaded with file-loader
/** The following rules would make the above imports behave in different ways: **/
{
test: /\.css$/,
oneOf: [
{
resourceQuery: /inline/,
use: 'url-loader',
interface BaseRule {
enforce?: 'pre' | 'post';
test?: Condition | Condition[]; /** A condition that must be met */
exclude?: Condition | Condition[]; /** A condition that must not be met */
include?: Condition | Condition[]; /** A condition that must be met */
resource?: Condition | Condition[]; /** A Condition matched with the resource. */
issuer?: Condition | Condition[]; /** A condition matched with the issuer */
parser?: { [optName: string]: any };
rules?: Rule[]; /** An array of Rules that is also used when the Rule matches. */
{
test: /\.css\?inline$/,
use: ['url-loader'],
}, {
test: /\.css\?external$/,
use: ['file-loader'],
},
interface NewUseRule extends BaseRule {
test: Condition | Condition[]; /** A condition that must be met */
use: Loader | Loader[]; /** A loader or array of loaders */
}
type Rule = NewUseRule;