Skip to content

Instantly share code, notes, and snippets.

View kernelwernel's full-sized avatar
🗿
I HATE CMAKE I HATE CMAKE I HATE CMAKE I HATE CMAKE I HATE CMAKE I HATE CMAKE

kernel kernelwernel

🗿
I HATE CMAKE I HATE CMAKE I HATE CMAKE I HATE CMAKE I HATE CMAKE I HATE CMAKE
  • London, UK
  • 22:44 (UTC)
View GitHub Profile
@sundowndev
sundowndev / GoogleDorking.md
Last active November 15, 2024 20:47
Google dork cheatsheet

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"
@nicolasdao
nicolasdao / open_source_licenses.md
Last active November 14, 2024 08:26
What you need to know to choose an open source license.
@mlocati
mlocati / win10colors.cmd
Last active September 24, 2024 13:45
ANSI Colors in standard Windows 10 shell
@echo off
setlocal
call :setESC
cls
echo %ESC%[101;93m STYLES %ESC%[0m
echo ^<ESC^>[0m %ESC%[0mReset%ESC%[0m
echo ^<ESC^>[1m %ESC%[1mBold%ESC%[0m
echo ^<ESC^>[4m %ESC%[4mUnderline%ESC%[0m
#include <stdio.h>
#include <stdint.h>
#include <time.h>
static inline
uint64_t getCycles(void)
{
#if defined(__ARM_ARCH_7A__)
uint32_t r;
@9prady9
9prady9 / cpuinfo.cpp
Created September 15, 2015 18:32
Sample code to extract cpu information using CPUID instruction
#include <algorithm>
#include <iostream>
#include <string>
#ifdef _WIN32
#include <limits.h>
#include <intrin.h>
typedef unsigned __int32 uint32_t;
#else
#include <stdint.h>