Skip to content

Instantly share code, notes, and snippets.

@Crawleyprint
Crawleyprint / cloudSettings
Created May 22, 2018 08:01
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-05-22T08:00:19.887Z","extensionVersion":"v2.9.2"}
{
;; This is your main proton configuration file
;; While using proton, all atom related configuration has to go inside here
;; Everything that is not set up through this file will get wiped on start
;; We gave you some cool defaults below but if you don't like it, feel free to change :)
;; Layers you wish to have active
;; To get a list of all available layers, check github.com/dvcrn/proton/layers/
:layers
[

This regexp will go through your project and find all instances of Date object

(\.(get|set|to)(UTC|GMT|Locale)?(Date|Day|FullYear|Hours|Milliseconds|Minutes|Month|Seconds|Time|TimezoneOffset|String|Format|Source|JSON|ISO|Year)(.*)\(\)|Date\.(UTC|now|parse))|new\ Date\(

@Crawleyprint
Crawleyprint / 0_reuse_code.js
Created March 1, 2016 14:05
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
monitorEvents(document.getElementsByTagName(‘body’)[0], ‘mouse’)
@Crawleyprint
Crawleyprint / SassMeister-input-HTML.html
Created July 6, 2015 06:24
Generated by SassMeister.com.
<!--
Classess related to flexbox are grouped within [ and ] symbols.
These symbols' purpose is to make flex-related classes more visible
and they don't have any other significance and meaning.
-->
<!-- REGULAR FLEXBOX -->
<div class="container">
Regular flexbox
<div class="flex [ flex-block ]">
<div class="[ flex-item ]">
@Crawleyprint
Crawleyprint / SassMeister-input-HTML.html
Created June 29, 2015 08:53
Generated by SassMeister.com.
<!--
Classess related to flexbox are grouped within [ and ] symbols.
These symbols' purpose is to make flex-related classes more visible
and they don't have any other significance and meaning.
-->
<!-- REGULAR FLEXBOX -->
<div class="container">
Regular flexbox
<div class="flex [ flex-block ]">
<div class="[ flex-item ]">
@Crawleyprint
Crawleyprint / SassMeister-input-HTML.html
Last active August 29, 2015 14:23
Generated by SassMeister.com.
<!--
Classess related to flexbox are grouped within [ and ] symbols.
These symbols' purpose is to make flex-related classes more visible
and they don't have any other significance and meaning.
-->
<!-- REGULAR FLEXBOX -->
<div class="container">
Regular flexbox
<div class="flex [ flex-block ]">
<div class="[ flex-item ]">
@Crawleyprint
Crawleyprint / SassMeister-input-HTML.html
Created June 19, 2015 09:51
Generated by SassMeister.com.
<!-- REGULAR FLEXBOX -->
<div class="container">
Regular flexbox
<div class="flex flex-block">
<div class="flex-item u-1/5">
Flex item content 1
</div>
<div class="flex-item">
Flex item content 2
</div>
linters:
# Include one space before any ! and no spaces after it, with `!important` and
# `!default` declarations
BangFormat:
enabled: true
space_before_bang: true
space_after_bang: false
# 'border: none' is ok