Skip to content

Instantly share code, notes, and snippets.

Avatar
🕴️
Making things.

Joel Hernández lifenautjoe

🕴️
Making things.
View GitHub Profile
@lifenautjoe
lifenautjoe / response.json
Created Jan 31, 2021
Peekalink Sample Response
View response.json
{
"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 Jan 31, 2021
Peekalink API Usage
View peekalink.py
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: