Skip to content

Instantly share code, notes, and snippets.

View EQuimper's full-sized avatar
🏠
Working from home

Emanuel Quimper EQuimper

🏠
Working from home
View GitHub Profile
// @flow
import React, { Component } from 'react';
import {
VirtualizedList,
View,
ScrollView,
StyleSheet,
// $FlowFixMe
findNodeHandle,
@rockchalkwushock
rockchalkwushock / insurance.md
Last active August 21, 2017 12:47
Insurance for when your system crashes & so do your backups...

Insurance... in case shit happens!

This is what you should follow should your system crash & your external hard drive with your backups on it fail at the same time!

First scream FML!

Now proceed...

1. Apple

@SergeyKorochansky
SergeyKorochansky / react-native-navigation.ts
Created August 16, 2016 15:49
react-native-navigation.d.ts
declare module 'react-native-navigation' {
export interface NavigatorStyle {
navBarTextColor?: string;
navBarBackgroundColor?: string;
navBarButtonColor?: string;
navBarHidden?: boolean;
navBarHideOnScroll?: boolean;
navBarTranslucent?: boolean;
navBarNoBorder?: boolean;
drawUnderNavBar?: boolean;
@mlewand
mlewand / codeExtensions
Last active July 11, 2018 11:32
List of Visual Studio Code extensions in my workspace.
$ code --list-extensions
abusaidm.html-snippets
ajhyndman.jslint
alefragnani.Bookmarks
alefragnani.project-manager
christian-kohler.npm-intellisense
christian-kohler.path-intellisense
mlewand.ck4-test-mate
cmstead.jsrefactor
@giladno
giladno / .vimrc
Last active December 16, 2018 09:28
My .vimrc file
set autoindent
set autoread " Make Vim automatically open changed files
set background=dark
" set cinoptions=:0,(s,u0,U1
set clipboard=unnamed
set colorcolumn=120
set columns=130
set copyindent
set cursorline
set directory^=$HOME/.vim/swp//
@gabro
gabro / validation.flow.js
Last active February 24, 2020 16:38
Dynamic object validation using $ObjMap in Flow
/* @flow */
// A simplified representation of types using phantom types (so that we store the Type information both at value and type level)
class Type<T> {};
class StringT extends Type<string> {}
class NumberT extends Type<number> {}
// A schema for a User
const User = {
name: new StringT(),
package example
import (
"fmt"
"math/rand"
"net/http"
"google.golang.org/appengine"
"google.golang.org/appengine/file"
"google.golang.org/appengine/log"
@jlauemoeller
jlauemoeller / phoenix-and-vue-with-brunch.md
Last active July 14, 2020 21:25
Setting up a Basic Phoenix+Vue+Brunch project

Work in Progress: Phoenix + Vue + Brunch

This documents how I integrate Vue 2.0 with Phoenix 1.x using the default brunch pipeline.

The toolchain

Start out by adding the vue-brunch plugin. You will need a version later than 1.2.3 in order to be able to use the extractCSS option (see later). At the time of writing, 1.2.3 was still the version fetched by npm so I suggest just getting the tip of the dev branch for now (this branch is for Vue 2.0 compatibility anyway):

npm install git+https://github.com/nblackburn/vue-brunch.git#dev --save-dev
import SwiftUI
import PlaygroundSupport
struct ShareSheet: View {
var body: some View {
VStack(spacing: 0) {
SheetHeaderView()
.padding()
Divider()
@benatkin
benatkin / Global.sublime-settings
Created July 20, 2011 04:26
excluding node_modules from Sublime Text 2
// Place user-specific overrides in this file, to ensure they're preserved
// when upgrading
{
"folder_exclude_patterns": [".svn", ".git", ".hg", "CVS", "node_modules"]
}