delegate (noun)
A person sent or authorized to represent others, in particular an elected representative sent to a conference.
A popular and widely applied practice for creating flexible and reusable object oriented code is delegation.
I hereby claim:
To claim this, I am signing this object:
| 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; |
| import requests | |
| r = requests.post( | |
| "https://api.peekalink.io/", | |
| headers={"X-API-Key": "YourSecretKey"}, | |
| data={"link": "https://bit.ly/3frD2OP"}, | |
| ) | |
| print(r.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, |
| /** | |
| * 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: |