Skip to content

Instantly share code, notes, and snippets.

@xla
xla / file.rs
Last active March 6, 2019 14:28
for x in 0..map.width {
let entity = match map.tiles.get(&(x, y)) {
Some(entity) => *entity,
None => {
let entity = entities.create();
map.tiles.insert((x, y), entity);
entity
}
};
|> env LIBGL_DRIVERS_PATH=/usr/lib64/dri/ ./octopus_city_blues
./bin/octopus_engine: ./lib/libc.so.6: version `GLIBC_2.18' not found (required by /usr/lib/libstdc++.so.6)
|> env LIBGL_DRIVERS_PATH=/usr/lib64/dri/ ./octopus_city_blues
./bin/octopus_engine: relocation error: ./lib/libpthread.so.0: symbol h_errno version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference

Keybase proof

I hereby claim:

  • I am xla on github.
  • I am xla (https://keybase.io/xla) on keybase.
  • I have a public key ASDdLcwU9dCDf-n_zv0nW3e5yh4o0uk3165Q5CdGg8DgBwo

To claim this, I am signing this object:

@xla
xla / keybase.md
Last active April 25, 2018 14:32

Keybase proof

I hereby claim:

  • I am xla on github.
  • I am xla (https://keybase.io/xla) on keybase.
  • I have a public key ASANKMm8J4NExdB4qJbUUUwPhs4VPl4sxO7Nr7uqF55Nmwo

To claim this, I am signing this object:

require "formula"
class GoWeekly < Formula
url "http://go.googlecode.com/hg/", :revision => "weekly"
head "http://go.googlecode.com/hg/"
version "weekly"
homepage "http://golang.org"
skip_clean "bin"
@xla
xla / proxy.js
Created August 22, 2011 16:37
Proxy module used and written for the SoundCloud mobile project
/**
* module imports
*/
var _ = require('underscore')._;
var url = require('url');
var http = require('http');
var https = require('https');
/**
* module exports