Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Talasan Nicholson OutThisLife

🏠
Working from home
Block or report user

Report or block OutThisLife

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View classes.sass
@charset "UTF-8"
//
$medium: 64em
$small: 40.063em
// -----------------------------------------------
@function rem($size)
$remSize: $size / 16
@OutThisLife
OutThisLife / finviz_print.php
Last active Dec 21, 2015
print out all charts from a finviz chart screen page.
View finviz_print.php
<?php
/*
* Prints out all finviz charts from a specific screen.
*/
// -----------------------------------------------
libxml_use_internal_errors(1);
DEFINE('F_BASE', 'http://finviz.com/screener.ashx?v=212&f=cap_midover,fa_eps5years_o15,sh_avgvol_o750,ta_perf_52w20o&ft=4&ta=0&o=-volume&r=');
@OutThisLife
OutThisLife / nws_email.html
Last active Dec 25, 2015
HTML Email Boilerplate (Refactored)
View nws_email.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>REPLACE_ME</title>
<style>
/* HTML Email Reset */
@OutThisLife
OutThisLife / gravity-form.php
Last active Jan 24, 2020
Custom: Gravity Forms ajax submissions
View gravity-form.php
<?php
/**
* Simple file to help add manual entries to a gravity form, so we don't have to deal w/ GFs output.
*/
require_once $_SERVER['DOCUMENT_ROOT'] . '/wp/wp-load.php';
$data = $_REQUEST;
// -----------------------------------------------
View gulpfile-ex.coffee
gulp = require 'gulp'
gutil = require 'gulp-util'
watch = require 'gulp-watch'
sass = require 'gulp-sass'
coffee = require 'gulp-coffee'
imagemin = require 'gulp-imagemin'
minify = require 'gulp-minify-css'
uglify = require 'gulp-uglify'
View Gulpfile.coffee
source = require 'vinyl-source-stream'
buffer = require 'vinyl-buffer'
ftp = require 'vinyl-ftp'
rs = require 'run-sequence'
gulp = require 'gulp'
gulpif = require 'gulp-if'
sass = require 'gulp-sass'
gutil = require 'gulp-util'
notify = require 'gulp-notify'
@OutThisLife
OutThisLife / AnimateOut.js
Created Dec 22, 2016
Fix for iOS back/forward button when using CSS animations to load in and out the content.
View AnimateOut.js
const $container = document.getElementById('container')
window.onpageshow = (e) => e.persisted ? window.location.reload() : null
export default function(href) {
document.body.classList.remove('load-in')
document.body.classList.add('load-out')
;['animationend', 'webkitAnimationEnd'].map(evt => {
$container.addEventListener(evt, (e) => {
View sublimelinter.sublime-settings
{
"user": {
"debug": false,
"delay": 0,
"error_color": "D02000",
"gutter_theme": "Packages/Boxy Theme/extras/SublimeLinter/Boxy.gutter-theme",
"gutter_theme_excludes": [],
"lint_mode": "background",
"linters": {
"eslint": {
View A%20File%20Icon.sublime-settings
{
// A File Icon Preferences – User
// ================================================================
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
// ! PLEASE RESTART SUBLIME TEXT FOR THESE CHANGES TO TAKE EFFECT !
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
}
You can’t perform that action at this time.