Skip to content

Instantly share code, notes, and snippets.

View maj113's full-sized avatar
🎯
Focusing

Maj Soklič maj113

🎯
Focusing
View GitHub Profile
@Orangera1n
Orangera1n / Windows build repo.md
Last active November 13, 2024 07:32
Orangera1n's Windows Build Repo

Orangera1n's Windows Build Repo

Section 1: Introduction

This is a massive (10TB+) archive of almost every publicly leaked or released windows build ever made, stored on 3 5TB onedrive accounts. ALL of these builds come from publicly available sources, not private leaks.

Section 2: How to download the builds?

It's simple, there are 3 OneDrive folders with them: Onedrive folder 1 with Windows XP build 5.1.2202 to Windows 10 v1607/Server 2016 build 10.0.14300.1000: https://orangera1nwashere-my.sharepoint.com/:f:/g/personal/microsoftdata_orangera1nwashere_onmicrosoft_com/El7__pok5NBLh_h71nWPPyQBY0Eb2FjI5lOgKP4YwstkKQ?e=xKWrwQ

Onedrive folder 2, with Windows 10 v1607/Server 2016 build 10.0.14278.0 to Windows 10 v2004 build 19041.1: https://orangera1nwashere-my.sharepoint.com/:f:/g/personal/microsoftdata2_orangera1nwashere_onmicrosoft_com/Ep_EJbQRjzhHjouJZFCbAmYBu8cP2Z2TXGYiXt8nGglA0w?e=YKniRx

@zefklop
zefklop / build_rosbe_ci.sh
Last active May 16, 2024 10:31
Script to build ROSBE for github actions
#!/usr/bin/bash
ROSBE_BUILD_DIR=$1
ROSBE_GIT_DIR=./RosBE-git
THIS_SCRIPT=`basename "$0"`
git clone --depth=1 --branch=unix_amd64 https://github.com/zefklop/RosBE.git $ROSBE_GIT_DIR
# Check if we have our toolchain ready
if [ -d $ROSBE_BUILD_DIR ]; then
@adistomar
adistomar / music.py
Last active November 27, 2022 21:57 — forked from EvieePy/music.py
Basic music with playlist support on Rewrite
import discord
from discord.ext import commands
import random
import json
import asyncio
import itertools
import sys
import traceback
from async_timeout import timeout
from functools import partial
size_t memcount_avx2(const void *s, int c, size_t n) {
__m256i cv = _mm256_set1_epi8(c), zv = _mm256_setzero_si256(), sum = zv, acr0,acr1,acr2,acr3;
const char *p,*pe;
for(p = s; p != (char *)s+(n- (n % (252*32)));) {
for(acr0 = acr1 = acr2 = acr3 = zv,pe = p+252*32; p != pe; p += 128) {
acr0 = _mm256_add_epi8(acr0, _mm256_cmpeq_epi8(cv, _mm256_lddqu_si256((const __m256i *)p)));
acr1 = _mm256_add_epi8(acr1, _mm256_cmpeq_epi8(cv, _mm256_lddqu_si256((const __m256i *)(p+32))));
acr2 = _mm256_add_epi8(acr2, _mm256_cmpeq_epi8(cv, _mm256_lddqu_si256((const __m256i *)(p+64))));
acr3 = _mm256_add_epi8(acr3, _mm256_cmpeq_epi8(cv, _mm256_lddqu_si256((const __m256i *)(p+96)))); __builtin_prefetch(p+1024);
}
// (Excerpt from http://tinyurl.com/c4e47q)
// At this point, I'd like to take a moment to speak to you about the Adobe PSD format.
// PSD is not a good format. PSD is not even a bad format. Calling it such would be an
// insult to other bad formats, such as PCX or JPEG. No, PSD is an abysmal format. Having
// worked on this code for several weeks now, my hate for PSD has grown to a raging fire
// that burns with the fierce passion of a million suns.
// If there are two different ways of doing something, PSD will do both, in different
// places. It will then make up three more ways no sane human would think of, and do those
// too. PSD makes inconsistency an art form. Why, for instance, did it suddenly decide
// that *these* particular chunks should be aligned to four bytes, and that this alignement