Skip to content

Instantly share code, notes, and snippets.

Matthew Tejo tejom

Block or report user

Report or block tejom

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View julythree.scala
import cats.data.State
import cats.instances.vector._
import scala.language.higherKinds
import cats.syntax.applicative._
object julythree {
def main(args: Array[String]): Unit = {
val ins = List(List('0', '1'), List('A', 'B', 'C'), List('D', 'E', 'F', 'G'))
@tejom
tejom / index.js
Created Dec 21, 2016
nodejs http request measurments
View index.js
const http = require('http');
require('net')
var options = {
host: 'www.google.com',
path: '/'
};
endtimer = process.hrtime()
for( x=0;x<20;x++){
View hello-world.cc
// Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fstream>
#include <iostream>
@tejom
tejom / notesonv8.txt
Last active Nov 22, 2016
notes on v8
View notesonv8.txt
https://www.youtube.com/watch?v=VhpdsjBUS3g&feature=youtu.be&t=16m30s
http://mrale.ph/blog/2011/12/18/v8-optimization-checklist.html
gdb compile
https://groups.google.com/forum/#!topic/v8-users/OIICvStFMmc
https://groups.google.com/forum/#!searchin/v8-users/gdb%7Csort:relevance/v8-users/GxCmg3fRaLU/p6Jb95RkQ9cJ
V8 Inside Out” from WebRebels 2012
saw tooth gc memory usage
View csv.rb
#!/usr/bin/ruby
require 'csv'
FILE_NAME = "./res3.csv"
AUD_RATE = 0.759
POUND_RATE = 1.3
CAD_RATE = 0.77
KR_RATE = 0.116852
numbers = []
You can’t perform that action at this time.