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
<template> | |
<div>test</div> | |
</template> |
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
ERROR in ./public/scripts/display.js | |
Module not found: Error: Can't resolve 'test.js' in '/home/timothy/Projects/Tools/printmanager-2.0/public/scripts' | |
resolve 'test.js' in '/home/timothy/Projects/Tools/printmanager-2.0/public/scripts' | |
Parsed request is a module | |
using description file: /home/timothy/Projects/Tools/printmanager-2.0/package.json (relative path: ./public/scripts) | |
Field 'browser' doesn't contain a valid alias configuration | |
after using description file: /home/timothy/Projects/Tools/printmanager-2.0/package.json (relative path: ./public/scripts) | |
resolve as module | |
/home/timothy/Projects/Tools/printmanager-2.0/public/scripts/node_modules doesn't exist or is not a directory | |
/home/timothy/Projects/Tools/printmanager-2.0/public/node_modules doesn't exist or is not a directory |
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 path = require('path') | |
module.exports = { | |
entry: path.join(__dirname, 'public', 'scripts', 'display.js'), | |
output: { | |
path: path.join(__dirname, 'cache', 'scripts'), | |
publicPath: '/scripts/', | |
filename: 'display.js' | |
}, | |
module: { |
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
// ==UserScript== | |
// @name Full Textarea | |
// @namespace http://idioticdev.com | |
// @description Displays textareas in a lightbox. | |
// @include * | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
let areas = document.getElementsByTagName('textarea') | |
if (areas.length < 1) |
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 java.util.Queue; | |
/** | |
* Base class for all postfix elements. | |
*/ | |
public interface Element { | |
/** | |
* Resolves the element to a number pushing the result onto the stack. | |
*/ | |
public void resolve (Queue<Double> stack); |
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
require 'shellwords' | |
module Jekyll | |
class StylusConverter < Converter | |
safe true | |
def matches(ext) | |
ext =~ /\.styl/i | |
end |
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
// ==UserScript== | |
// @name Egg Napper | |
// @namespace idioticdev.com | |
// @include http*://dragcave.net/locations/* | |
// @grant none | |
// @version 1 | |
// ==/UserScript== | |
var SCROLL = true; | |
var ONLY_RARES = false; |
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
// ==UserScript== | |
// @name Sprouted Passwords | |
// @namespace http://idioticdev.com | |
// @description Generate and autofill passwords using that website's domain as the seed. | |
// @include * | |
// @version 1.3 | |
// @require http://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0/jquery.min.js | |
// @require http://cdnjs.cloudflare.com/ajax/libs/seedrandom/2.4.2/seedrandom.min.js | |
// @grant GM_registerMenuCommand | |
// ==/UserScript== |
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/python | |
import time, os, sys | |
# do the UNIX double-fork magic | |
pid = os.fork() | |
if pid > 0: | |
# parent process, exit | |
sleep(5) | |
sys.exit(0) |
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
## | |
# | |
# Cool things I made | |
# display-and-space | |
# Display command syntax from manfiles. | |
# | |
# spin-directory | |
# Loop through directory stack. | |
# | |
# Run previous command as root |