Skip to content

Instantly share code, notes, and snippets.

♪ learning-rust cat main.rs
fn main(){
println("hello world!");
}
♪ learning-rust rustc main.rs
main.rs:2:2: 2:9 error: unresolved name `println`
main.rs:2 println("hello world!");
^~~~~~~
error: aborting due to previous error
♪ learning-rust
♪ repositories git:(feature/pim-create-product-and-properties) ✗ GOENV=test go test
Running Suite: Numeric Repositories Suite
=========================================
Random Seed: 1430787377
Will run 12 of 12 specs
••••••••••••
Ran 12 of 12 Specs in 0.205 seconds
SUCCESS! -- 12 Passed | 0 Failed | 0 Pending | 0 Skipped Running Suite: Property Repositories Suite
==========================================
@nicholasf
nicholasf / foo.md
Last active August 29, 2015 14:19
Remote role, some travel. Silicon Valley startup - Go backend engineers

FoxCommerce is a Silicon Valley eCommerce startup that is well-funded by top tier investors with significant early revenue. We are building a large scalable system and wish to find capable engineers to form the foundation of our technical team. We consider ourselves in stealth mode. The pace is fast and the technology is bleeding edge. We prioritise candidates by their teamwork ability, communication skills and, lastly, technical skill. You should have the ambition to be engaged building a large system over the long-term and enjoy working as a high performing team.

Our team is currently split between Silicon Valley and Melbourne, Australia. We are looking for more hires in these locations.

Commercial Go experience will be highly valued. Ruby as a background language would also be useful. Polyglots are welcome.

Being flexible about travel is a requirement. From time to time we meet in one location and huddle, with one of these expected to occur in coming months.

Initial 3 month contract with automatic ex

♪ usecases git:(refactor/adopt-gingko) ✗ go test
Running Suite: Usecases Suite
=============================
Random Seed: 1428973859
Will run 1 of 1 specs
• Failure [0.004 seconds]
Collections
/Users/nicholasf/code/go/src/github.com/foxcomm/phoenix/merchandising/context/usecases/collection_suite_test.go:44
Fetching the collection
1) Google Cloud Account - for magento.
2) Context prototype
3) Where do facts come from? JSON schema. Or we do focus on migration?
func coalesceMaps(args ...map[string]interface{}) map[string]interface{} {
var m map[string]interface{}
if len(args) > 1 {
m = make(map[string]interface{})
for _, arg := range args {
m = clobberMerge(m, arg)
}
} else {
Toy Robot Simulator
Description:
. The application is a simulation of a toy robot moving on a square tabletop, of dimensions 5 units x 5 units.
. There are no other obstructions on the table surface.
. The robot is free to roam around the surface of the table, but must be prevented from falling to destruction. Any movement
that would result in the robot falling from the table must be prevented, however further valid movement commands must still
be allowed.
. Create an application that can read in commands of the following form -
@nicholasf
nicholasf / gist:95c122be3f18ee6d5870
Created November 20, 2014 00:07
Current list for bookings for Polyhack Xmas party 2014
kvanberendonck
SomeoneWeird
mipearson
Curiad
eugeneware
sporto
vacri
zachgoldstein
markmandel
nicholasf
♪ bin cat idea.vmoptions
-Xms128m
-Xmx750m
-XX:MaxPermSize=350m
-XX:ReservedCodeCacheSize=225m
-XX:+UseCompressedOops%