// Anti-circular reference formatter
const getCircularReplacer = () => {
const seen = new WeakSet();
return (key: any, value: any) => {
if (typeof value === "object" && value !== null) {
Use the above file, replacing...
{URL of shortener}
by the root URL where you have the shortener installed. For examplehttps://nlsn.cf/
{github token}
your github access token{repo}
by your username and repo in full. For examplenelsontky/gh-pages-url-shortener-db
ShareX Config.sxcu
is the default uploader and works with nelsontky's version.ShareX Config with name.sxcu
works with nelsontky/gh-pages-url-shortener#68.
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
document.getElementsByClassName('custom-options')[0].addEventListener('click', function() { | |
let lang = localStorage.getItem('lang'); | |
let greeting = document.getElementById('greetings'); | |
if (reg_name == 1) { | |
let span = document.getElementById('spanName'); | |
switch(lang) { | |
case "укр": | |
greeting.innerHTML = "Ласкаво просимо до<br>Gradder" + "<span id='spanName'>, " + firstName + "</span>"; | |
span.style.opacity = "1"; | |
break; |
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
0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000a 000b 000c 000d 000e 000f 0010 0011 0012 0013 0014 0015 0016 0017 0018 0019 001a 001b 001c 001d 001e 001f | |
0000 12 15 26 12 12 24 22 15 17 14 16 29 15 13 13 25 25 20 12 13 28 18 24 22 17 18 16 19 17 11 20 25 | |
0001 16 16 17 26 18 15 22 10 13 19 17 20 17 31 27 12 25 10 10 10 35 12 16 15 19 20 26 30 13 14 17 21 | |
0002 14 15 21 22 10 15 10 17 13 13 27 18 11 19 17 12 15 20 19 17 25 16 19 25 21 11 13 22 17 23 29 16 | |
0003 22 30 14 27 18 13 15 29 26 24 29 20 13 21 33 19 29 15 25 14 10 10 19 11 18 15 20 17 28 11 26 30 | |
0004 17 14 19 16 19 11 23 11 19 13 15 12 22 11 21 16 14 14 19 13 11 14 21 19 13 10 13 13 23 23 20 26 |
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
:- func main (i32, s*) = i32 | |
main := (argc, args) | |
System.Console.WriteLine("Hello, World.") |
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
//---------------------------------------------------------------------------\\ | |
// vim: ft=mercury ts=4 sw=4 et \\ | |
//---------------------------------------------------------------------------\\ | |
// Highlight with mercury for better looks \\ | |
:- import stdlib/io | |
:- func say_hello string = nothing | |
say_hello(name) = | |
write("Hello, " + name + "!") |
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
GD | |
GFCA+ | |
-Da+ | |
- | |
-BA | |
FDC+ | |
-cd | |
-FDBA | |
Hea+ | |
-BA+ |
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
when :playerJoin do |activity,player| | |
# Unlike Ruby, the `?` turns any datatype to a bool, depending on whether it has content | |
# False -> | |
# # 0, "", false, 0.0, [], {}, nil, undefined | |
# True -> | |
# # Everything else. | |
if player.meta.banned? == true | |
player.kick player.meta.banned | |
activity.cancel | |
else |
NewerOlder