Skip to content

Instantly share code, notes, and snippets.

@tuxity
tuxity / navicat_premium_reset_trial.sh
Last active May 22, 2024 01:18
Reset Navicat Premium 15/16/17 remaining trial days
#!/bin/bash
set -e
file=$(defaults read /Applications/Navicat\ Premium.app/Contents/Info.plist)
regex="CFBundleShortVersionString = \"([^\.]+)"
[[ $file =~ $regex ]]
version=${BASH_REMATCH[1]}
@FreddieOliveira
FreddieOliveira / docker.md
Last active May 22, 2024 01:18
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android ๐Ÿ‹๐Ÿ“ฑ

Edit ๐ŸŽ‰

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

@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"
}