Skip to content

Instantly share code, notes, and snippets.

View jemekite's full-sized avatar

Jemekite jemekite

View GitHub Profile
@jemekite
jemekite / smushit.sh
Last active November 2, 2023 04:45 — forked from alexdunae/smushit.sh
#!/bin/bash
#
# Home-rolled Smush.it, by Alex Dunae (http://dialect.ca). Modified by Abidkecil
#
# N.B. This script works for me; it may not work for you.
# Since it overwrites your images with the optimized version, you should
# backup your files before running this script and do a trial run before
# getting too excited. This is your disclaimer.
#
# Uses jpegtran (http://jpegclub.org/jpegtran/), part of libjpeg,
@jemekite
jemekite / ciphersuite
Last active August 29, 2015 14:06
Optimal SSL Cipher Suite for WHM
# SSLCipherSuite can be set in WHM under 'Apache Global Configuration'
EECDH+ECDSA+AESGCM:EECDH+aRSA+AESGCM:EECDH+ECDSA+SHA384:EECDH+ECDSA+SHA256:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EECDH+aRSA+RC4:EECDH:EDH+aRSA:RC4:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS:+RC4:RC4
@jemekite
jemekite / sph-sgminer.sh
Created March 5, 2014 02:09
BAMT sph-sgminer installer script
#!/bin/sh
mine stop
wget http://smos-linux.org/upgrade/sgminer.pl
wget http://smos-linux.org/upgrade/sgminer2.pl
rm -rf /opt/bamt/gpumon
mv sgminer2.pl /opt/bamt/gpumon
rm -rf /opt/bamt/common.pl
mv sgminer.pl /opt/bamt/common.pl
sleep 5
cd /opt/miners/