Skip to content

Instantly share code, notes, and snippets.

Avatar
🌍
Working while traveling

Vincent Gschwend neonima

🌍
Working while traveling
View GitHub Profile
@neonima
neonima / igf.txt
Created Jan 20, 2020
IGF finalist descriptions
View igf.txt
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
View docker-compose.yaml
version: '2'
services:
web:
image: hjacobs/tiny-docker-http-test
restart: always
ports:
- 8080:8080
container_name: web
networks:
@neonima
neonima / api.yml
Last active Feb 3, 2018
Medium Simple JSON parsing with ansible
View api.yml
- 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:
View example.cs
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 / 0_reuse_code.js
Created Jan 11, 2017
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console