Skip to content

Instantly share code, notes, and snippets.

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

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
kunl / GreasyForkZhiHu
Created May 16, 2022
Greasy Fork 知乎
View GreasyForkZhiHu
// ==UserScript==
// @name 知乎 关闭登录提示
// @namespace http://tampermonkey.net/
// @version 0.1
// @description 知乎登录弹窗处理
// @author 忆年
// @match https://zhuanlan.zhihu.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=zhihu.com
// @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.
View voidlinux-fix-font-rendering.sh
#!/usr/bin/env bash
if [[ "$EUID" != 0 ]]; then
echo "ERROR: ${0##*/} needs root privileges to run. Exiting gracefully."
exit 1
fi
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
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
{
[SerializeField]
MeshRenderer wallRenderer, wall2Renderer;
Transform cubeTrans;
@JucaRei
JucaRei / void.md
Created May 16, 2022 — forked from Dko1905/void.md
A guide to install void linux with encrypted root and unencrypted root, with lvm2. (AES-512, lvm)
View void.md

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.

Disclaimer

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
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:1.3.0.0]: 0Harmony(2.2.1), HarmonyMod(1.3.0)
Core(Ludeon.RimWorld): (no assemblies)
Zombieland(brrainz.zombieland)[mv:3.1.0.0]: 0Harmony(av:2.2.1,fv:1.2.0.1), Firebaser(0.9.6), CrossPromotion(1.0.0), Newtonsoft.Json(av:9.0.0,fv:9.0.1.19813), 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]