- Create a Windows 11 ISO with Microsoft's Media Creation Tool
- Install Setup Patchium and run it
- Home tab: Select ISO, wait during processing
- Go to Install > Uncheck Remove upgrade and Check Disable Windows 11 compatibility restrictions, click Apply
- Optional: To install without a Microsoft account, go to Install OOBE tab. Click Integrate lumOOBE
- Click on Create ISO button
- Use Rufus or Ventoy (prefered) to run installation from a USB drive
all: gifread gifread.asan gifread.ubsan gifread.coverage | |
gifread: gifdec.c gifread.c gifdec.h | |
$(CC) $(CFLAGS) -o $@ gifdec.c gifread.c $(LDFLAGS) | |
gifread.asan: gifdec.c gifread.c gifdec.h | |
$(CC) $(CFLAGS) -g -fsanitize=address -o $@ gifdec.c gifread.c $(LDFLAGS) | |
gifread.ubsan: gifdec.c gifread.c gifdec.h | |
$(CC) $(CFLAGS) -g -fsanitize=undefined -o $@ gifdec.c gifread.c $(LDFLAGS) |
# -*- coding: utf-8 -*- | |
""" | |
Spyder Editor | |
@author: thekitchenscientist | |
""" | |
# Import streamlit library | |
import streamlit as st | |
from llama_cpp import Llama |
In order to be able to build v8 from scratch on Windows for x64, please follow the following steps.
These instructions were updated to work with Windows 11 Build 10.0.22621, but this should also work on WInodws 10
NOTE: While the Chrome team does provide decent documentation, there are some nuances and other additional steps that must be done for v8 to compile on Windows.
Documentation:
#example from https://pramode.in/2016/10/05/random-bitstream-using-lfsr/ | |
from migen import * | |
MAX_PERIOD = 50000 | |
def new_val(lfsr): | |
bit = ((lfsr >> 0) ^ \ | |
(lfsr >> 2) ^ \ | |
(lfsr >> 3) ^ \ | |
(lfsr >> 5)) & 1 |
# Install build prereqs: | |
sudo apt-get install build-essential libxml2-dev libssl-dev zlib1g-dev | |
# You can extract a dmg using 7z thus: 7z x File.dmg | |
# This installs tools like lsbom to see what is inside bom files | |
git clone https://github.com/hogliux/bomutils && cd bomutils && make && sudo make install | |
# Now install xar so you can extract the pkg file | |
curl -OLf https://opensource.apple.com/tarballs/xar/xar-425.2.tar.gz | |
tar fxv xar-425.2.tar.gz | |
cd xar-xar-425.2/xar/ | |
curl -OLf https://raw.githubusercontent.com/macports/macports-ports/master/archivers/xar/files/xar-1.8-openssl-1.1.patch |
/* | |
* Copilot cracker for JtR. Hacked together during August of 2021 by | |
* Brendan Dolan-Gavitt <mooyix at gmail.com> | |
* | |
* This software is Copyright (c) 2021, Brendan Dolan-Gavitt <mooyix at gmail.com> | |
* and it is hereby released to the general public under the following terms: | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted. | |
* | |
* Most of the file ripped off from pst_fmt_plug.c by Dhiru Kholia |
This is a draft of an entirely exploratory learning exercise to generate SBOMs from first principles that can accompany an APT-based Linux distribution, which in this context is either a disk or a container image obtained from any source including runtime instances, packaged images, debootstraps, etc. Input and comments welcome: Twitter and also on the CNCF, CycloneDX, CDF, Sigstore and other Slacks.
Here's the current version of the output (SPDX) which features:
- Identifying information for the primary component (at this time, the
debian:latest
container image) purl
identifiers for each binary package in the image
diff --git a/drivers/video/fbdev/core/fbmem.c b/drivers/video/fbdev/core/fbmem.c | |
index 8268bbee8..708c1846e 100644 | |
--- a/drivers/video/fbdev/core/fbmem.c | |
+++ b/drivers/video/fbdev/core/fbmem.c | |
@@ -45,6 +45,8 @@ | |
#define FBPIXMAPSIZE (1024 * 8) | |
+#define RESIZE_RATIO 75 | |
+ |