This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Discord Custom CSS | |
// @version 1.4 | |
// @author OleVik | |
// @include https://discordapp.com/* | |
// @include http://discordapp.com/* | |
// @exclude https://discordapp.com/invite/* | |
// @exclude http://discordapp.com/invite/* | |
// @exclude https://discordapp.com/oauth2/* | |
// @exclude http://discordapp.com/oauth2/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const gulp = require('gulp'), | |
sass = require('gulp-sass'), | |
gutil = require('gulp-util'), | |
plumber = require('gulp-plumber'), | |
rename = require('gulp-rename'), | |
minifyCSS = require('gulp-minify-css'), | |
prefixer = require('gulp-autoprefixer'), | |
connect = require('gulp-connect'), | |
modRewrite = require('connect-modrewrite'), | |
uncss = require('gulp-uncss'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@book{Boix1998, | |
title={Political parties, growth and equality: Conservative and social democratic economic strategies in the world economy}, | |
author={Boix, Carles}, | |
year={1998}, | |
publisher={Cambridge University Press} | |
} | |
@article{Hicks1988, | |
title={Social democratic corporatism and economic growth}, | |
author={Hicks, Alexander}, | |
journal={The Journal of Politics}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: Lorem Ipsum | |
author: Joe Schmoe | |
header_image: placeholder.jpg | |
taxonomy: | |
category: Featured | |
tag: [Something] | |
date: 31-05-2016 | |
--- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Grav Root and Unused | |
/*.* | |
!.gitignore | |
/assets | |
/backup | |
/bin | |
/cache | |
/images | |
/logs | |
/system |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Multisite setup for subsites accessible via sub-domains. | |
*/ | |
use Grav\Common\Utils; | |
// Get subsite name from sub-domain | |
$environment = isset($_SERVER['HTTP_HOST']) | |
? $_SERVER['HTTP_HOST'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var gulp = require('gulp'); | |
var gutil = require('gulp-util'); | |
var del = require('del'); | |
var debug = require('gulp-debug'); | |
var $ = require('gulp-load-plugins')(); | |
gulp.task('clean:pages', function() { | |
gutil.log('Deleting /pages/**/*', gutil.colors.magenta('123')); | |
return del([ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% macro img(file, base, caption="", sizes="100vw") %} | |
{% set filename = file|split('.') %} | |
{% set filenameext = "." ~ filename|last %} | |
{% set file = file|replace({(filenameext): ""}) %} | |
<img | |
src="{{ base }}/{{ file }}-320{{ filenameext }}" | |
srcset="{{ base }}/{{ file }}-320{{ filenameext }} 320w, | |
{{ base }}/{{ file }}-480{{ filenameext }} 480w, | |
{{ base }}/{{ file }}-640{{ filenameext }} 640w, | |
{{ base }}/{{ file }}-960{{ filenameext }} 960w, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@charset"UTF-8"; | |
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */ | |
/** | |
* 1. Set default font family to sans-serif. | |
* 2. Prevent iOS text size adjust after orientation change, without disabling | |
* user zoom. | |
*/ | |
html { |