Skip to content

Instantly share code, notes, and snippets.

View VGerris's full-sized avatar

OpenMinded VGerris

  • S3 Solutions
  • Sweden
View GitHub Profile
@VGerris
VGerris / gist:79a14c559255d126ea96311ef90fb474
Last active September 9, 2016 11:37 — forked from n0ts/get_oracle_jdk_x64.sh
get_jdk_linux_x64.sh
#!/bin/bash
# You must accept the Oracle Binary Code License
# http://www.oracle.com/technetwork/java/javase/terms/license/index.html
# usage: get_jdk.sh <rpm|tar> <jdk_version>
# jdk_version: default 8
# rpm
EXT="rpm"
JDK_VERSION="8"
@VGerris
VGerris / xps_9560_ifr.txt
Created November 29, 2022 23:03 — forked from al3xtjames/xps_9560_ifr.txt
Dell XPS 15 9560 (1.2.5) NVRAM edits
# Set Intel(R) Speed Shift Technology to Enabled
setup_var 0x4BC 0x1
# Set CFG Lock to Disabled
setup_var 0x4ED 0x0
# Set Above 4GB MMIO BIOS assignment to Enabled
# setup_var 0x79A 0x1
# Set EHCI Hand-off to Disabled
# setup_var 0x2 0x0
# Set XHCI Hand-off to Disabled
@VGerris
VGerris / rndhostname
Created August 13, 2023 10:53 — forked from boriel/rndhostname
Simple proxmox container scaling (Elastic cloud project)
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import datetime
import random
LEN = 5
PREFIX = 'ct-dm-core-job-'
DIGITS = ''.join(str(x) for x in range(10))