Skip to content

Instantly share code, notes, and snippets.

☂️
Waterproof

Seia Seia-Soto

☂️
Waterproof
Block or report user

Report or block Seia-Soto

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Seia-Soto
Seia-Soto / Kizuna AI statement.txt
Created Aug 16, 2019
Kizuna AI statement on August 16th, 2019.
View Kizuna AI statement.txt
Link to original twit: https://twitter.com/8AndAHalfTails/status/1162335355040931841?s=20
Pictures
-> https://pbs.twimg.com/media/ECFx1vLX4AAag4u.jpg
-> https://pbs.twimg.com/media/ECFx1vRXUAAb9QY.jpg
-> https://pbs.twimg.com/media/ECFx1vRW4AApaZY.jpg
<=== The contents below are re-typed with Grammarly(software). ===>
Right now, a lot of speculation and misinformation not based is circulating on the Internet.
@Seia-Soto
Seia-Soto / String.proto.bind.js
Created Jun 12, 2019
Simple binding function in JavaScript.
View String.proto.bind.js
String.prototype.bind = function(parameters) {
let text = this
let keys = text.match(/\{(.*?)\}/g)
if (!keys) return this
keys.forEach(key => {
const keyname = key.replace('{', '').replace('}', '')
text = text.replace(key, parameters[keyname] || '')
@Seia-Soto
Seia-Soto / deleteCache.js
Created Jun 3, 2018
Deleting cache of required file in NodeJS
View deleteCache.js
delete require.cache[require.resolve('./*')]
@Seia-Soto
Seia-Soto / md5.js
Last active Jun 14, 2019
MD5 Generation of string (Using UTF8 with HEX Encode)
View md5.js
Hash=function(string){function RotateLeft(lValue,iShiftBits){return(lValue<<iShiftBits)|(lValue>>>(32-iShiftBits));}
function AddUnsigned(lX,lY){let lX4,lY4,lX8,lY8,lResult;lX8=(lX&0x80000000);lY8=(lY&0x80000000);lX4=(lX&0x40000000);lY4=(lY&0x40000000);lResult=(lX&0x3FFFFFFF)+(lY&0x3FFFFFFF);if(lX4&lY4){return(lResult^0x80000000^lX8^lY8);}
if(lX4|lY4){if(lResult&0x40000000){return(lResult^0xC0000000^lX8^lY8);}else{return(lResult^0x40000000^lX8^lY8);}}else{return(lResult^lX8^lY8);}}
function F(x,y,z){return(x&y)|((~x)&z);}
function G(x,y,z){return(x&z)|(y&(~z));}
function H(x,y,z){return(x^y^z);}
function I(x,y,z){return(y^(x|(~z)));}
function FF(a,b,c,d,x,s,ac){a=AddUnsigned(a,AddUnsigned(AddUnsigned(F(b,c,d),x),ac));return AddUnsigned(RotateLeft(a,s),b);};function GG(a,b,c,d,x,s,ac){a=AddUnsigned(a,AddUnsigned(AddUnsigned(G(b,c,d),x),ac));return AddUnsigned(RotateLeft(a,s),b);};function HH(a,b,c,d,x,s,ac){a=AddUnsigned(a,AddUnsigned(AddUnsigned(H(b,c,d),x),ac));return AddUnsigned(RotateLeft(a,s),b);};functio
@Seia-Soto
Seia-Soto / Discord-markdown.txt
Last active Jun 3, 2018
Discord markdown table (raw)
View Discord-markdown.txt
*italics* ``` *italics* ```
**bold** ``` **bold** ```
***bold italics*** ``` ***bold italics*** ```
__underline__ ``` __underline__ ```
__*underline italics*__ ``` __*underline italics*__ ```
__**underline bold**__ ``` __**underline bold**__ ```
__**underline bold italics**__ ``` __***underline bold italics***___ ```
~~Strikethrough~~ ``` ~~Strikethrough~~ ```
\*\*Raw\*\*```\*\*Raw\*\*```
`Code` ``` `code` ```
@Seia-Soto
Seia-Soto / liardice.js
Created May 8, 2018 — forked from SacredPaladin/liardice.js
라이어 다이스 함수와 최종 순환
View liardice.js
let current_number
class Character_Data {
constructor() {
this.dice = []
this.dice_number = 5
}
}
const person = new Character_Data()
You can’t perform that action at this time.