Skip to content

Instantly share code, notes, and snippets.

@gitaarik
gitaarik / git_submodules.md
Last active August 3, 2026 17:58
Git Submodules basic explanation

Git Submodules - Basic Explanation

Why submodules?

In Git you can add a submodule to a repository. This is basically a sub-repository embedded in your main repository. This can be very useful. A couple of usecases of submodules:

  • Separate big codebases into multiple repositories.
@shafik
shafik / WhatIsStrictAliasingAndWhyDoWeCare.md
Last active August 3, 2026 17:12
What is Strict Aliasing and Why do we Care?

What is the Strict Aliasing Rule and Why do we care?

(OR Type Punning, Undefined Behavior and Alignment, Oh My!)

What is strict aliasing? First we will describe what is aliasing and then we can learn what being strict about it means.

In C and C++ aliasing has to do with what expression types we are allowed to access stored values through. In both C and C++ the standard specifies which expression types are allowed to alias which types. The compiler and optimizer are allowed to assume we follow the aliasing rules strictly, hence the term strict aliasing rule. If we attempt to access a value using a type not allowed it is classified as undefined behavior(UB). Once we have undefined behavior all bets are off, the results of our program are no longer reliable.

Unfortunately with strict aliasing violations, we will often obtain the results we expect, leaving the possibility the a future version of a compiler with a new optimization will break code we th

/* ================================================================
J.A.R.V.I.S FRONTEND — Dark Glass UI
================================================================
DESIGN SYSTEM OVERVIEW
----------------------
This stylesheet powers a single-page AI chat assistant with a
futuristic, dark "glass-morphism" aesthetic. Key design pillars:
1. DARK THEME — Near-black background (#050510) with layered
@thecodewarrior
thecodewarrior / comparison.gif
Last active August 3, 2026 16:40
CurseForge logo SVG
comparison.gif
@kndrio
kndrio / FICHA INICIAL — PROJETO SUPERVISIONADO DE EXTENSÃO.md
Last active August 3, 2026 16:34
Projetos supervisionados desenvolvimento de software, apps, sites ou hardware [26E3-26E4]

Desenvolvimento de Software, Apps, Sites ou Hardware

Preencha os campos 1 a 5 até o Encontro 2. Os campos 6 a 8 podem ser refinados ao longo da orientação. Este documento é a base do seu projeto e do seu registro de horas.


IDENTIFICAÇÃO

@Issykul
Issykul / Office 2019 ISO Links at Microsoft.md
Last active August 3, 2026 16:33
Office 2019 ISO Download Links at Microsoft
@royclarkson
royclarkson / stop-emulators.sh
Created May 1, 2014 16:14
Bash script to kill all running Android emulators
#!/bin/bash
for ((PORT=5554; PORT<=5584; PORT+=2)); do
echo killing emulator-$PORT...
adb -s emulator-$PORT emu kill
done
@goodylili
goodylili / bash.md
Created July 16, 2026 07:31
bash_tutorial.md

Bash — Class Reference

All examples tested and runnable as-is. ⚠️ = macOS gotcha.


1. Introduction to Bash

Bash = interactive shell + scripting language. A script is just saved commands.

<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8" />
<script src="Scripts/jquery-1.9.1.min.js"></script>
<link href="Content/bootstrap.min.css" rel="stylesheet" />
<script src="Scripts/isRockFx.js"></script>
<script>
$(function () {

Hashcat Example hashes

Unless otherwise noted, the password for all example hashes is hashcat

Hash-Mode Hash-Name Example
0 MD5 8743b52063cd84097a65d1633f5c74f5
10 md5($pass.$salt) 01dfae6e5d4d90d9892622325959afbe:7050461