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
"use strict"; | |
/* | |
npm install discord.js | |
make a file with config.json that looks like this | |
{ | |
"email": "botemail", | |
"password": "password" | |
} |
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
"use strict"; | |
/* | |
npm install discord.js | |
make a file with config.json that looks like this | |
{ | |
"email": "botemail", | |
"password": "password" | |
} |
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
/* | |
> - moves to the next index | |
< - moves to the previous index | |
+ - increases the current index's value by one | |
- - decreases the current index's value by one | |
. - prints the ascii character of the current index | |
, - takes an input of a single character and sets the current value to that character (doesn't print it tho) | |
[ - if the current value isn't 0, start loop. otherwise, go to ] | |
] - end of loop | |
*/ |
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
//written entirely by boyned | |
//doesnt take any inputs bc im using coderpad | |
#include <stdio.h> | |
#include <string.h> | |
#define TAPE_LEN 256 | |
#define ECHO_BEHAVIOR 0 //0 - ASCII (real bf), 1 - actual number | |
void brainfuck(const char* code){ |
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
extern crate regex; | |
extern crate serde_json; | |
extern crate walkdir; | |
use regex::Regex; | |
use serde_json::{ Value }; | |
use std::env; | |
use std::fs; | |
use std::path::Path; | |
use walkdir::WalkDir; |
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
extern crate walkdir; | |
use std::env; | |
use std::fs; | |
use std::path::Path; | |
use walkdir::WalkDir; | |
fn main() -> std::io::Result<()> { | |
println!("RbxSync -> Rojo name format"); |
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
use lazy_static::lazy_static; | |
use std::collections::{HashMap, HashSet}; | |
use std::env; | |
use std::fs; | |
use std::path::{Component, Path}; | |
use std::process; | |
use walkdir::WalkDir; | |
lazy_static! { | |
static ref SOURCE: &'static str = option_env!("SOURCE_LANGUAGE").unwrap_or("en-us"); |
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
local weakInstanceTable = {} | |
weakInstanceTable.__tostring = "<Weak Instance Table>" | |
function weakInstanceTable:__newindex(key, value) | |
assert(typeof(key) == "Instance", "keys need to be an Instance") | |
assert(key:IsDescendantOf(game), "key is not a descendant of the DataModel") | |
rawset(self, key, value) | |
key.AncestryChanged:connect(function() | |
if not key:IsDescendantOf(game) then |
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
local function curryWithNumberOfArgs(callback, numArgs) | |
local function curried(...) | |
local passedArgs = table.pack(...) | |
if passedArgs.n > numArgs then | |
error("too many arguments passed to curried function (called after already ran)") | |
elseif passedArgs.n == numArgs then | |
return callback(...) | |
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
# This file was @generated by generate-roblox-std at 2022-06-04 18:09:36.972430600 -07:00 | |
--- | |
base: lua51 | |
name: roblox | |
globals: | |
Axes.new: | |
args: | |
- type: "..." | |
BrickColor.Black: | |
args: [] |
OlderNewer