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
import sys | |
import time | |
#Deal with Python2 and Python3 inputs | |
def getInput(prompt): | |
if (sys.version[0] == "2"): | |
return raw_input(prompt) | |
else: | |
return input(prompt) |
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
=begin | |
author: eric-cc-su | |
Cumin (Cu)stom (min)ifier | |
This Ruby script/plugin is meant to minify files that should be minified prior to website deployment. | |
This plugin will ultimately support simple minification of javascript and css files. | |
This code is licensed under the MIT License (end of file) and under copyright by Eric Su |
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
=begin | |
RLAssembly | |
Author: eric-cc-su | |
RLAssembly (Reading List Assembly) is a command-line Ruby script to read an HTML or Markdown file of categorized links and convert it to JSON. (Because I'm lazy and automation is cool) | |
RLAssembly was conceived to be used alongside my GitHub Pages/Jekyll site to objectify a reading list of links to articles and websites. It is not currently (06/23/15) constructed as a Jekyll plugin. | |
View the README for instructions and formatting |
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
""" | |
author: eric-cc-su | |
This is a command line program that produces a popup with text of choice at given time inteval in seconds | |
(default: "Stand up and stretch!" every 60 minutes) | |
This code is under the MIT License (end of file) and copyrighted by Eric Su | |
""" | |
import argparse, os, sys, time, traceback |
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
=begin | |
Author: eric-cc-su | |
This is a Ruby script to add a custom variable for modification time to each post's front matter. | |
Currently not set up as a plugin, so this will need to be executed manually. | |
As long as the file modification time of the file matches up with the date of the post, the script | |
can add or change the mtime variable. | |
This code is licensed under the MIT License (end of file) and copyrighted by Eric Su |
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
=begin | |
author: eric-cc-su | |
This is a ruby script that automates Minddust's method to implement categories and tags for Jekyll generator, which conforms | |
to GitHub Pages' safe mode execution (no custom plugins are run by GitHub Pages serves) | |
Minddust's method: http://www.minddust.com/post/tags-and-categories-on-github-pages/ | |
This code is licensed under the MIT License (end of file) and under copyright by Eric Su | |
=end |