This file contains hidden or 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
#if UNITY_EDITOR | |
using System.Collections; | |
using UnityEngine; | |
using UnityEngine.TestTools; | |
using System.Collections.Generic; | |
using NUnit.Framework; | |
using Firebase; |
This file contains hidden or 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
using UnityEngine; | |
using System.Collections; | |
using System.IO; | |
using System; | |
using System.Diagnostics; | |
using System.Text; | |
using System.Runtime.Serialization.Formatters.Binary; | |
using System.Security.Cryptography; | |
using ICSharpCode.SharpZipLib.Core; |
This file contains hidden or 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
/** | |
* @OnlyCurrentDoc | |
* | |
* The above comment directs Apps Script to limit the scope of file | |
* access for this add-on. It specifies that this add-on will only | |
* attempt to read or modify the files in which the add-on is used, | |
* and not all of the user's files. The authorization request message | |
* presented to users will reflect this limited scope. | |
*/ | |
This file contains hidden or 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
/** | |
* @OnlyCurrentDoc | |
* | |
* The above comment directs Apps Script to limit the scope of file | |
* access for this add-on. It specifies that this add-on will only | |
* attempt to read or modify the files in which the add-on is used, | |
* and not all of the user’s files. The authorization request message | |
* presented to users will reflect this limited scope. | |
*/ |
This file contains hidden or 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
function formatInkVN() { | |
var body = DocumentApp.getActiveDocument().getBody(); | |
//all text! | |
var allText = body.editAsText(); | |
var regexString = "^.*[ ]:[ ]"; | |
var rangeElement = allText.findText(regexString); | |
while (rangeElement != null) { | |
var matchedText = rangeElement.getElement().asText(); |
This file contains hidden or 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
URL=$1 | |
nslookup -type=SRV $URL | grep -Eo "service.*" | grep -Eo "[0-9]*[ ][^ ]*$" |
This file contains hidden or 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
CREATE OR REPLACE FUNCTION yourschema.randomBase32(length integer) | |
RETURNS text AS $$ | |
declare | |
chars text[] := '{2,3,4,5,6,7,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z}'; | |
result text := ''; | |
i integer := 0; | |
begin | |
if length < 0 then | |
raise exception 'Given length cannot be less than 0'; | |
end if; |
This file contains hidden or 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 static class IntToStringLookup { | |
/* | |
A Python program for you! | |
import sys | |
import math | |
k = 0 |
NewerOlder