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
Johnson johnson = new Johnson(); | |
public static void onNotFocus(Student s){ | |
johnson.MoveTo(s); | |
johnson.tap(); | |
johnson.tap(); | |
johnson.tap(); | |
s.focus(); | |
} |
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 { User, TextChannel, Message, ReactionCollector } from "discord.js"; | |
class Paginator { | |
/** | |
* Current page | |
*/ | |
current: number; | |
/** | |
* Total pages | |
*/ |
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
/** An object with string keys and values */ | |
type StringOBJ = { [x: string]: string }; | |
/** Generate a JSON representation of a form */ | |
function generateJSONForm(form: HTMLFormElement): StringOBJ { | |
// Create empty object | |
let object = {} as StringOBJ; | |
// Loop through children | |
for (let elem of form.children) { |
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
/* | |
* DO NOT EDIT THIS FILE | |
* | |
* This file was generated using https://whsmc.github.io/GUIShopMinus | |
* and modifying this file may lead to data corruption or | |
* instability in the plugin | |
*/ | |
{ | |
"name": "&4SHOPNAMEHERE", |
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
Arguments: | |
/Users/DusterTheFirst/.nvm/versions/node/v12.0.0/bin/node /usr/local/lib/node_modules/yarn/lib/cli.js pack | |
PATH: | |
/usr/local/opt/curl/bin:/Users/DusterTheFirst/.nvm/versions/node/v12.0.0/bin:/usr/local/sbin:/opt/local/bin:/opt/local/sbin:/Users/DusterTheFirst/.cargo/bin:/Users/DusterTheFirst/.deno/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/apache-maven-3.6.0/bin:/usr/local/MacGPG2/bin:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Wireshark.app/Contents/MacOS:/Applications/Xamarin Workbooks.app/Contents/SharedSupport/path-bin:/usr/local/opt/curl/bin:/Users/DusterTheFirst/.nvm/versions/node/v12.0.0/bin:/usr/local/sbin:/opt/local/bin:/opt/local/sbin:/Users/DusterTheFirst/.cargo/bin:/Users/DusterTheFirst/.deno/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/Library/Frameworks/Python.framework/Versions/2.7 |
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
/*! | |
* Copyright (C) 2019 Zachary Kohnen | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is | |
* furnished to do so, subject to the following conditions: | |
* |
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
#!/bin/sh | |
# Place in /usr/share/lighttpd/ | |
FILENAME="/etc/lighttpd/localProxies.json" | |
cat $FILENAME\ | |
| jq 'to_entries[] | .key as $host | .value | to_entries[] | {host: "\(.key).\($ | |
| jq -r ' | |
"else $HTTP[\"host\"] == \"\(.host)\" { |
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
/*! | |
* Copyright (C) 2018-2020 Zachary Kohnen (DusterTheFirst) | |
*/ | |
/** A class to represent a color */ | |
export class Color { | |
/** The red component for the color */ | |
public r: number; | |
/** The green component for the color */ | |
public g: number; |
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
*.rkt |
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
Standard: Latest | |
BasedOnStyle: LLVM | |
IndentWidth: 4 | |
ColumnLimit: 0 | |
AccessModifierOffset: -2 | |
NamespaceIndentation: All | |
BreakBeforeBraces: Attach | |
IndentCaseLabels: true | |
FixNamespaceComments: false | |
AlignOperands: true |
OlderNewer