This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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)) |