I hereby claim:
- I am baversjo on github.
- I am johansmrt (https://keybase.io/johansmrt) on keybase.
- I have a public key whose fingerprint is 4843 998D DC6F DA9D 6C4B EFBC E6AD EB4E 6878 BD87
To claim this, I am signing this object:
| $('form').submit(function(){ | |
| var $form = $(this); | |
| $.post('ajax/somefile.php?action=updatesomething',$form.serialize(),function(){ | |
| $('#contactTabs').find('.tabClass'); | |
| }); | |
| } |
| ArrayList<Double> locTeamRatios = new ArrayList<Double>(); | |
| Team[] mylist = currentTeams.toArray(new Team[currentTeams.size()]); | |
| Team result[] = new Team[mylist.length]; | |
| Arrays.sort(mylist,Team.POSTAL_ORDER); | |
| for (int y = 0; y < result.length; y++) { | |
| result[y] = new Team(-1,"",null,-1); | |
| } | |
| for (int y = 0; y < mylist.length; y++) { |
| var net = require('net'); | |
| function connect_server(cb){ | |
| var conn = net.createConnection(8006,cb); | |
| conn.setEncoding('utf8'); | |
| return conn; | |
| } | |
| var conn = connect_server(function(){ | |
| conn.write("msg1"); |
| var buf = new Buffer(4); | |
| buf.writeUInt16(3000,0,'big'); | |
| console.log(buf); | |
| // <Buffer 0b b8 7a 00> |
| .......... | |
| [37/37] cxx_link: build/default/src/node_main_5.o build/default/src/node_5.o build/default/src/node_buffer_5.o build/default/src/node_javascript_5.o build/default/src/node_extensions_5.o build/default/src/node_http_parser_5.o build/default/src/node_constants_5.o build/default/src/node_file_5.o build/default/src/node_script_5.o build/default/src/node_os_5.o build/default/src/node_dtrace_5.o build/default/src/node_string_5.o build/default/src/timer_wrap_5.o build/default/src/handle_wrap_5.o build/default/src/stream_wrap_5.o build/default/src/tcp_wrap_5.o build/default/src/pipe_wrap_5.o build/default/src/cares_wrap_5.o build/default/src/stdio_wrap_5.o build/default/src/process_wrap_5.o build/default/src/v8_typed_array_5.o build/default/src/node_cares_5.o build/default/src/node_net_5.o build/default/src/node_signal_watcher_5.o build/default/src/node_stat_watcher_5.o build/default/src/node_io_watcher_5.o build/default/src/node_stdio_5.o build/default/src/node_child_process_5.o build/default/src/node_ti |
| class KernelConnector(LineReceiver): | |
| def __init__(self,app): | |
| self.app = app | |
| self.disconnectDef = None | |
| def connectionMade(self): | |
| self.factory.app.handleKernelConnected(self) | |
| def lineReceived(self,line): | |
| print 'got line:',line |
| describe LineItemsController do | |
| describe "GET index" do | |
| it "adds line items to @cart" do | |
| post :create, {product_id:19, color_id:0, quantity:1} | |
| assigns(:cart).total_items.should == 1 | |
| end | |
| end | |
| end |
| <?php | |
| function update_address($customer,$billing1,$billing2,$billing_city,$billing_zip,$billing_state, | |
| $shipping1,$shipping2,$shipping_city,$shipping_zip,$shipping_state){ | |
| //returns $errors on failure, true on success. | |
| } |
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| class CouchApi { | |
| /** | |
| * @param $request \GuzzleHttp\Psr7\Request | |
| * @return mixed | |
| */ | |
| private function _send_request($request) { | |
| $client = $this->guzzle_client(); |