Skip to content

Instantly share code, notes, and snippets.

View neonima's full-sized avatar
🌊
Embracing the waves

Vincent Gschwend neonima

🌊
Embracing the waves
View GitHub Profile
@neonima
neonima / 0_reuse_code.js
Created January 11, 2017 07:23
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
public bool InstiantiationCheck(GameObject GO, out GameObject instGo)
{
instGo = null;
foreach (GameObject go in ObjectPoolList)
{
if ( !ReferenceEquals(GO.GetComponent<PooledObject>(), null) && go.GetComponent<PooledObject>().nbrRef == GO.GetComponent<PooledObject>().nbrRef || GO.name.Equals(go.name) )
{
instGo = go;
return true;
@neonima
neonima / api.yml
Last active February 3, 2018 15:56
Medium Simple JSON parsing with ansible
- name: Get Country code with freegeoip.net
uri:
url: http://freegeoip.net/json
method: GET
return_content: yes
validate_certs: no
register: country
failed_when: not (Country_Code|upper)|match((country.content|from_json)['country_code'])
- debug:
version: '2'
services:
web:
image: hjacobs/tiny-docker-http-test
restart: always
ports:
- 8080:8080
container_name: web
networks:
@neonima
neonima / igf.txt
Created January 20, 2020 11:31
IGF finalist descriptions
LOST AT SEA, 1803
the good ship
"OBRA DINN"
----------------
Built 1796, London ~ 800 tons, 18ft draught
Captain R. WITTEREL ~ Crew 51 men
Last voyage to Orient ~ Cape rendezvous unmet
----------------
Contact East India Cy. London Office
for enquiries or testimony