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
rpm -ivh http://yum.puppetlabs.com/el/6/products/i386/puppetlabs-release-6-6.noarch.rpm | |
yum update | |
yum install puppetlabs-release install puppet puppetmaster |
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
add-apt-repository ppa:stebbins/handbrake-releases | |
apt-get update | |
apt-get install handbrake-gtk handbrake-cli | |
ghb | |
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
echo 0 > /proc/sys/net/ipv6/conf/eth0/accept_ra | |
echo 0 > /proc/sys/net/ipv6/conf/eth0/autoconf | |
# | |
echo 0 > /proc/sys/net/ipv6/conf/eth1/accept_ra | |
echo 0 > /proc/sys/net/ipv6/conf/eth1/autoconf |
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
drbdadm secondary <resource> | |
drbdadm disconnect <resource> | |
drbdadm -- --discard-my-data connect <resource> |
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
exit | |
umount $KNO/source/sys | |
umount $KNO/source/proc | |
umount $KNO/source/dev |
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
wodim --devices | |
wodim: Overview of accessible drives (1 found) : | |
------------------------------------------------------------------------- | |
0 dev='/dev/sg1' rwrw-- : 'TSSTcorp' 'DVD+-RW TS-H653B' | |
------------------------------------------------------------------------- |
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
echo "<?php include('openvpn.inc'); openvpn_resync_all();?>" | php -q |
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
dhcp3-relay dhcp3-relay/servers string 10.0.0.1 | |
dhcp3-relay dhcp3-relay/interfaces string eth0 | |
dhcp3-relay dhcp3-relay/options string |
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
stty -ixon |
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
public class Cell { | |
private Cell next; | |
private Object element; | |
public Cell(Object element) { | |
this.element = element; | |
} | |
public Cell(Object element, Cell next) { | |
this.element = element; |