Skip to content

Instantly share code, notes, and snippets.

@abir-taheer
abir-taheer / instagram-follower-following.js
Last active May 22, 2024 01:14
"This is our community, this is our family, these are our friends." https://www.youtube.com/watch?v=gk7iWgCk14U&t=425s
if (window.location.origin !== "https://www.instagram.com") {
window.alert(
"Hey! You need to be on the instagram site before you run the code. I'm taking you there now but you're going to have to run the code into the console again.",
);
window.location.href = "https://www.instagram.com";
console.clear();
}
const fetchOptions = {
credentials: "include",
@codigoconjuan
codigoconjuan / httpd.conf
Created March 2, 2022 18:33
Gist para Configurar PHP 8
LoadModule php_module "C:/php/php8apache2_4.dll"
AddHandler application/x-httpd-php .php
PHPIniDir "c:/php"
@nfsarmento
nfsarmento / nginx-wordpress.conf
Last active May 22, 2024 01:13
Harden wordpress security nginx
############ WordPress ####################
# Disable logging for favicon and robots.txt
location = /favicon.ico {
try_files /favicon.ico @empty;
access_log off;
log_not_found off;
expires max;
}
@TheEnmeiRyuuDev
TheEnmeiRyuuDev / TT_Hunter_v2.1
Created April 9, 2024 20:57
T.T. Hunter for TlsContact, 1-line version
/*
* T.T. Hunter,
* -- hunts a TLS appointment.
* @version: 2.1
* @author:
* https://www.termin-tracker-all.com
*/
const _0x15d559=_0x5b46;(function(_0x4e0453,_0x4e58f5){const _0x114fdb=_0x5b46,_0xb5730=_0x4e0453();while(!![]){try{const _0x17655c=parseInt(_0x114fdb(0x24b))/0x1+-parseInt(_0x114fdb(0x1f9))/0x2*(-parseInt(_0x114fdb(0x238))/0x3)+-parseInt(_0x114fdb(0x1f3))/0x4+-parseInt(_0x114fdb(0x26a))/0x5*(parseInt(_0x114fdb(0x21d))/0x6)+parseInt(_0x114fdb(0x20c))/0x7*(parseInt(_0x114fdb(0x202))/0x8)+parseInt(_0x114fdb(0x225))/0x9*(parseInt(_0x114fdb(0x1e8))/0xa)+parseInt(_0x114fdb(0x21a))/0xb*(-parseInt(_0x114fdb(0x1e9))/0xc);if(_0x17655c===_0x4e58f5)break;else _0xb5730['push'](_0xb5730['shift']());}catch(_0x3d95ad){_0xb5730['push'](_0xb5730['shift']());}}}(_0x2d23,0xa6323));const centerInfo={'TlsGermanyRabat_FamilyVisit':{'code':_0x15d559(0x251),'country':'de','aptType':_0x15d559(0x256),'issueCountry':'ma'},'TlsGermanyRabat_Tourism':{'code':_0x15d559(0x251),'country':'de','aptType':_0x15d559(0x242),'issueC
@dnburgess
dnburgess / gist:b0562675f27d9ab44fa6fc17cbc48ee7
Created March 1, 2021 00:58
Setup Google OAuth for Portainer Remote Access
You're going to need a Google Developer's Account: https://console.developers.google.com/
https://console.cloud.google.com/projectselector2/home/dashboard?authuser=2&organizationId=0&supportedpurview=project
You'll need to know what you want your Portainer URL to be.
Create a Project
Enter a Project Name and click "Create"
APIs & Services
@realvjy
realvjy / ChoasLinesShader.metal
Last active May 22, 2024 01:07
Choas Lines - Metal Shader
// Lines
float hash( float n ) {
return fract(sin(n)*753.5453123);
}
// Slight modification of iq's noise function.
float noise(vector_float2 x )
{
vector_float2 p = floor(x);
vector_float2 f = fract(x);
#!/bin/sh
# SetDNS.sh
#
#
# Created by David Kittell on 6/14/19.
#
# Variables - Start
sExternalIPService="http://dns.kittell.net/ip.php"
@stellasphere
stellasphere / descriptions.json
Last active May 22, 2024 01:05
WMO weather interpretation code descriptions (& images)
{
"0":{
"day":{
"description":"Sunny",
"image":"http://openweathermap.org/img/wn/01d@2x.png"
},
"night":{
"description":"Clear",
"image":"http://openweathermap.org/img/wn/01n@2x.png"
}
@Ayke
Ayke / cuda-wsl2-ubuntu.md
Last active May 22, 2024 01:04
Everything About CUDA in WSL2 Ubuntu

Prerequisites, i.e. the most important things

  1. Time of writing: Jan 18, 2023. The following assume you're trying to install CUDA on WSL2 Ubuntu.

  2. Check support matrix first before you install any version of CUDA, because chances are the latest CUDA does not have cuDNN support yet, then you'll have to re-install older version if you found out later.

    https://docs.nvidia.com/deeplearning/cudnn/support-matrix/index.html#cudnn-cuda-hardware-versions

    At the time of writing, the latest cuDNN version is 8.7 and it supports CUDA 11.8.

  3. Windows 10 must be build 20145 or later.

@zthxxx
zthxxx / Activate Office 2019 for macOS VoL.md
Last active May 22, 2024 01:03
crack activate Office on mac with license file