Skip to content

Instantly share code, notes, and snippets.

@ntwcklng
ntwcklng / changeFontOnLiveWebsite.js
Last active September 3, 2015 09:43
Try different Google Fonts on your (live) Website in seconds!
// Change the NEWFONT var to the Font you want to try out and paste this script into the console.
// Of Course your website needs to be fully loaded
// Type the font name without any special chars
// Example: "Varela Rond", "Open Sans", "Roboto", "Slabo 27px", ...
var NEWFONT = "Varela Round"; // Select any font from https://www.google.com/fonts
(function(d) {
var link = d.createElement("link");
@toolmantim
toolmantim / Makefile
Last active December 5, 2022 23:14
An example of using Make instead of Grunt for fast, simple and maintainable front-end asset compilation.
# A simple Makefile alternative to using Grunt for your static asset compilation
#
## Usage
#
# $ npm install
#
# And then you can run various commands:
#
# $ make # compile files that need compiling
# $ make clean all # remove target files and recompile from scratch