Skip to content

Instantly share code, notes, and snippets.

import java.util.Random;
class Vote_cheker{
int president1;
int president2;
int president3;
int president4;
Rajchowdhury420 /
Created May 16, 2022
Zip-Zap-Joe [Misc] - IIT Mandi's Zion CTF 2022
❯ 7z e
❯ mkdir files
❯ find . -type f -exec mv {} ./files \;
JucaRei /
Created May 16, 2022 — forked from jaredculp/
Void Linux

Void Linux Macbook Air 2013

Flash installer:

$ dd if=void-live-x86_64-musl-20181111.iso of=/dev/X bs=1m

login as root:voidlinux

Base Install:

kunl / GreasyForkZhiHu
Created May 16, 2022
Greasy Fork 知乎
View GreasyForkZhiHu
// ==UserScript==
// @name 知乎 关闭登录提示
// @namespace
// @version 0.1
// @description 知乎登录弹窗处理
// @author 忆年
// @match*
// @icon
// @grant none
// @license none
View Untitled38.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/usr/bin/env bash
if [[ "$EUID" != 0 ]]; then
echo "ERROR: ${0##*/} needs root privileges to run. Exiting gracefully."
exit 1
f=(10-hinting-slight.conf 10-scale-bitmap-fonts.conf 10-sub-pixel-rgb.conf 11-lcdfilter-default.conf 20-unhint-small-vera.conf 21-cantarell-hinting.conf 30-metric-aliases.conf 30-urw-aliases.conf 31-cantarell.conf 40-nonlatin.conf 42-luxi-mono.conf 45-latin.conf 49-sansserif.conf 50-user.conf 51-local.conf 57-dejavu-sans-mono.conf 57-dejavu-sans.conf 57-dejavu-serif.conf 60-latin.conf 65-fonts-persian.conf 65-nonlatin.conf 69-unifont.conf 70-no-bitmaps.conf 80-delicious.conf 90-synthetic.conf)
for i in "${f[@]}"; do ln -s /usr/share/fontconfig/conf.avail/"$i" /etc/fonts/conf.d; done
bangugmark01 / gist:1193b5743d8150ea80cc1955e7458075
Last active May 16, 2022
To check the IF the bounds of Cube GameObject collides with Wall1 and Wall 2 GameObject using Bounds & Intersect +movement from GetAxis()
View gist:1193b5743d8150ea80cc1955e7458075
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CubeScript3 : MonoBehaviour
MeshRenderer wallRenderer, wall2Renderer;
Transform cubeTrans;
JucaRei /
Created May 16, 2022 — forked from Dko1905/
A guide to install void linux with encrypted root and unencrypted root, with lvm2. (AES-512, lvm)

Encrypted Void Linux setup w/o encrypted boot

This is a guide for installing Void Linux on an EFI system with non encrypted boot and encrypted root. The guide is based on practical paranoid article and official Void Linux article.

Before you start

I wrote this guide to help myself installing Void Linux w/o encrypted boot. I haven't checked it for grammar errors, so there might be some. I hope it will help you, and good luck. And I know that I use way to many pictures/terminal copy paste.


I am not responsible for any actions you take! This guide was written 2/7/2020, so the info may be outdated. Please remember to use your own computer's partition names.

Required items

HugsLibRecordKeeper / output_log.txt
Created May 16, 2022
Rimworld output log published using HugsLib
View output_log.txt
Log uploaded on Monday, May 16, 2022, 1:28:13 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:]: 0Harmony(2.2.1), HarmonyMod(1.3.0)
Core(Ludeon.RimWorld): (no assemblies)
Zombieland(brrainz.zombieland)[mv:]: 0Harmony(av:2.2.1,fv:, Firebaser(0.9.6), CrossPromotion(1.0.0), Newtonsoft.Json(av:9.0.0,fv:, ZombieLand(3.1.0)
Vanilla Expanded Framework(OskarPotocki.VanillaFactionsExpanded.Core): 0MultiplayerAPI(av:0.3.0,fv:0.3.0), CompOversizedWeapon(1.0.0), ExplosiveTrailsEffect(1.0.7140.31563), HeavyWeapons(1.0.0), KCSG(1.1.2), MVCF(1.0.0), NoCamShakeExplosions(1.0.0), OPToxic(1.0.0), Outposts(av:3.0.0,fv:1.0.0), PipeSystem(1.0.1), RecipeInheritance(1.0.0), Reloading(1.1.0), RRO(1.0.0), SmokingGun(1.0.0), VanillaStorytellersExpanded(1.0.0), VanillaWeaponsExpandedLaser(1.0.0), VFECore(av:1.1.7,fv:1.1.9), VWEMakeshift(1.0.0)
Vanilla Animals Expanded — Boreal Forest(VanillaExpanded.VAEBF)[mv:1.0.0]: (no assemblies)
Vanilla Animals Expanded — Tropical Swamp(VanillaExpanded.VAETS)[mv:1.0.1]