Skip to content

Instantly share code, notes, and snippets.

View MartinRosenberg's full-sized avatar
🥑
I do not have avocado hand, so my coding is unimpaired.

Martin Rosenberg MartinRosenberg

🥑
I do not have avocado hand, so my coding is unimpaired.
View GitHub Profile
@farmanp
farmanp / setup.sh
Last active February 16, 2023 16:48 — forked from bradp/setup.sh
Onboarding Mac Setup Script
# Overview of this script is running an automated installation workflow that goes step by step below:
# 1. Github setup
# 2. Install XCode
# 3. Install Homebrew
# 4. Install Development tools (programming languages, libraries, etc)
# 5. Setting up Mac settings
# Done!
developer_utilities_setup() {
echo "Installing tree, wget, trash, mackup, and node..."
@clarkdave
clarkdave / createPages.ts
Created April 15, 2018 13:11
TypeScript + Gatsby node API
import { resolve } from 'path'
import { GatsbyCreatePages } from './types'
const createPages: GatsbyCreatePages = async ({
graphql,
boundActionCreators,
}) => {
const { createPage } = boundActionCreators
const allMarkdown = await graphql(`
def acceptKey = Action {
implicit request =>
val f = for {
_ <- robotService.openKeyDoor
_ <- robotService.receiveMaster.recover(handleReceiveMasterFailures)
_ <- robotService.validateKey.recover(handleReceiveMasterFailures)
} yield ()
Async {
@vvgomes
vvgomes / foo.js
Last active August 10, 2021 18:10
Ramda vs Lodash
var _ = require("lodash");
var R = require("ramda");
var companies = [
{ name: "tw", since: 1993 },
{ name: "pucrs", since: 1930 },
{ name: "tw br", since: 2009 }
];
var r1 = _(companies).chain()
@bertoort
bertoort / standards_for_developers.md
Created April 30, 2020 17:26
What makes a senior software engineer?

| Standard | Junior | Mid | Senior