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
for (var count = 0; count < 3; count++) { | |
drawSnowflake('line');turnRight(90); | |
drawSnowflake('parallelogram');} |
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
for (var count = 0; count < 3; count++) { | |
drawSnowflake('line');turnRight(90); | |
drawSnowflake('parallelogram');} |
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
module.exports = [{ | |
entry: './app.scss', | |
output: { | |
// This is necessary for webpack to compile | |
// But we never use style-bundle.js | |
filename: 'style-bundle.js', | |
}, | |
module: { | |
rules: [{ | |
test: /\.scss$/, |
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
package frc.robot.utilities; | |
import edu.wpi.first.wpilibj.I2C; | |
public class FakeI2CBus extends I2C { | |
public FakeI2CBus(int address) { | |
super(I2C.Port.kOnboard, address); | |
} |
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
#include <lib.h> | |
#include <daemons.h> | |
#ifndef REQUIRE_QUESTING | |
#define REQUIRE_QUESTING 1 | |
#endif | |
inherit LIB_SENTIENT; | |
int hint; | |
int Advance(mixed arg); | |
mapping advancement, Levels; |
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
#include <lib.h> | |
#include <dirs.h> | |
#include <terrain_types.h> | |
#include <medium.h> | |
#include <virtual.h> | |
inherit LIB_VIRT_LAND; | |
static private int Xpos, Ypos; |
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 Discord = require("discord.js"); | |
const client = new Discord.Client(); | |
const VERSION = "0.10.5-beta.2"; | |
const config = require("./config.json"); | |
const roleName = config.modRole; | |
var prefix = config.prefix; | |
const got = require("got"); | |
//const music = require("discord.js-music"); | |
const noisyDebug = 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
public String notString(String str) { | |
// If the arg starts with not... (https://howtodoinjava.com/java/string/java-string-startswith-example/) | |
if (str.startsWith("not")) { | |
return str; | |
// Otherwise... | |
} else { | |
return "not " + str; | |
} | |
} |
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
public void buildLocations() { | |
for (LocationFactory factory : factories) { | |
Method[] methods = factory.getClass().getMethods(); | |
for (Method method : methods) { | |
try { | |
method.invoke(null); | |
} catch (Exception e) { | |
MessageQueue.add(e.getStackTrace().toString()); | |
} | |
} |
OlderNewer