Skip to content

Instantly share code, notes, and snippets.

View rdlh's full-sized avatar
🚀
Doing things.

Rémi Delhaye rdlh

🚀
Doing things.
View GitHub Profile
@rdlh
rdlh / hd-insta-pp.js
Created August 2, 2018 14:14
HD Instagram Profile Picture
function fetchInstagramId(callback) {
fetch('https://i.instagram.com/api/v1/users/' + window._sharedData.entry_data.ProfilePage[0].graphql.user.id + '/info/')
.then(response => response.json())
.then(json => callback(json))
.catch(error => callback(error, null))
}
function fetchHdProfilePicture() {
fetchInstagramId(function(data) {
window.open(data.user.hd_profile_pic_url_info.url)

Keybase proof

I hereby claim:

  • I am rdlh on github.
  • I am knid (https://keybase.io/knid) on keybase.
  • I have a public key whose fingerprint is 4626 5F9A A282 704A D1FF 94B0 903F DB39 E0A9 D658

To claim this, I am signing this object:

@rdlh
rdlh / Knid MDT - LUA Documentation.md
Last active April 16, 2025 15:37
Knid MDT - LUA Documentation

MDT

Configs :

Key Description
Config.Url URL of your MDT
Config.SecretKey Your service secret key, ask Knid to get it
Config.Command Command to open MDT
Config.Key Keyboard key to open MDT be default