Skip to content

Instantly share code, notes, and snippets.

View derekbtw's full-sized avatar
🌎
Internet explorer

Derek Bytheway derekbtw

🌎
Internet explorer
View GitHub Profile
@derekbtw
derekbtw / _colors.scss
Last active March 5, 2019 13:38
CodyHouse Framework default colors as SCSS variables.
$color-primary-darker: #0940ae;
$color-primary-dark: #0c52df;
$color-primary: #2a6df4;
$color-primary-light: #5a8ef6;
$color-primary-lighter: #8baff9;
$color-accent-darker: #c70a1a;
$color-accent-dark: #f31224;
$color-accent: #f54251;
$color-accent-light: #f8727e;
// Red
//----------------------------------------
$red-50 = #ffebee
$red-100 = #ffcdd2
$red-200 = #ef9a9a
$red-300 = #e57373
$red-400 = #ef5350
$red-500 = #f44336
$red-600 = #e53935
$red-700 = #d32f2f
@derekbtw
derekbtw / chrome-shortcut.html
Last active May 19, 2018 23:46
Add this to end of website shorcut's [target] field to make it open in it's own frameless window.
--app=https://
@derekbtw
derekbtw / minimal-facebook.css
Last active December 24, 2018 00:22
Minimal (better) Facebook color palette. Also, it gets rid of a lot of clutter.
#homepage_panel_pagelet,
#pagelet_next_match,
#pagelet_trending_tags_and_topics,
#pagelet_video_home_watch_list_rhc,
#pagelet_ego_pane,
#pagelet_rhc_footer,
#pagelet_gaming_destination_rhc,
#pinnedNav,
#navItem_193356651002223,
@derekbtw
derekbtw / vue-js-cheatsheet.js
Created February 10, 2018 00:57
Vue.js Cheatsheet
/* *******************************************************************************************
* GLOBAL CONFIG
* Vue.config is an object containing Vue’s global configurations.
* You can modify its properties listed below before bootstrapping your application.
* https://vuejs.org/v2/api/#Global-Config
* ******************************************************************************************* */
// Configure whether to allow vue-devtools inspection
Vue.config.devtools = true
@derekbtw
derekbtw / README.txt
Last active December 24, 2017 20:18
Paste file into any folder to create Docusaurus app (Windows)
Checks to make sure you have Docusaurus installed, then if it finds it - initializes a new app for you in the current directory.
Then just run: $ yarn run start ((or)) $ npm run start
https://docusaurus.io/
https://github.com/facebook/Docusaurus
@derekbtw
derekbtw / blockstack_id.txt
Created November 6, 2017 17:13
Verifying my Blockstack ID is secured with the address
Verifying my Blockstack ID is secured with the address 1NDaGQHLTN59cwnf8UDCrrQsGzxwhJANwM https://explorer.blockstack.org/address/1NDaGQHLTN59cwnf8UDCrrQsGzxwhJANwM
@derekbtw
derekbtw / dbd0rsv.js
Created August 5, 2017 04:30
TYPING KlT
/*
* The Typekit service used to deliver this font or fonts for use on websites
* is provided by Adobe and is subject to these Terms of Use
* http://www.adobe.com/products/eulas/tou_typekit. For font license
* information, see the list below.
*
* acta-poster:
* - http://typekit.com/eulas/000000000000000000011c78
* lato:
* - http://typekit.com/eulas/00000000000000000001522d
@derekbtw
derekbtw / selector-hacks.css
Created July 29, 2017 00:17
CSS hacks for different browsers
/*---------- Selector Hacks ----------*/
/* IE6 and below */
* html #uno {
color: red;
}
/* IE7 */
*:first-child+html #dos {
color: red;
@derekbtw
derekbtw / create-pug-project.bat
Created June 23, 2017 00:22
Create Pug Project
cd projects
@echo off
COLOR 0A
set /p dname= New project name:
git clone https://github.com/sebastianperezperaza/gulp-pug-sass-autoprefixer-browser-sync.git %dname%
cd %dname%
yarn install
gulp