Skip to content

Instantly share code, notes, and snippets.

John Bender johnbender

View GitHub Profile

Keybase proof

I hereby claim:

  • I am johnbender on github.
  • I am johnbender ( on keybase.
  • I have a public key whose fingerprint is 56AD FEE0 8B4D F194 1E76 DF77 5BFB 243D 5898 7620

To claim this, I am signing this object:

View gist:def97c0a69d39de08658
vagrant@vagrant-ubuntu-trusty-64:/vagrant/scratch/rstm$ ../goto-cc -o run.cpp -Iinclude
file /usr/include/c++/4.8/cstdlib line 178: parse error before `__int128 abs ( __int128'
file /usr/include/c++/4.8/cstdlib line 183: parse error before `} namespace __gnu_cxx {'
file /usr/include/c++/4.8/cstdlib line 236: parse error before `} namespace std {'
file /usr/include/c++/4.8/cstdlib line 254: parse error before `} typedef unsigned char'
file include/common/locks.hpp line 77: parse error before `: "memory" ) ;'
file /usr/lib/gcc/x86_64-linux-gnu/4.8/include/xmmintrin.h line 91: parse error before `0.0f , 0.0f ,'
file /usr/lib/gcc/x86_64-linux-gnu/4.8/include/xmmintrin.h line 92: parse error before `} extern __inline __m128'
file /usr/lib/gcc/x86_64-linux-gnu/4.8/include/xmmintrin.h line 102: parse error before `} extern __inline __m128'
file /usr/lib/gcc/x86_64-linux-gnu/4.8/include/xmmintrin.h line 108: parse error before `} extern __inline __m128'
View gist:f49457abfa0a21feff06
Sorry, doesn't handle recursion (function c::tmalloc_releaseAllReverse; .cpp) identifier not found
Sorry, doesn't handle recursion (.h)
View load_map.js
var map;
function load_map(){
if (GBrowserIsCompatible()) {
map = new GMap2(document.getElementById("map_div_12"));
map.setCenter(new GLatLng(40.73897,-74.033918),14);
//.. other map code here ..
View _map.html.erb
<%= :function => "load_map" %>
<%= :width => 550, :height => 300 %>
View loadMapOnPage.js
View PermissionObject.cs
private void Method1 (SPWeb web)
web.permissions = "full";
View some_controller.rb
class SomeController < ActionController::Base
before_filter :authenticate, :only => [:destroy]
def index
#index actions
def show
#index actions
View some_controller.cs
public class SomeController : IController
public override void Index()
//Index action
public override void Show()
You can’t perform that action at this time.