Skip to content

Instantly share code, notes, and snippets.

View lifenautjoe's full-sized avatar
🚀
Shipping

Joel Hernández lifenautjoe

🚀
Shipping
View GitHub Profile
@lifenautjoe
lifenautjoe / response.json
Created January 31, 2021 21:09
Peekalink Sample Response
{
"url": "https://bit.ly/3frD2OP",
"domain": "bit.ly",
"lastUpdated": "2020-11-23T16:55:51.648662Z",
"nextUpdate": "2020-11-24T16:55:51.615769Z",
"contentType": "html",
"mimeType": "text/html",
"redirected": true,
"redirectionUrl": "https://www.youtube.com/watch?feature=youtu.be&v=dQw4w9WgXcQ",
"redirectionCount": 2,
@lifenautjoe
lifenautjoe / peekalink.py
Created January 31, 2021 21:05
Peekalink API Usage
@lifenautjoe
lifenautjoe / random_hex_color.dart
Created December 13, 2018 16:08
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;
@lifenautjoe
lifenautjoe / keybase.md
Created April 14, 2018 10:59
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 October 13, 2017 12:29
A TypeScript proposal for adding a delegateof keyword.

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 March 14, 2017 23:27
Script to unfollow people in the instagram website
/**
* 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: