Skip to content

Instantly share code, notes, and snippets.

Avatar

Felix Rubio FMRb

  • Airtame Aps
  • Copenhagen, Denmark
View GitHub Profile
@FMRb
FMRb / main.go
Created Nov 26, 2019
Creating, reading and writing a file in Golang
View main.go
package main
import (
"io"
"log"
"os"
)
func main() {
file, err := os.OpenFile("text.txt",
View keybase.md

Keybase proof

I hereby claim:

  • I am FMRb on github.
  • I am fmrb (https://keybase.io/fmrb) on keybase.
  • I have a public key whose fingerprint is D7AC 451F 6262 6D18 8F06 150A 33A1 66C0 38CB 68CB

To claim this, I am signing this object:

@FMRb
FMRb / configureStore.js
Last active May 22, 2017
Polymer 2 redux + ES6 import
View configureStore.js
import { createStore, applyMiddleware } from 'redux';
import thunkMiddleware from 'redux-thunk';
import { composeWithDevTools } from 'remote-redux-devtools';
import reducer from './ducks';
const configureStore = (initialState) => {
const enhancer = composeWithDevTools(
applyMiddleware(
thunkMiddleware,
// logger