Skip to content

Instantly share code, notes, and snippets.

Maulik Mistry m1st0

Block or report user

Report or block m1st0

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@m1st0
m1st0 / toggleHT.sh
Last active May 21, 2019 — forked from samueljon/toggleHT.sh
Disable / Enable HyperThreading cores on runtime - linux
View toggleHT.sh
#!/bin/bash
# Turn hyperthreading on or off.
HYPERTHREADING=1
RED="\033[0;31m"
GREEN="\033[0;32m"
YELLOW="\033[0;33m"
ENDCOLOR="\033[0m"
function toggleHyperThreading() {
@m1st0
m1st0 / performance_switch_cpu.sh
Last active Aug 4, 2017
Switch governors for intel_pstate drivers in KDE.
View performance_switch_cpu.sh
#! /bin/bash
# Allows for switching governors in intel_pstate drivers in KDE.
#
# Author: Maulik Mistry
# Date: Aug 04, 2017
# References: https://wiki.archlinux.org/index.php/CPU_frequency_scaling#Scaling_governors
# Requires: KDE, libnotify-bin, cpupower
#
# License: BSD License 2.0
@m1st0
m1st0 / php7_build_ubuntu.sh
Last active Jan 15, 2020
Compiling PHP 7 on Ubuntu 15.04 with Various Supported Modules
View php7_build_ubuntu.sh
#! /bin/bash
# PHP 7 Initial Compile #
# Author: Maulik Mistry
# Date: Aug 04, 2017
# References:
# http://www.zimuel.it/install-php-7/
# http://www.hashbangcode.com/blog/compiling-and-installing-php7-ubuntu
#
# License: BSD License 2.0
You can’t perform that action at this time.