Skip to content

Instantly share code, notes, and snippets.

➜ ~/Projects/electron-react-boilerplate (master) yarn start
yarn run v1.12.3
$ yarn build
$ concurrently "yarn build-main" "yarn build-renderer"
$ cross-env NODE_ENV=production webpack --config ./configs/webpack.config.main.prod.babel.js --colors
$ cross-env NODE_ENV=production webpack --config ./configs/webpack.config.renderer.prod.babel.js --colors
[0] Hash: 733a110763a28611c3cb
[0] Version: webpack 4.23.1
[0] Time: 2258ms
[0] Built at: 11/20/2018 11:37:01 AM
package main

import (
	"fmt"

	"github.com/aquilax/tripcode"
)

func main() {
// flow-typed signature: 03cf7c175358936fca986447e901a2fe
// flow-typed version: 81ddf4ba12/@@material-ui/core/core_v1.x.x/flow_>=v0.58.x
declare module "@material-ui/core/AppBar/AppBar" {
declare type Color = "inherit" | "primary" | "secondary" | "default";
declare type Position = "fixed" | "absolute" | "sticky" | "static";
declare module.exports: React$ComponentType<{
children?: React$Node,
className?: string,
require 'net/http'
require 'json'
require 'csv'
# Put access token
AccessToken = ""
RequestDelay = 1 # in seconds
def messages(group_id, group_name)
limit = 100
@gabriel
gabriel / git-prompt.sh
Created July 14, 2016 01:43
git-prompt.sh
# bash/zsh git prompt support
#
# Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org>
# Distributed under the GNU General Public License, version 2.0.
#
# This script allows you to see repository status in your prompt.
#
# To enable:
#
# 1) Copy this file to somewhere (e.g. ~/.git-prompt.sh).
@gabriel
gabriel / setup.md
Last active July 28, 2023 16:46
Setup

Prompt

  • Install oh-my-zsh

Alias git commands

git config --global alias.st status 

System Prefs

Hi all,

If you want to test proving social network ownership with rooter, here's what you can do.

On the command line:

keybase prove rooter yourUserName

It will give you something to post, call it 'LcEI8-LuBRM1EUtXKf1jZAabCKtu0_rjaKVif1O3Bsc'

@gabriel
gabriel / vendor.md
Last active June 23, 2016 19:46
Alternative Vendoring Strategy

Vendoring Somewhere Else?

Instead of vendoring inside client and kbfs (and including client in kbfs), we vendor at github.com/keybase/vendor (as a repo).

When a user wants to build:

  • go get github.com/keybase/client/go
  • go get github.com/keybase/kbfs
  • go get github.com/keybase/vendor (if they want to use vendoring)

An example vendoring repo that works right now is at: https://github.com/keybase/go-vendor-test

// These might be good globals
line1: {
overflow: 'hidden',
display: '-webkit-box',
textOverflow: 'ellipsis',
WebkitLineClamp: 1,
WebkitBoxOrient: 'vertical'
},
line2: {
overflow: 'hidden',
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>environment</string>
<key>ProgramArguments</key>
<array>
<string>sh</string>
<string>-c</string>