Skip to content

Instantly share code, notes, and snippets.

View nikhiljha's full-sized avatar
and like a thunderbolt

Nikhil Jha nikhiljha

and like a thunderbolt
View GitHub Profile
diff --git a/pom.xml b/pom.xml
index 44e66b1..0a23f94 100644
--- a/pom.xml
+++ b/pom.xml
@@ -11,6 +11,7 @@
<!-- Set this property to true on the command-line for very verbose output -->
<properties>
<chocopy.debug>false</chocopy.debug>
+ <kotlin.version>1.8.20-Beta</kotlin.version>
</properties>
@nikhiljha
nikhiljha / chatGPT.user.js
Created December 5, 2022 23:33
chatgpt arbitrary code execution
// ==UserScript==
// @name Connect ChatGPT to the Internet
// @namespace https://chat.openai.com/
// @version 0.1
// @description Because why not!
// @author You
// @match https://chat.openai.com/chat
// @grant none
// ==/UserScript==
@nikhiljha
nikhiljha / README.md
Last active May 15, 2024 04:43
Apple Silicon (M1) + MultiMC + Minecraft 1.18 + Native LWJGL

Edit (2024): You no longer need to follow this guide! Just use PrismLauncher.

.

.

.

.

@nikhiljha
nikhiljha / server-setup.md
Created November 22, 2020 21:43
How to setup a Ubuntu 20.04 server with Kubernetes + CRI-O + Cilium

server-setup.md

How to setup a Ubuntu 20.04 server with Kubernetes + CRI-O + Cilium

Networking

vim /etc/netplan/01-netcfg.yaml # optional, if DHCP isn't good enough

CRI-O Installation

@nikhiljha
nikhiljha / feedbackd.spec
Created March 1, 2020 02:31
Feedbackd for Fedora
Name: feedbackd
# This is the "stable" version that other projects (such as phosh 0.2.0) depend on.
Version: 0.0.0+git20200214
Release: 0%{?dist}
Summary: Feedback library for GNOME
License: GPLv3+
URL: https://source.puri.sm/Librem5/feedbackd
Source0: https://source.puri.sm/Librem5/feedbackd/-/archive/v%{version}/%{name}-v%{version}.tar.gz
@nikhiljha
nikhiljha / rust-xkbcommon.spec
Created February 29, 2020 18:24
rust-xkbcommon for Fedora
# Generated by rust2rpm 13
%bcond_without check
%global debug_package %{nil}
%global crate xkbcommon
Name: rust-%{crate}
Version: 0.4.0
Release: 1%{?dist}
Summary: Rust bindings and wrappers for libxkbcommon
From c8075c4396c04b3a6778b4ed6d5c21b20999ef77 Mon Sep 17 00:00:00 2001
From: Nikhil Jha <hi@nikhiljha.com>
Date: Fri, 28 Feb 2020 19:49:49 -0800
Subject: [PATCH] upgrade dependencies
---
Cargo.lock | 340 ++++++++++++++++++++++++++++++++-----------------
Cargo.toml | 4 +-
src/popover.rs | 6 +-
src/style.rs | 4 +-
@nikhiljha
nikhiljha / ansible_playbook.yml
Created May 2, 2019 00:15
GlusterFS Ansible Setup
---
- hosts: gluster
become: true
vars:
gluster_mount_dir: /mnt/g1
gluster_brick_dir: /bricks/brick1
gluster_brick_name: g1
tasks:
- name: Install parted
import 'dart:convert';
void main() {
List decoded = json.decode("""[
{
"date": "2018-08-23 08:00:00",
"end": "2018-08-23 08:25:00",
"info": "Advisement",
"isclass": "1",
@nikhiljha
nikhiljha / keybase.md
Created March 3, 2018 21:36
My keybase proof.

Keybase proof

I hereby claim:

  • I am nikhiljha on github.
  • I am njha (https://keybase.io/njha) on keybase.
  • I have a public key ASDgeQRDhU2laLsahH4HmrkgATkmbhJzoyNQUQEqEuA2fgo

To claim this, I am signing this object: