Skip to content

Instantly share code, notes, and snippets.

View workmaster2n's full-sized avatar

Tyler DeWitt workmaster2n

  • Peritus Resource Group
  • Tulsa, OK
View GitHub Profile
@workmaster2n
workmaster2n / file1
Last active August 29, 2015 14:19
Self Join
| Name | Description |
| ------------- | ----------- |
| Help | Display the help window.|
| Close | Closes a window |
@workmaster2n
workmaster2n / resources
Created April 23, 2015 14:54
Self Join
| id | description |
|---|---|
| 1 | Office |
@workmaster2n
workmaster2n / app.js
Last active August 29, 2015 14:14
router issue
this.App = (function(Backbone, Marionette) {
var Arc;
Arc = new Marionette.Application;
Arc.addRegions({
container: "#container"
});
Arc.on('before:start', function() {
return Arc.workers = App.request('entities:workers');
});
Arc.on("start", function() {
@workmaster2n
workmaster2n / map.js.coffee
Created February 2, 2015 19:21
collection not updating on fetch
@App.module "Entities", (Entities, App, Backbone, Marionette, $, _) ->
class Entities.Map extends Backbone.Model
initialize: (id) ->
window.SweetMap = @
@openLayersMap = new OpenLayers.Map(null)
@openLayersMap.units = "dd"
@openLayersMap.numZoomLevels = 25
@openLayersMap.fractionalZoom = true
@openLayersMap.allOverlays = true
this.location = new Entities.Location({id: id})
@workmaster2n
workmaster2n / app.js.coffee
Created January 29, 2015 16:53
routing v2
@Arc = do(Backbone, Marionette) ->
App = new Marionette.Application
API =
listContacts: ()->
console.log "from listContacts"
class MyRouter extends Marionette.AppRouter
appRoutes:
"notes" : "listContacts"
@workmaster2n
workmaster2n / app.js
Created January 28, 2015 20:29
routing issue
@App = do(Backbone, Marionette) ->
App = new Marionette.Application
App.on "initialize:after", ->
if Backbone.history
Backbone.history.start(pushState: true)
App
@App.start()
public partial class Form1 : Form
{
IRemoteEvents remoteServer;
RemoteEventsProxy remoteEventsProxy;
TcpChannel tcpChan;
BinaryClientFormatterSinkProvider clientProv;
BinaryServerFormatterSinkProvider serverProv;
private string serverURI = "tcp://localhost:1551/QTrackRemoteEvents.Rem";
string m_Text = string.Empty;
int m_MeasurementCount = 0;
chmod: changing permissions of `/home/user/.rvm/log/1392754423': Operation not permitted
chmod: changing permissions of `/home/user/.rvm/log/1392754423/update_system.log': Operation not permitted
chmod: changing permissions of `/home/user/.rvm/log/1392754423/package_install_gawk_g++_make_libreadline6-dev_libyaml-dev_libsqlite3-dev_sqlite3_autoconf_libgdbm-dev_libncurses5-dev_automake_libtool_bison_pkg-config_libffi-dev.log': Operation not permitted
- failed - /home/user/.rvm/log/1392754423
class MyClass{
{
oneFunction: function(){ print "hi";}
}
function twoFunction(){
print "bye";
}
}
@workmaster2n
workmaster2n / Recv.java
Created March 17, 2014 20:09
Timestamp
import org.voltdb.client.ClientFactory;
import com.google.gson.Gson;
import com.rabbitmq.client.Channel;
import com.rabbitmq.client.Connection;
import com.rabbitmq.client.ConnectionFactory;
import com.rabbitmq.client.QueueingConsumer;
public class Recv {