Skip to content

Instantly share code, notes, and snippets.

View johnbender's full-sized avatar

John Bender johnbender

View GitHub Profile
@johnbender
johnbender / keybase.md
Created June 4, 2014 16:59
keybase.md

Keybase proof

I hereby claim:

  • I am johnbender on github.
  • I am johnbender (https://keybase.io/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:

vagrant@vagrant-ubuntu-trusty-64:/vagrant/scratch/rstm$ ../goto-cc -o run.gb 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'
Sorry, doesn't handle recursion (function c::tmalloc_releaseAllReverse; .cpp) identifier not found
Sorry, doesn't handle recursion (.h)
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 ..
}
}
<%= map.map.to_html :function => "load_map" %>
<%= map.map.div :width => 550, :height => 300 %>
load_map();
$("map_div").show("slow");
//calls
Method1(webToPass);
Method2(listToPass);
//definition
private void Method1 (SPWeb web)
{
web.permissions = "full";
}
class SomeController < ActionController::Base
before_filter :authenticate, :only => [:destroy]
def index
#index actions
end
def show
#index actions
end
public class SomeController : IController
{
public override void Index()
{
//Index action
}
public override void Show()
{