Skip to content

Instantly share code, notes, and snippets.

View jukrb0x's full-sized avatar
🥟
Victory is indeed mine!

Jabriel jukrb0x

🥟
Victory is indeed mine!
  • Penguin Factory
  • Hogsmeade ↔️ Tropics
View GitHub Profile
@jukrb0x
jukrb0x / README.md
Created March 30, 2024 18:45
neovim-yank-windows-clipboard-sync

create neovim rc file: %USERPROFILE%\AppData\Local\nvim\init.lua

this script enables NeoVim yank synced with either windows or wsl (windows subsystem for linux) clipboard.

@jukrb0x
jukrb0x / capstoctrl.reg
Created March 2, 2024 13:49
win10 switch capslock and ctrl
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,1d,00,3a,00,3a,00,1d,00,00,00,00,00
@jukrb0x
jukrb0x / MeshDestroy.cs
Created July 28, 2022 09:56 — forked from ditzel/MeshDestroy.cs
MeshDestroy => Put it on a game object with a mesh filter and renderer. Make sure to have read/write enabled on fbx import
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MeshDestroy : MonoBehaviour
{
private bool edgeSet = false;
private Vector3 edgeVertex = Vector3.zero;
private Vector2 edgeUV = Vector2.zero;
@jukrb0x
jukrb0x / bbr.sh
Created September 12, 2021 11:31
Install latest TCP BBR
#!/usr/bin/env bash
#
# Auto install latest kernel for TCP BBR
#
# System Required: CentOS 6+, Debian8+, Ubuntu16+
#
# Copyright (C) 2016-2021 Teddysun <i@teddysun.com>
#
# URL: https://teddysun.com/489.html
#
@jukrb0x
jukrb0x / readme.md
Last active July 15, 2021 14:00
Awesome Terminal Development Setup

My personal love setup for terminal. Tmux + Neovim

Prefix jobs

  • Install tmux (personally don't like byobu)
  • Install nVim

Use Dotfiles

  • Install LunarVim
  • awesome plugins are included in this repo
@jukrb0x
jukrb0x / hyper.sh
Created December 13, 2020 14:16
Alfred Terminal Script for iTerm2 and Hyper
on alfred_script(q)
write_to_file(q, "/Users/USERNAME/.hyper_plugins/hyperalfred.txt", false)
tell application "Hyper" to activate
end alfred_script
on write_to_file(this_data, target_file, append_data)
try
tell application "System Events" to exists file target_file
if not the result then do shell script "> " & quoted form of target_file
set the open_target_file to open for access target_file with write permission
@jukrb0x
jukrb0x / caferacer_ip_refresh.md
Last active September 16, 2020 14:09
caferacer wifi DHCP problem - quick way to fix it

问题描述

兰总店里的路由DHCP有点毛病,似乎IP分配后很快就会过期导致无法上网。如何解决呢。

  • 解决兰总
  • 解决咖啡店
  • 用流量
  • Renew DHCP release

解决方案

@jukrb0x
jukrb0x / Activate Office 2019 for macOS VoL.md
Created September 7, 2020 13:48 — forked from zthxxx/Activate Office 2019 for macOS VoL.md
crack activate office on mac with license file

Activate MS Office 2019/2016 for macOS - Microsoft_Office_2019_VL_Serializer

Office 2019 above

2019-06-03

Note that Office2019 DO NOT support activate via simple copy/paste plist license file which is the simplest way to activate Office 2016. Fortunately, you can also use the VL Serializer tool, just install Office 2019 and Serializer, then run Serializer to activate.

Ref

@jukrb0x
jukrb0x / Fuckoff-Mediasite.css
Created May 1, 2020 13:40
Fuckoff-Mediasite: Hide all mediasite video frame in course pages, out of teachers who ignored to put it in a right way.
.modtype_mediasite .mod-indent-outer .contentafterlink .no-overflow .mediasite-content {
display:none;
}
@jukrb0x
jukrb0x / publi.sh
Last active April 30, 2020 15:01
Bash script for updating Hugo Blog | Hugo Generator & Packaging + Uploading
#!/bin/sh
# you need to pre-install SSHPASS on your own computer, if not, check this out: https://gist.github.com/arunoda/7790979
# My default username is root, you may change it to yourself.
# ====== VAR ======
hugoRoot='/Users/xxxxxx/hugo/blog/'
publicFolder='/Users/xxxxxx/hugo/blog/public'
zipName='Archive.zip'
zipLoc=$publicFolder/$zipName
hostname='xxx.xxx.xxx.xxx'
upTo='/www/wwwroot/webxxx'