Skip to content

Instantly share code, notes, and snippets.

Avatar
🕴️
Making things.

Joel Hernández lifenautjoe

🕴️
Making things.
View GitHub Profile
View random_hex_color.dart
import 'dart:math';
Random random = new Random();
String generateRandomHexColor(){
int length = 6;
String chars = '0123456789ABCDEF';
String hex = '#';
while(length-- > 0) hex += chars[(random.nextInt(16)) | 0];
return hex;
View keybase.md

Keybase proof

I hereby claim:

  • I am lifenautjoe on github.
  • I am lifenautjoe (https://keybase.io/lifenautjoe) on keybase.
  • I have a public key ASCILaN0qAuOxJfArkV643OO2_pmwNioFjJreVsIc-COCQo

To claim this, I am signing this object:

@lifenautjoe
lifenautjoe / delegateof-ts-proposal.md
Last active Oct 13, 2017
A TypeScript proposal for adding a delegateof keyword.
View delegateof-ts-proposal.md

delegateof Proposal

delegate (noun)

A person sent or authorized to represent others, in particular an elected representative sent to a conference.


Motivation

A popular and widely applied practice for creating flexible and reusable object oriented code is delegation.

@lifenautjoe
lifenautjoe / instagram-web-unfollow.js
Created Mar 14, 2017
Script to unfollow people in the instagram website
View instagram-web-unfollow.js
/**
* Instagram web unfollow script
*
* WHAT IS IT?
* A script to unfollow people in the instagram website
*
* WHY?
* I needed to clean my account so I quickly did this
*
* HOW TO USE:
You can’t perform that action at this time.