Skip to content

Instantly share code, notes, and snippets.

HazElement hazelement

Block or report user

Report or block hazelement

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@arpit
arpit / cryptokitties.sol
Created Jan 23, 2018
Cryptokitties Contract from the Eth blockchain
View cryptokitties.sol
pragma solidity ^0.4.11;
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permissions".
*/
contract Ownable {
address public owner;
@fntlnz
fntlnz / self-signed-certificate-with-custom-ca.md
Last active Oct 18, 2019
Self Signed Certificate with Custom Root CA
View self-signed-certificate-with-custom-ca.md

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096
@trey
trey / dropbox_git.md
Created May 18, 2012
Using Dropbox to Share Git Repositories
View dropbox_git.md

Using Dropbox to Share Git Repositories

First, create a Git subfolder inside your Dropbox folder. Then you can share the individual projects inside that folder with whomever you want (or just use it for instant offsite backups).

From inside a Git project:

git clone --bare . ~/Dropbox/Git/gitproject.git
git remote add dropbox ~/Dropbox/Git/gitproject.git

When you're ready to push:

You can’t perform that action at this time.