Skip to content

Instantly share code, notes, and snippets.

View rememberlenny's full-sized avatar

Leonard Bogdonoff rememberlenny

View GitHub Profile
@rememberlenny
rememberlenny / Equity.md
Created April 21, 2019 20:33 — forked from isaacsanders/Equity.md
Joel Spolsky on Equity for Startups

This is a post by Joel Spolsky. The original post is linked at the bottom.

This is such a common question here and elsewhere that I will attempt to write the world's most canonical answer to this question. Hopefully in the future when someone on answers.onstartups asks how to split up the ownership of their new company, you can simply point to this answer.

The most important principle: Fairness, and the perception of fairness, is much more valuable than owning a large stake. Almost everything that can go wrong in a startup will go wrong, and one of the biggest things that can go wrong is huge, angry, shouting matches between the founders as to who worked harder, who owns more, whose idea was it anyway, etc. That is why I would always rather split a new company 50-50 with a friend than insist on owning 60% because "it was my idea," or because "I was more experienced" or anything else. Why? Because if I split the company 60-40, the company is going to fail when we argue ourselves to death. And if you ju

@rememberlenny
rememberlenny / Equity.md
Created April 21, 2019 20:33 — forked from greenido/Equity.md
Joel Spolsky on Equity for Startups

This is a post by Joel Spolsky. The original post is linked at the bottom.

This is such a common question here and elsewhere that I will attempt to write the world's most canonical answer to this question. Hopefully in the future when someone on answers.onstartups asks how to split up the ownership of their new company, you can simply point to this answer.

The most important principle: Fairness, and the perception of fairness, is much more valuable than owning a large stake. Almost everything that can go wrong in a startup will go wrong, and one of the biggest things that can go wrong is huge, angry, shouting matches between the founders as to who worked harder, who owns more, whose idea was it anyway, etc. That is why I would always rather split a new company 50-50 with a friend than insist on owning 60% because "it was my idea," or because "I was more experienced" or anything else. Why? Because if I split the company 60-40, the company is going to fail when we argue ourselves to death. And if you ju

@rememberlenny
rememberlenny / motion.conf
Created April 21, 2019 20:32 — forked from greenido/motion.conf
motion conf file for the 'Pi motion detection project'
# Motion for Pi project - main conf.
# This config file was generated by motion 4.0
#
# Author: @greenido
#
# Date: 10/2018
#
# See: https://greenido.wordpress.com/?p=9397
#
# IMPORTANT: Please search after TODO and make sure you change them with your settings.
@rememberlenny
rememberlenny / gist:50e5ed86e8334aca91be6283c1b37c07
Created March 6, 2019 06:00
Move files when mv says list has too many arguments
find folder2 -name '*.*' -exec mv {} folder \;
https://stackoverflow.com/questions/11942422/moving-large-number-of-files
Resource URL
https://api.twitter.com/1.1/lists/statuses.json
[
{
"created_at":"Wed Dec 12 19:29:05 +0000 2018",
"id":1072936394626985984,
"id_str":"1072936394626985984",
Resource URL
https://api.twitter.com/1.1/lists/statuses.json
[
{
"created_at":"Wed Dec 12 19:29:05 +0000 2018",
"id":1072936394626985984,
"id_str":"1072936394626985984",
"""Prepare MS COCO datasets"""
import os
import shutil
import argparse
import zipfile
from gluoncv.utils import download, makedirs
from gluoncv.data.mscoco.utils import try_import_pycocotools
_TARGET_DIR = os.path.expanduser('~/.mxnet/datasets/coco')
@rememberlenny
rememberlenny / font-var.py
Created November 6, 2018 17:27 — forked from eliheuer/font-var.py
get axes from a variable font
font("fonts/Font-VF.ttf")
for axis, data in listFontVariations().items():
print((axis, data)) # Get axis info from font
@rememberlenny
rememberlenny / Contract Killer 3.md
Created September 25, 2018 12:32 — forked from malarkey/Contract Killer 3.md
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Original post

@rememberlenny
rememberlenny / Download Google Drive files with WGET in 2018
Created September 9, 2018 10:23
Download Google Drive files with WGET in 2018
Download Google Drive files with WGET
Example Google Drive download link:
https://docs.google.com/open?id=FILEIDHERE
To download the file with WGET you need to use this link:
https://googledrive.com/host/FILEIDHERE
Example WGET command: