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
.mw-body { | |
background-color: #111; | |
color: #eee; | |
font-size: 1.2rem; | |
} | |
h1, | |
h2, | |
h3 { | |
color: #ddd; |
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
SetKeyDelay, 0 | |
SetMouseDelay, 0 | |
^c:: | |
Send {Shift down} | |
Click 872 599 | |
Sleep 30 | |
Click 1654, 607 | |
Send {Shift up} | |
return |
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 is a ModuleScript containing a single class, which you can require, | |
-- call .new(), and then call methods on the resulting object. | |
local Vector2 = {} | |
-- Setting __index to a table will cause missing keys in a table to redirect to the __index table. | |
-- We use this to redirect methods to the `Vector2` table. | |
Vector.__index = Vector2 | |
-- Any method with a . can be called on the class itself, such as `Vector2.new()`, `Vector2.fromDirectionMagnitude`. | |
function Vector2.new(x, y) |
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
jq .Classes[] as $class | $class.Members[].Name as $name | $name | select(test("Id")) | "\($class.Name).\($name)" | |
"Instance.GetDebugId" | |
"ABTestService.InitializeForUserId" | |
"Animation.AnimationId" | |
"AssetService.GetAssetIdsForPackage" | |
"BackpackItem.TextureId" | |
"CharacterMesh.BaseTextureId" | |
"CharacterMesh.MeshId" | |
"CharacterMesh.OverlayTextureId" |
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
#pragma once | |
#include <atomic> | |
#include <new> | |
#include <cstdio> | |
namespace ref_ptr { | |
template<typename T> | |
class ref_ptr; | |
template<typename T> |
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 floor = math.floor | |
local char = string.char | |
local function encodeBase64(str) | |
local out = {} | |
local nOut = 0 | |
local alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" | |
local strLen = #str | |
-- 3 octets become 4 hextets |
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
java.lang.StackOverflowError | |
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) | |
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) | |
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) | |
at java.base/java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:603) | |
at java.base/java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:678) | |
at java.base/java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:737) | |
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateParallel(ReduceOps.java:919) | |
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233) |
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
java.lang.StackOverflowError | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) | |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) | |
at java.lang.reflect.Constructor.newInstance(Unknown Source) | |
at java.util.concurrent.ForkJoinTask.getThrowableException(Unknown Source) | |
at java.util.concurrent.ForkJoinTask.reportException(Unknown Source) | |
at java.util.concurrent.ForkJoinTask.invoke(Unknown Source) | |
at java.util.stream.ReduceOps$ReduceOp.evaluateParallel(Unknown Source) | |
at java.util.stream.AbstractPipeline.evaluate(Unknown Source) |
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
pub struct Counter { | |
counter_label: WidgetElement, | |
container: WidgetElement, | |
child1: WidgetElement, | |
fragments: Vec<WidgetElement>, | |
} | |
impl Component<WidgetElement> for Counter { | |
type Props = (); |
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 some_crate::{UiElement, ListBox}; | |
#[derive(Clone)] | |
pub struct User { | |
name: String, | |
id: u64, | |
} | |
pub struct UserList { | |
container: UiElement, |