Skip to content

Instantly share code, notes, and snippets.

@sundowndev
sundowndev / GoogleDorking.md
Last active December 19, 2023 16:29
Google dork cheatsheet
View GoogleDorking.md

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
@adispezio
adispezio / figma-shortcut-usage.js
Last active December 19, 2023 16:28
figma-shortcut-usage
View figma-shortcut-usage.js
// CHECK FIGMA SHORTCUT USAGE
//
// Run the script below in the console of Figma (browser or app) to see how often you use each shortcut.
//
// NOTE: This script reads localStorage data and is most likely not be accurate. You won't be able to tell
// the timeframe of the data and it will reset if you clear your cookies — this is just for fun and should
// not be treated as credible data!
//
// 1. To open the console in the Figma app or Chrome, press cmd+opt+j (Mac) or ctrl+shift+j (PC)
// If that doesn't work, press cmd+opt+i or ctrl+shift+i and select the 'Console' tab
@leonardofed
leonardofed / README.md
Last active December 19, 2023 16:28
A curated list of AWS resources to prepare for the AWS Certifications
View README.md


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


@Nachtalb
Nachtalb / telegram-desktop-multiple-accounts.rst
Last active December 19, 2023 16:23
Add multiple accounts in Telegram Desktop [Linux | MacOSX | Windows]
View telegram-desktop-multiple-accounts.rst
@HunterVL
HunterVL / Tic-Tac-Toe.cpp
Created December 21, 2016 05:26
A C++ bot that plays Tic-Tac-Toe against a human.
View Tic-Tac-Toe.cpp
#include <iostream>
#include <cstring>
#include <algorithm>
#include <ctime>
using namespace std;
#define compareBoxes(box1, box2, box3) ((board[box1] == board[box2]) && (board[box2] == board[box3]) && (board[box1] != 0)) //Checkes if three items are the same, and makes sure they're not 0's.
#define numberToLetter(x) ((x > 0) ? (x == 1) ? 'X' : 'O' : ' ') //Takes the number and turns it into the letter or space.
@akabe1
akabe1 / frida_multiple_unpinning.js
Last active December 19, 2023 16:25
Another Android ssl certificate pinning bypass for various methods
View frida_multiple_unpinning.js
/* Android ssl certificate pinning bypass script for various methods
by Maurizio Siddu
Run with:
frida -U -f <APP_ID> -l frida_multiple_unpinning.js [--no-pause]
*/
setTimeout(function() {
Java.perform(function() {
console.log('');
@apgapg
apgapg / submodules.sh
Created December 19, 2023 16:22
Replace url with PAT in github root and nested submodules
View submodules.sh
#!/bin/bash
# Root project having .gitmodules
PROJECT[0]="."
# Another project inside root project having .gitmodules
PROJECT[1]="project1"
for i in "${PROJECT[@]}"
do
cd $i
@aras-p
aras-p / DebugNode.hlsl
Created January 3, 2020 10:37
"Print a value" custom function node code for Unity ShaderGraph
View DebugNode.hlsl
// Quick try at doing a "print value" node for Unity ShaderGraph.
// Tested on Unity 2019.2.17 with ShaderGraph 6.9.2.
//
// Use with CustomFunction node, with two inputs:
// - Vector1 Value, the value to display,
// - Vector2 UV, the UVs of area to display at.
// And one output:
// - Vector4 Color, the color.
// Function name is DoDebug.
@MahmoudMabrok
MahmoudMabrok / task.gradle.kts
Created December 19, 2023 14:41
Prepare files for code review
View task.gradle.kts
tasks.register("addSpaceToEndOfLines") {
description = "Add space to the end of each line in .kt files and commit changes to Git"
doLast {
println("Starting magic")
project.exec {
commandLine("git", "checkout", "-b" , "refactor/submitCode")
}
@gilangvperdana
gilangvperdana / README.md
Last active December 19, 2023 16:20
Monitoring Nginx with InfluxDB - Telegraf - Prometheus - Grafana
View README.md

Monitoring Nginx from Grafana with InfluxDB-Telegraf & Prometheus

InfluxDB for Time Database
Telegraf for Metrics Server Agent
Prometheus for Metrics Collector
Grafana for Metrics Visualizator
I just want to exploration about monitoring some metrcis Nginx with LoadBalancer Topology on Grafana. 
This is an continous project from [https://gist.github.com/gilangvperdana/53a70f9a64d3f7becebfa5f3a3d54c1f]