Skip to content

Instantly share code, notes, and snippets.

View olliecheng's full-sized avatar

Oliver Cheng olliecheng

View GitHub Profile
@olliecheng
olliecheng / ucat-raw-marks.md
Last active August 12, 2023 07:24
View your raw UCAT marks - and a form where you can contribute to the community and help us make conversions more accurate and insightful.

FORM IF THAT'S WHAT YOU'RE AFTER: https://forms.gle/gpfmoVufK8txotjh8


Hi everyone,

This is @denosawr, one of the mods at the /r/UCAT Discord. Recently we had someone in the community tell us that raw score data from your actual UCAT is sent to the client when you open the score page.

This means that, for the first time ever to my knowledge, we have a way of relating raw subtest scores with a normalised score out of 900. This is super exciting and means that we may be able to make more accurate calculators and perform some truly useful analysis for the first time ever. I'm asking for your help to send me your anonymised score data, to make this possible. My goal is not only to have a better idea of score conversion methodology, but also to be able to relate percentiles with indicative UCAT marks. That is, if you're in the top 95% of QR scorers, what will your score be?

@olliecheng
olliecheng / export-roamsafe-certs.ps1
Created July 29, 2020 11:37
export CyberHound software certificates to a specified directory, and then add the bundle to requests and cURL
$finalCertPath = "C:\Program Files\Common Files\SSL\cert.crt"
# [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://hasteb.in/raw/axihanay'))
# Check if user has Administrator perms
$hasAdministrator = ([Security.Principal.WindowsPrincipal] `
[Security.Principal.WindowsIdentity]::GetCurrent() `
).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)
<div id="container">
<div id="draggable">
<!-- #draggable is the div inside which things can be dragged -->
<div class="block" id="one">
Drag me!
</div>
<div class="block" id="two">
Crash!
// ==UserScript==
// @name Inline Math for Notion.so
// @homepageURL https://www.notion.so/evertheylen/Notion-Inline-Math-9c5047a4e7c84643848b3630db8d5a5e
// @version 0.2.1
// @match https://www.notion.so/*
// @grant GM_addStyle
// @require https://cdn.jsdelivr.net/npm/katex@0.10.0/dist/katex.js
// ==/UserScript==
// Instructions for use:
@echo off
echo TTB Startup Fixer
set /P EXEPATH="Drag and drop your TTB .exe into here and press Return/Enter: "
set /P CFGPATH="Drag and drop your config file into here and press Return/Enter: "
echo Now, open a command prompt window as Administrator (or press Windows+X together and then press A) and paste in this command:
echo reg add HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\ /v TranslucentTB /t REG_SZ /d "%EXEPATH% -config %CFGPATH%" /f
PAUSE