Skip to content

Instantly share code, notes, and snippets.

View hicolour's full-sized avatar

Marek Prochera hicolour

View GitHub Profile
@hicolour
hicolour / rhel-collectd.sh
Last active November 18, 2020 03:18
rhel-collectd
#!/bin/bash
# Perform installation as root
# Install prereqs
yum -y install libcurl libcurl-devel rrdtool rrdtool-devel rrdtool-prel libgcrypt-devel gcc make gcc-c++
# Get Collectd, untar it, make it and install
cd /tmp/
wget http://collectd.org/files/collectd-5.4.2.tar.gz
tar zxvf collectd-5.4.2.tar.gz
@hicolour
hicolour / notes.md
Created January 8, 2015 16:18
notes

adwaita

@hicolour
hicolour / hidden-partition.md
Last active August 29, 2015 14:13
hidden-partition
  • Alt + F10 - Access Acer disk-to-disk (D2D) recovery partition. Note: you may need to enable the D2D option in CMOS setup.
  • F9 - Access ASUS EEE PC hidden partition.
  • F10 or F11 - Access the Compaq (Hewlett Packard) recovery partition.
  • Ctrl + F11 or F8 - Access Dell computers Dell System Restore (DSR) partition on many different models.
  • F11 or Alt + F10 - Access eMachine option to restore a backup copy.
  • F11 - Access Gateway hidden restore partition
  • F11 - Access Lenovo hidden recovery partition.
  • F10 - Access Sony hidden restore partition.
  • 0 (zero key) or F8 - Access Toshiba hidden partition.
@hicolour
hicolour / rackspace-flavour-image.txt
Last active August 29, 2015 14:11
rackspace-flavour-image.md
Images List
+--------------------------------------+--------------------------------------------------------------+
| ID | Name |
+--------------------------------------+--------------------------------------------------------------+
| f70ed7c7-b42e-4d77-83d8-40fa29825b85 | CentOS 6.4 |
| ea8fdf8a-c0e4-4a1f-b17f-f5a421cda051 | CentOS 6.5 |
| 41e59c5f-530b-423c-86ec-13b23de49288 | CentOS 6.5 (PVHVM) |
| c6e2fed0-75bf-420d-a744-7cfc75a1889e | Red Hat Enterprise Linux 6.4 |
| 1705c794-5d7e-44d6-87da-596e3cf92144 | Red Hat Enterprise Linux 6.5 |
| 046832f9-4549-4b38-a903-11acecac8cb9 | Red Hat Enterprise Linux 6.5 (PVHVM) |
@hicolour
hicolour / prochera_gist_typed_Named.java
Created December 8, 2014 16:28
TypedActor Singleton
package com.prochera.gist.typed;
import scala.concurrent.Future;
public interface Named {
public Future<String> name();
}
@hicolour
hicolour / wicd-curses-patch.md
Last active December 11, 2015 07:45
wicd-curses-patch
@hicolour
hicolour / Acc.md
Last active August 29, 2015 14:10
akka-java8-acceptor

Acceptor

Exposing actor behavior via java8 api

@hicolour
hicolour / pi-notes
Created August 23, 2014 17:32
pi-notes
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
GPIO.setup(17,GPIO.OUT)
GPIO.output(17,0)
GPIO.setup(15,GPIO.OUT)
GPIO.output(15,0)
@hicolour
hicolour / gist:2eec909cf59de7d774b5
Last active August 29, 2015 14:05
pi-wifi-power-mgnt
# Disable power mgt
sudo su
echo "wireless-power off" >> /etc/network/interfaces
echo "options 8188eu rtw_power_mgnt=0" > /etc/modprobe.d/8188eu.conf
echo "0" > /sys/module/8192cu/parameters/rtw_power_mgnt
@hicolour
hicolour / ras-pi-wifi-issue tp-link issue
Last active August 29, 2015 14:05
ras-pi-wifi-issue tp-link issue