View rp-include-css.php
This file contains 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 | |
/* | |
Plugin Name: rp-include-css | |
Description: Include a custom CSS file at the bottom of the page | |
Text Domain: rp-include-css | |
Version: 1.0 | |
Author: Roger Pence | |
Author URI: rogerpence.dev | |
License: GPL2 | |
*/ |
View basic index.html for testing Tailwind
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Test Tailwind</title> | |
<link rel="stylesheet" href="/dist/css/tailwind.css"> | |
</head> |
View postcss.config.js
This file contains 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 autoprefixer = require('autoprefixer'); | |
const tailwindcss = require('tailwindcss') | |
module.exports = { | |
plugins: [ | |
tailwindcss, | |
autoprefixer, | |
], | |
}; |
View tailwind.main.css
This file contains 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
/*! purgecss start ignore */ | |
@import "tailwindcss/base"; | |
@import "./tailwind.base.css"; | |
@import "tailwindcss/components"; | |
@import "./tailwind.components.css"; | |
/*! purgecss end ignore */ | |
/* | |
Tailwindcss/utilities comprises more than 99% of Tailwind's raw output. |
View .gitignore
This file contains 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
###################### | |
# Python # | |
###################### | |
# Byte-compiled / optimized / DLL files | |
__pycache__/ | |
*.py[cod] | |
*$py.class | |
core/settings_*.py |
View main.py
This file contains 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
#!/usr/bin/env python | |
""" | |
"**Pycco**" is a Python port of [Docco](http://jashkenas.github.com/docco/): | |
the original quick-and-dirty, hundred-line-long, literate-programming-style | |
documentation generator. It produces HTML that displays your comments alongside | |
your code. Comments are passed through [Markdown][markdown] and | |
[SmartyPants][smartypants][^extensions], while code is passed through | |
[Pygments](http://pygments.org/) for syntax highlighting. | |
[markdown]: http://daringfireball.net/projects/markdown/syntax |
View gist:0bf4db96bc84d44b044617387334d709
This file contains 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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC22FESRx8JziP9G5QLOoFVr7dkpFllSu9MHIUtT7ZQ3N29HS14padubovrJ8WAR4m2cR9dK3eCAG+gkHQkvPCjyapIPE+l2l31znKd2QTlfx8QXYm4UtGBFsLLdZ8qbvo7vPpKoiTwCTXdqMRkwt74i0NaP1tTMLVYu9MFGIUbzuF7Do0LiBmmznv9d/yytl9GZ6kNhpBAMEk+HEKdrMOsivMBuT0zRpEEuYbG4VmElWBsHd/MrcTPD8Lu2yXHMIUL5dHfg+7PKrOVUPhWp9rUNy08GX8xcMPNjbRvzc3VH+0z47V/K5De/1TDME5KHvFObnD98gVWqGWKpuQKUSAt8l3ZP/IAsXQBShp09KvL+dRRQRagr5+lIzCs16AacnCj9ql06SbIhhd3RLLItmyIlqtUQbKrVIm2611PJC5cIU1y7l196msqHfsDT3bfAuttkpNVF6DQyaZM6oKxCzWFZBhvSuD4zxnlcgroMSFzE4W4Dx56eumDLXEzsVYNXopXqD60e6tG2rk1WZ/KIm/RV5a5dr1dVDxypdD4vDI2Mv08fy2X6KklZTAmbob6G5TFObsM2bLRBBnHa0kKuZYqLG3rQmjvA4k1AEprh+JZ8YI4DTc4IGnrBLARaVIAAnVnolAfFQZd3TXimGRD0QbT16zvEt31GBjqF2kcyvhRsQ== roger.pence@gmail.comCURL |
View yReveal.js
This file contains 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
var rp = rp || {}; | |
rp.YReveal = function(actionElemSelector, contentElemSelector, screenBreakpoint=0) { | |
const clicker = document.querySelector(actionElemSelector); | |
const elem = document.querySelector(contentElemSelector); | |
if (!clicker) { | |
throw('No action element to toggle show/hide found.'); | |
} |
View gist:69254d6f6f65e1d102341776ed4c86ed
This file contains 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
// Place your key bindings in this file to overwrite the defaults | |
[{ | |
"key": "alt+1", | |
"command": "-workbench.action.openEditorAtIndex1" | |
}, | |
{ | |
"key": "alt+1", | |
"command": "workbench.action.toggleSidebarVisibility" | |
}, | |
{ |
View .gitconfig
This file contains 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
[user] | |
name=Roger Pence | |
email=roger.pence@gmail.com | |
[credential] | |
helper = wincred | |
[http] | |
postBuffer = 524288000 | |
[alias] | |
undocommit = git reset --hard HEAD^ | |
cm = !git add -A && git commit -m |
NewerOlder