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 | RHUL
  • 10:33 (UTC +01:00)
View GitHub Profile
@sundowndev
sundowndev / GoogleDorking.md
Last active April 25, 2025 03:34
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 April 25, 2025 01:53
What you need to know to choose an open source license.
@mlocati
mlocati / win10colors.cmd
Last active March 17, 2025 20:23
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;
@lukas-h
lukas-h / license-badges.md
Last active April 20, 2025 12:09
Markdown License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.

Notes

  • The badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.

Translations: (No guarantee that the translations are up-to-date)

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