Skip to content

Instantly share code, notes, and snippets.

View CodeDraken's full-sized avatar

CodeDraken

View GitHub Profile
@CodeDraken
CodeDraken / font_variables.scss
Created November 13, 2016 21:52 — forked from jacrook/font_variables.scss
Sass Css Font Stack Variables
//////////////////////////////////////////////////////////////
// Font Variables (http://cssfontstack.com/)
//////////////////////////////////////////////////////////////
//
// Serif font-stacks
//
$baskerville-font-stack: "Big Caslon", "Book Antiqua", "Palatino Linotype", Georgia, serif !default;
{
"ideas": [
{
"title": "Pomodoro Clock",
"description": "A timer with 25 minute work intervals. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet doloremagna aliquam erat volutpat.Ut wisi enim ad minim veniam,quis nostrud exerci tation ullamcorper suscipit lobortis nislut aliquip ex ea commodo consequat.Duis autem vel eum iriuredolor in hendrerit in vulputate velit esse molestie consequat,vel illum dolore eu feugiat nulla facilisis at vero eros etaccumsan et iusto odio dignissim qui blandit praesent luptatumzzril delenit augue duis dolore te feugait nulla facilisi.Nam liber tempor cum soluta nobis eleifend option conguenihil imperdiet doming id quod mazim placerat facer possimassum.Typi non habent claritatem insitam;est usus legentis in iis qui facit eorum claritatem.Investigationesdemonstraverunt lectores legere me lius quod ii legunt saepius.Claritas est etiam processus dynamicus,qui sequitur mutationemconsuetudium lectorum.Mirum
@CodeDraken
CodeDraken / SpotifyAdd.js
Last active March 8, 2017 20:40
Spotify Add / Favorite Script - use it in a playlist (like discover weekly) to add all songs to your collection
// Just press F12 in Chrome and paste code to console
// only works on pages that use .btn class only
var addButtons = document.querySelectorAll('tr:not(.added) .btn.btn-icon.btn-add:not(.added)');
for (var i=0; i<addButtons.length; i++) {
addButtons[i].click()
}
// or use this
function favoriteAll() {
console.log('favoriting all');
@CodeDraken
CodeDraken / cloudSettings
Last active January 6, 2019 05:20
Visual Studio Code Sync Settings Gist
{"lastUpload":"2019-01-06T05:20:54.591Z","extensionVersion":"v3.2.4"}
127.0.0.1 adclick.g.doublecklick.net
127.0.0.1 adeventtracker.spotify.com
127.0.0.1 ads-fa.spotify.com
127.0.0.1 analytics.spotify.com
127.0.0.1 audio2.spotify.com
127.0.0.1 b.scorecardresearch.com
127.0.0.1 bounceexchange.com
127.0.0.1 bs.serving-sys.com
127.0.0.1 content.bitsontherun.com
127.0.0.1 core.insightexpressai.com
Twitter
http://twitter.com/home?status=[TITLE]+[URL]
Digg
http://www.digg.com/submit?phase=2&url=[URL]&title=[TITLE]
Facebook
http://www.facebook.com/share.php?u=[URL]&title=[TITLE]
StumbleUpon
@CodeDraken
CodeDraken / README-Template.md
Created January 7, 2018 22:34 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Contributing

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

Please note we have a code of conduct, please follow it in all your interactions with the project.

Pull Request Process

  1. Ensure any install or build dependencies are removed before the end of the layer when doing a
@CodeDraken
CodeDraken / medium-premium-block
Created September 21, 2018 19:33
medium-premium-block
setInterval(() => {
let nodes = document.querySelectorAll('svg.dk.dl');
nodes.forEach(item => {
item.closest('div.o.ak').style.display = 'None';
});
}, 500)
setInterval(() => {
let nodes = document.querySelectorAll('svg.dm.dl');
@CodeDraken
CodeDraken / typeof.c
Created September 25, 2018 00:20
js-typeof-soruce
JS_PUBLIC_API(JSType)
JS_TypeOfValue(JSContext *cx, jsval v)
{
JSType type = JSTYPE_VOID;
JSObject *obj;
JSObjectOps *ops;
JSClass *clasp;
CHECK_REQUEST(cx);
if (JSVAL_IS_VOID(v)) { // (1)