Skip to content

Instantly share code, notes, and snippets.

View theSociableme's full-sized avatar

Mark Wagner theSociableme

View GitHub Profile
@theSociableme
theSociableme / gist:4279b922b9953db0b7f4
Created June 25, 2014 15:52
Removing conflicted files
find . -name \*conflicted\* -print0 -exec rm -- {} \;

Keybase proof

I hereby claim:

  • I am thesociableme on github.
  • I am thesociableme (https://keybase.io/thesociableme) on keybase.
  • I have a public key whose fingerprint is 3292 7108 6F10 7CAC 3C6D 528E 9390 656E D725 FEEC

To claim this, I am signing this object:

1.2 Install Perl:
http://downloads.activestate.com/ActivePerl/releases/5.18.1.1800/ActivePerl-5.18.1.1800-MSWin32-x64-297570.msi
You can exclude Perl Script, PPM, documentation and examples if you don't need them for other purposes.
1.3 Install Python:
http://www.python.org/ftp/python/3.3.3/python-3.3.3.amd64.msi
1.4 Install a toolchain from MinGW-builds project:
@theSociableme
theSociableme / gist:10552412
Last active June 13, 2018 21:43
Creating an Altcoin
main.h - MAX_MONEY - Sanity check for transactions added to the blockchain
main.cpp - GetBlockValue -
New genesis block hash
const char* pszTimestamp = "NY Times - December 23, 2013 - For Today's Babes, Toyland Is Digital";
Ports
@theSociableme
theSociableme / pre-commit
Last active December 23, 2015 03:39 — forked from lsaffie/pre-commit
#!/bin/bash
# Pre commit hook that prevents FORBIDDEN code from being commited.
# Add unwanted code to the FORBIDDEN array as necessary
FILES_PATTERN='\.(rb|js|coffee)(\..+)?$'
FORBIDDEN=( debugger ruby-debug console.log )
for i in "${FORBIDDEN[@]}"
do
class Assessments.Views.Teacher.Results.Gradebook extends Backbone.View
sdk_url: 'https://downloads.gradecam.com/sdk/current/gcsdk.js'
sdk_css_url: 'https://downloads.gradecam.com/sdk/current/css/gcsdk.css'
gradebook_settings: null
el: '#gradecam'
initialize: (options) ->
w = window
window.gradeCamOnPluginLoad = () =>
/**
* Created with IntelliJ IDEA.
*
* @author Mark Wagner
* Date: 2/28/13
* Time: 10:08 AM
*/
public class MapsFragment extends SherlockFragment {
Button mHotelMapButton;
/**
* Created with IntelliJ IDEA.
*
* @author Mark Wagner
* Date: 2/27/13
* Time: 2:47 PM
*/
public class GoogleMapFragment extends Fragment {
private SupportMapFragment mMapFragment;
private GoogleMap mMap;
package com.takeit2eleven.towniemeeting.android.fragments;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import com.actionbarsherlock.app.SherlockFragment;
import com.takeit2eleven.towniemeeting.android.R;
@theSociableme
theSociableme / MapsFragment.java
Created February 28, 2013 20:05
fragment that swaps other fragments
package com.takeit2eleven.towniemeeting.android.fragments;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import com.actionbarsherlock.app.SherlockFragment;
import com.takeit2eleven.towniemeeting.android.R;