Skip to content

Instantly share code, notes, and snippets.

@Oifan
Oifan / fix-gpg-pacman.sh
Created March 9, 2025 09:22
[Manjaro / HowTo] Solve Keyring Related Issues in Manjaro
#!/usr/bin/env bash
# from https://forum.manjaro.org/t/howto-work-around-gpg-verification-issue-on-left-behind-systems/125822
set -o errexit #>Exit when a command fails (returns non-zero)
set -o pipefail #>Exit when a command within a pipeline fail (returns non-zero)
set -o nounset #>Forbid to use unset
# Reset language to default
export LANG=C
@Oifan
Oifan / .mp4_eia608.md
Last active February 8, 2024 23:41
MP4 + EIA-608 captions (soft-embedded)
@Oifan
Oifan / .Cube World Alpha - Extras.md
Last active May 4, 2024 21:11
Cube World Alpha - Extras
@Oifan
Oifan / [Rhino-X-Java - hiddenField]
Last active May 28, 2018 19:48
[Rhino-X-Java - hiddenField] Accessing Java members from Rhino JS Engine
[Rhino-X-Java - hiddenField]
Accessing Java members from Rhino JS Engine
@Oifan
Oifan / WsChat.html
Last active September 16, 2016 15:18 — forked from chitan/WsChat.html
How to use WebSocket of Tomcat-7.0.52 --> Deploy and visit URL http://localhost:8080/WsChat/WsChat.html?who=Tester123
<!DOCTYPE html>
<!-- move this file to: src/main/webapp/WsChat.html -->
<html>
<head>
<meta charset="utf-8">
<title>Tomcat WebSocket Chat</title>
<script type="text/javascript">
function params2Form(){
var hashParams = window.location.search.substr(1).split('&');