Skip to content

Instantly share code, notes, and snippets.

View cwparsons's full-sized avatar

cwparsons

View GitHub Profile
Name Year Date Watched
The Rookie 2002 2025-01-10
Elemental 2023 2024-08-19
Dune: Part Two 2024 2024-03-17
Barbie 2023 2024-03-14
Being John Malkovich 1999 2024-03-12
Knives Out 2019 2024-03-12
The Breakfast Club 1985 2024-03-12
Free Guy 2021 2024-03-11
The Iron Claw 2023 2024-03-10
.file-icon(@ext, @type: "png", @file: @ext) {
&[href*=".@{ext}"] {
background-image: url("/_layouts/15/images/ic@{file}.@{type}");
}
}
.hcf-file-icon {
background-position: 5px 1px;
background-repeat: no-repeat;
padding-left: 30px;
@cwparsons
cwparsons / 1_variables-colors.less
Last active August 29, 2015 14:25
LESS File Style Guide
/*! _variables-colors.less */
// Colors
@white: #fff;
@black: #000;
// Purple
@purple: #a5185a;
@cwparsons
cwparsons / movies.md
Last active August 29, 2015 14:23
Movies

Movies

00's Movies

Still to watch

  • The Prestige (2006)

90's Movies

/*!
* the-movie-spoiler.css
*/
/**
* Main
*/
body {
background-image: none;
//
// background-color-states A background color mixin for setting hover and active states
//
// @param {color} @base The base color for the element
// @param {color} @hover The hover color for the element
// @param {color} @active The active color for the element
//
.background-color-states(@base, @hover: softlight(@base, #444), @active: softlight(@hover, #222)) {
background-color: @base;
@cwparsons
cwparsons / sp-rte.less
Last active August 29, 2015 14:16
An organized version of SharePoint's out-of-the-box RTE classes
/**
* rte.css contains styles for rich text editor
*/
@prefix: ~"ex-rte"
/*#region $OOTB RTE */
/*#region $ELEMENTS */
@cwparsons
cwparsons / refressh-css.js
Last active August 29, 2015 14:09
Refresh CSS
javascript:(function(){var h,a,f;a=document.getElementsByTagName('link');for(h=0;h<a.length;h++){f=a[h];if(f.rel.toLowerCase().match(/stylesheet/)&&f.href){var g=f.href.replace(/(&|%5C?)forceReload=\d+/,'');f.href=g+(g.match(/\?/)?'&':'?')+'forceReload='+(new Date().valueOf())}}})()
@cwparsons
cwparsons / raw-git-bookmarklet.js
Created September 10, 2014 23:39
Raw Git Bookmarklet
(function() {
var files = document.querySelectorAll('.file');
for (var i = 0; i < files.length; i++) {
var url = files[i].querySelector('.raw-url');
var href = url.href;
href = href.replace('https://gist.github.com/', '//rawgit.com/');
var path = url.pathname.split('/');