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
{ | |
"eslint.enable": true, | |
"window.zoomLevel": 0, | |
"files.trimTrailingWhitespace": true, | |
"prettier.singleQuote": true, | |
"prettier.trailingComma": "es5", | |
"prettier.eslintIntegration": true, | |
"prettier.disableLanguages": [], | |
"eslint.autoFixOnSave": true, | |
"editor.insertSpaces": true, |
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
git fetch origin --prune | |
git branch -r | awk '{print $1}' | egrep -v -f /dev/fd/0 <(git branch -vv | grep origin) | awk '{print $1}' | xargs git branch -D |
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 strict"; | |
var lines = ["A", "B", "C", "D", "E", "F", "G", "H", "I"]; | |
function resolver(game) { | |
var t0 = performance.now(); | |
var solved = solveSudoku(convertToLineArray(game), 0, 0); | |
var t1 = performance.now(); | |
console.log("Call to solveSudoku took " + (t1 - t0) + " milliseconds."); | |
return solved; |
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
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class ObjectPooler : MonoBehaviour { | |
public static ObjectPooler SharedInstance; | |
public List<ObjectPoolItem> itemsToPool; | |
public List<GameObject> pooledObjects; | |