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
# Sourcecode | |
*.txt diff | |
*.cs diff | |
*.json diff | |
*.meta diff | |
*.xml diff | |
# 3D models | |
*.3dm filter=lfs diff=lfs merge=lfs -text | |
*.3ds filter=lfs diff=lfs merge=lfs -text | |
*.blend filter=lfs diff=lfs merge=lfs -text |
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 UnityEngine.TestTools; | |
using NUnit.Framework; | |
using System.Collections; | |
public class FontResizeTest { | |
[Test] | |
public void FontResizeTestSimplePasses() { | |
var settings = new TextGenerationSettings(); | |
settings.textAnchor = TextAnchor.MiddleLeft; |
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
Sequence toggleSequence = DOTween.Sequence().SetAutoKill(); | |
toggleSequence.AppendCallback(()=>{sectorGO.SetActive(true);}); | |
toggleSequence.AppendInterval(waitInterval); | |
toggleSequence.AppendCallback(()=>{sectorGO.SetActive(false);}); |
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
tell application "System Events" | |
tell process "Finder" | |
repeat 100 times | |
tell application "Finder" to open trash | |
tell application "Finder" to activate | |
key code 126 | |
key down command | |
key code 51 | |
key up command | |
delay 0.2 -- adjust delay as needed |
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
const functions = require('firebase-functions'); | |
const admin = require('firebase-admin'); | |
admin.initializeApp(functions.config().firebase); | |
const tournamentOffsetInDays = 172800000; | |
exports.updateTournamentDate = functions.https.onRequest((request, response) => { | |
var tournamentRef = admin.database().ref("currentTournament"); | |
var prevtournamentRef = admin.database().ref("prevTournament"); | |
var fakeusersRef = admin.database().ref("fake_users"); |
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 class WeightedSettings{ | |
public string key; | |
public float weight; | |
public float reward; | |
} | |
public static string WeightedRandom(this List<WeightedSettings> list){ | |
var totalChance = 0f; | |
foreach(var o in list){ | |
totalChance += o.weight; |
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
-> murder_scene | |
// | |
// System: items can have various states | |
// Some are general, some specific to particular items | |
// | |
LIST OffOn = off, on | |
LIST SeenUnseen = unseen, seen |
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
#!/bin/sh | |
id=? | |
start=100000000 | |
end=999999999 | |
for (( n=$start; n<$end; n++ )); do | |
if (curl -s https://vk.com/doc"$id"_"$n" | grep -q "msg_back_button"); | |
then | |
echo "$n" | tee grabber.out | |
else |
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
startup, version: 3114 osx x64 channel: stable | |
executable: /Applications/Sublime Text.app/Contents/MacOS/Sublime Text | |
working dir: / | |
packages path: /Users/xdegtyarev/Library/Application Support/Sublime Text 3/Packages | |
state path: /Users/xdegtyarev/Library/Application Support/Sublime Text 3/Local | |
zip path: /Applications/Sublime Text.app/Contents/MacOS/Packages | |
zip path: /Users/xdegtyarev/Library/Application Support/Sublime Text 3/Installed Packages | |
ignored_packages: ["Vintage"] | |
pre session restore time: 0.421281 | |
startup time: 0.471657 |
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
Shader "xdegtyarev/Alpha8MaxBlended" | |
{ | |
Properties | |
{ | |
_MainTex ("Alpha8", 2D) = "white" {} | |
} | |
SubShader | |
{ | |
Tags {"Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent"} |
NewerOlder