Skip to content

Instantly share code, notes, and snippets.

View FMRb's full-sized avatar

Felix Rubio FMRb

  • Airtame Aps
  • Copenhagen, Denmark
View GitHub Profile
@FMRb
FMRb / configureStore.js
Last active May 22, 2017 13:24
Polymer 2 redux + ES6 import
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

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 / main.go
Created November 26, 2019 22:24
Creating, reading and writing a file in Golang
package main
import (
"io"
"log"
"os"
)
func main() {
file, err := os.OpenFile("text.txt",