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 | |
function set_alsa { | |
#Unmute Line | |
amixer sset Line 100 -q | |
amixer sset Line unmute -q | |
#Mute PCM record | |
amixer sset PCM Capture 0 -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
#!/bin/bash | |
# | |
# Sylinux Installer / Updater Scripts | |
# Copyright (C) 2011 Matthew Gyurgyik <[email protected]> | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License | |
# as published by the Free Software Foundation; either version 2 | |
# of the License, or (at your option) any later version. | |
# |
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 | |
# Backup Script - Matthew Gyurgyik ([email protected]) | |
# | |
# Backup a System using rsync and --link-dest (hard links) | |
# Backups are stored in a folder called $Year$Month$Day ex. 2010Oct18 | |
# | |
# Exclude file format: | |
# /backup/exclude.txt | |
# + /etc | |
# + /home |
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 | |
# Detects Linux Distribution | |
# | |
# Most Distributions have lsb_release or use /etc/lsb_release | |
# For those that do not we have some fallback cases | |
OS=$(uname -s) | |
VER=$(uname -r) |
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 | |
# Detects Linux Distribution | |
# | |
# Many Distributions have lsb_release or use /etc/lsb_release | |
# For those that do not we have some fallback cases | |
# | |
# The goal is to report the Distribution and Version that is being used | |
# An icon will be display based on the first word of the distro's name. | |
# Example: Scientific Linux 6.1 will be Scientific.png or Scientific.gif |
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
--- baseimg/overlayfs/overlayfs.py.orig 2015-08-24 12:24:00.067498108 -0400 | |
+++ baseimg/overlayfs/overlayfs.py 2015-08-24 12:39:10.807999806 -0400 | |
@@ -65,8 +65,9 @@ def should_touch(): | |
if not path.exists(mtab): | |
return False | |
with open(mtab, 'r') as f: | |
- line = f.readline() | |
- return line.startswith('overlay / overlay') | |
+ for line in f.readlines(): | |
+ if line.startswith('overlay / overlay'): |
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
Puppet::Functions.create_function(:modularfile) do | |
def modularfile(path) | |
path = path.gsub('.', '0x2e') | |
call_function('hiera', [path]) | |
end | |
end |
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
Name: keepassx | |
Version: 2.0 | |
Release: 1%{?dist} | |
Summary: Cross-platform password manager | |
Group: User Interface/Desktops | |
License: GPLv2+ | |
URL: http://www.keepassx.org | |
Source0: keepassx-%{version}.tar.gz | |
BuildRequires: qt4-devel > 4.1 | |
BuildRequires: libXtst-devel |
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
package main | |
import ( | |
"fmt" | |
"github.com/google/gopacket" | |
"github.com/google/gopacket/pcap" | |
"github.com/google/gopacket/layers" | |
"log" | |
) |
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 | |
HARDWARE="\ | |
kmod-pcengines-apuv2 \ | |
kmod-crypto-hw-ccp \ | |
kmod-gpio-nct5104d kmod-gpio-button-hotplug \ | |
kmod-sp5100-tco \ | |
kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb3 \ | |
kmod-sound-core kmod-pcspkr \ | |
amd64-microcode \ |
OlderNewer