Skip to content

Instantly share code, notes, and snippets.

@isaacsanders
isaacsanders / Equity.md
Created January 21, 2012 15:32
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

@CC1119
CC1119 / enterprise_token.rb
Last active May 2, 2024 21:46 — forked from markasoftware/enterprise_token.rb
OpenProject Enterprise mode for free
############ REPLACE app/models/enterprise_token.rb in the source code with this file! ################
############ also be sure to RESTART OpenProject after replacing the file. ################
############ it doesn't show that enterprise mode is enabled in the settings, but all ################
############ enterprise mode features, such as KanBan boards, are enabled. ################
#-- copyright
# OpenProject is an open source project management software.
# Copyright (C) 2012-2024 the OpenProject GmbH
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License version 3.
@mondain
mondain / public-stun-list.txt
Last active May 2, 2024 21:46
Public STUN server list
23.21.150.121:3478
iphone-stun.strato-iphone.de:3478
numb.viagenie.ca:3478
s1.taraba.net:3478
s2.taraba.net:3478
stun.12connect.com:3478
stun.12voip.com:3478
stun.1und1.de:3478
stun.2talk.co.nz:3478
stun.2talk.com:3478
@chrisdone
chrisdone / README.md
Last active May 2, 2024 21:40
Indexed fields exploration

Exploring possibilities with simple indexed fields

Database records and formlets and optionally populated records can be neatly all represented with the same data type when the fields are all indexed.

class Indexed i a where
  type Index i (a :: *)
<Version>1.0.0.0</Version>
<BASIC>http://drive.google.com/uc?export=download&id=1WgqkqKV9Gz_C4a2b8FL1nmzo1c2GqY1K</BASIC>
<STANDARD>http://drive.google.com/uc?export=download&id=1qEv2dOgRbcS_8UG59wNCuZ5TF_lCJS6k</STANDARD>
<PLUS>http://drive.google.com/uc?export=download&id=1V-2H-PBEQCo6oySslpu8jxPt4MmCs-cU</PLUS>
<KAV>http://drive.google.com/uc?export=download&id=1S9HomQ9RNGb13fdpD748hsUnfDtqLMm_</KAV>
<KIS>http://drive.google.com/uc?export=download&id=1sWMncG8KkZI6msKkzqLC12SAefWiQJBR</KIS>
<KTS>http://drive.google.com/uc?export=download&id=1ZE3WqqJDAuPFbKbmpqgMJ8Z1qfGZmEVb</KTS>
<KSOS>http://drive.google.com/uc?export=download&id=1bz96C1Np7FMGiwHixI8N4XiTKbgbV8Ii</KSOS>
<KES>http://drive.google.com/uc?export=download&id=1MvF-Uo_7IE2GtiJRkrXOFUtdkTQsQuGt</KES>
<Trial>http://drive.google.com/uc?export=download&id=1y-7qzLZxBvCXZ3zFUJycgCY63CtFFu1I</Trial>
package com.github.leosilvadev.detectorapp;
import jakarta.jms.Connection;
import jakarta.jms.QueueConnection;
import jakarta.jms.QueueSession;
import jakarta.jms.TopicConnection;
import jakarta.jms.TopicSession;
import org.apache.activemq.artemis.api.core.client.loadbalance.RoundRobinConnectionLoadBalancingPolicy;
import org.apache.activemq.artemis.core.remoting.impl.netty.NettyConnectorFactory;
import org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory;
@noghartt
noghartt / cc.md
Last active May 2, 2024 21:33
Resources to learn more about Computer Science and related stuffs
@0xjac
0xjac / private_fork.md
Last active May 2, 2024 21:33
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare git@github.com:usi-systems/easytrace.git

@arvindpdmn
arvindpdmn / JS.Done.Right.2.md
Last active May 2, 2024 21:33
JavaScript Done Right! (DOM, Events, Best Practices)

JavaScript Done Right!
Devopedia, Oct 2018

0. Introduction

In this meetup, we'll talk about DOM access and manipulation. This can be done in plain JavaScript using the new APIs introduced in ES6. It can also be done using jQuery. We will look at both approaches. We leave it to developers to choose what suits them.

As a study reference, look at the following cheat sheets:

@henriquemenezes
henriquemenezes / android-generate-keystores.md
Last active May 2, 2024 21:33
Android: Generate Release/Debug Keystores

Android: Generate Release/Debug Keystores

Generate Keystores

Debug Keystore

$ keytool -genkey -v -keystore debug.keystore -storepass android -alias androiddebugkey -keypass android -keyalg RSA -keysize 2048 -validity 10000 -dname "C=US, O=Android, CN=Android Debug"