Skip to content

Instantly share code, notes, and snippets.

View TheArchitectEngineer's full-sized avatar
💭
...

TheArchitectEngineer

💭
...
View GitHub Profile
@TheArchitectEngineer
TheArchitectEngineer / install-cmake.sh
Created March 30, 2023 17:19 — forked from cwpearson/install-cmake.sh
install CMake from source
set -eu
set -x
# create a `cmake` directory and extract cmake into there
# build cmake in there, and install to prefix
PREFIX=$HOME/software/cmake-3.17.0-rc3
wget -SL https://github.com/Kitware/CMake/releases/download/v3.17.0-rc3/cmake-3.17.0-rc3.tar.gz
mkdir -p cmake-3.17.0-rc3.src
> * Go to [hexed.it](https://hexed.it/)
> * Click "Open File" and choose your sublime_text.exe **(DON'T FORGET TO BACKUP YOUR EXE FILE)**
> * Go to Search and in "Search for" put: 80 78 05 00 0F 94 C1
> * In Search Type select "Enable replace" and put: 80 78 05 00 0F 94 C1
> * Click "Find next" then "Replace"
> * Do the same thing with: C6 40 05 01 48 85 C9 => C6 40 05 01 48 85 C9
> * Click "Save as" then name it: sublime_text
> * Copy your modified sublime_text.exe to directory Sublime Text
@TheArchitectEngineer
TheArchitectEngineer / build-grub-osx.sh
Created January 27, 2023 23:20 — forked from emkay/build-grub-osx.sh
Build Grub on OSX
#!/bin/sh
set -e
# First we are going to make sure that you understand this is sort of experimental and we will be compiling stuff.
# by default CONTINUE will be false
CONTINUE=false
echo ""
echo "You are about to download, compile, and install stuff on your computer."
@TheArchitectEngineer
TheArchitectEngineer / README.md
Created January 1, 2023 22:00 — forked from magnetikonline/README.md
Extract all files at every commit of a Git repository.

Extract all files at every commit of a Git repository

Bash script to iterate all commits of a given Git repository and extract all files within each commit.

Example

With a Git repository at /path/to/repository and an empty directory at /path/to/output we can run:

./export.sh /path/to/repository /path/to/output
@TheArchitectEngineer
TheArchitectEngineer / ps4.html
Created December 18, 2021 23:09 — forked from sleirsgoevy/ps4.html
PS4 WebKit exploit on 9.00
<script>
var PAGE_SIZE = 16384;
var SIZEOF_CSS_FONT_FACE = 0xb8;
var HASHMAP_BUCKET = 208;
var STRING_OFFSET = 20;
var SPRAY_FONTS = 0x1000;
var GUESS_FONT = 0x200430000;
var NPAGES = 20;
var INVALID_POINTER = 0;
var HAMMER_FONT_NAME = "font8"; //must take bucket 3 of 8 (counting from zero)
@TheArchitectEngineer
TheArchitectEngineer / GRepoClone.bash
Last active March 3, 2020 16:49 — forked from milanboers/clone.bash
Clone all repositories of a Github user
curl -s https://api.github.com/users/xsspark/repos | grep \"clone_url\" | awk '{print $2}' | sed -e 's/"//g' -e 's/,//g' | xargs -n1 git clone
@TheArchitectEngineer
TheArchitectEngineer / install
Created February 26, 2020 18:00 — forked from ahoarau/install
ROS Melodic on macOS Catalina
#!/bin/bash
# Software License Agreement (BSD)
#
# Author Mike Purvis <mpurvis@clearpathrobotics.com>
# Corrected by Fuzzy Logic Robotics, Inc., All rights reserved.
# Copyright (c) 2014-2016, Clearpath Robotics, Inc., All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification, are permitted provided that
# the following conditions are met:
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the
@TheArchitectEngineer
TheArchitectEngineer / Makefile.patch
Created August 30, 2018 21:32 — forked from gburd/Makefile.patch
Building the xv6 operating system using Clang on OS/X (10.8) for fun and non-profit.
diff --git a/Makefile b/Makefile
index 33bfb0a..af625c8 100644
--- a/Makefile
+++ b/Makefile
@@ -29,10 +29,10 @@ OBJS = \
vm.o\
# Cross-compiling (e.g., on Mac OS X)
-#TOOLPREFIX = i386-jos-elf-
+TOOLPREFIX = /opt/gnu/bin/i386-jos-elf-