Skip to content

Instantly share code, notes, and snippets.

@samdenty
samdenty / README.MD
Last active November 11, 2021 04:57
VS Code CSS addition to increase readability on file tree.

How to install

Custom CSS plugin

Install the custom CSS plugin, then make a file on your computer that will hold your custom CSS, I like to make one in my home directory called ~/.vscodestyles.css and then add the CSS into it.

Once done, open your command palette and select enable custom CSS and JS

@hobbes78
hobbes78 / SinglePageRedirector.user.js
Last active June 24, 2016 15:33
Requests a single page news article instead of one split across several pages
// ==UserScript==
// @name Single page redirector
// @namespace https://gist.github.com/hobbes78/c9cbbc33aef6b6b8f84e
// @version 1.5
// @description enter something useful
// @author hobbes78
// @match http://*.publico.pt/*
// @match https://*.publico.pt/*
// @grant none
// @include http://*.publico.pt/*
@jshawl
jshawl / Gruntfile.js
Last active January 18, 2023 13:52
Grunt + Sass + Autoprefixer
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
sass: {
dist: {
options:{
style:'compressed'
},
files: {
'css/style.css' : 'scss/style.scss'
// Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible).
// Tweak the makePrettyJSON_ function to customize what kind of JSON to export.
var FORMAT_ONELINE = 'One-line';
var FORMAT_MULTILINE = 'Multi-line';
var FORMAT_PRETTY = 'Pretty';
var LANGUAGE_JS = 'JavaScript';
var LANGUAGE_PYTHON = 'Python';