Skip to content

Instantly share code, notes, and snippets.

View hadevnet's full-sized avatar
💭
I may be slow to respond.

Haafi hadevnet

💭
I may be slow to respond.
  • Istanbul
View GitHub Profile
@hadevnet
hadevnet / instalike.js
Created July 27, 2020 09:54 — forked from jadeallencook/instalike.js
Scripts that auto likes posts on instagram via tag.
let likes = 0;
setInterval(() => {
const heart = document.querySelector('svg[aria-label="Like"]');
const arrow = document.querySelector('a.coreSpriteRightPaginationArrow');
if (heart) {
heart.parentNode.click()
likes++;
console.log(`You've liked ${likes} post(s)`);
}
arrow.click();
@hadevnet
hadevnet / ohmyposhv3-v2.json
Created September 16, 2022 16:33 — forked from shanselman/ohmyposhv3-v2.json
ohmyposhv3-v2
{
"final_space": true,
"console_title": true,
"console_title_style": "folder",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"horizontal_offset": 0,
"vertical_offset": 0,
@hadevnet
hadevnet / auto-reconnect-vpn.ps1
Last active November 2, 2022 09:53 — forked from mlaffargue/auto-reconnect-vpn.ps1
Powershell: Check VPN connexion, auto-reconnect if disconnected
#===============================================================================
# FILE: auto-reconnect-vpn.ps1
#
# DESCRIPTION: Automatically reconnect a named VPN which has been disconnected.
#
# AUTHOR: Laffargue Michael
# VERSION: 1.0.0
# LICENSE: MIT License
#===============================================================================
# Name of the VPN connexion