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 | |
GOV=`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor` | |
MIN=`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq` | |
MAX=`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq` | |
echo "$GOV $MIN $MAX" | awk '{ printf "Governor: %s\nMin Freq: %4dMhz\nMax Freq: %4dMhz\n\n", $1, $2/1000, $3/1000 }' | |
while [ true ]; do | |
C=`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq` |
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 | |
MAXW=800 | |
GETW="%w" | |
SOURCE="" | |
TARGETDIR="$HOME/upload/public" | |
LINKS="$HOME/.publish/links.js" | |
TARGET="" | |
FNAME="" | |
FORCE="" |
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
<!DOCTYPE html> | |
<html lang="hu"> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>published photos</title> | |
<style type="text/css"> | |
html, body { background-color: #222; color: #eee } | |
a:hover { color: #92ca30 } | |
a { color: #3092ca } | |
span { color: #777; display: block; width: 140px; float: left; } |
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 | |
#GPL v3 Licensz érvényes erre a szkriptre. Író: CPT.Pirk | |
#Köszönet bambano, Jester01, vadoca és azbest kollégáknak a prohardver.hu fórumából. | |
# | |
#Nem vagyok se programozó, se informatikus, kérem ezek szerint kezelni a szkriptet. | |
#Azért született meg ez a szkript, mert nem találtam nekem megfelelő megoldást az image fájl | |
#méretének csökkentésére. | |
#deklarációk |
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
/******************************************************************************* | |
* urlde.c | |
* Commandline URL decode - fast and dirty | |
* by tovis 2011 | |
* Build: make urlde and strip urlde | |
* Usage: cat or echo "url coded text" | urlde | |
*******************************************************************************/ | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <string.h> |
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
#variables needed: container number, hostname, ip, mac, auto, consoles | |
#lxc-debconfig lxc-debconfig/preseed-file string /etc/lxc/debconfig/wheezy.preseed | |
#lxc-debconfig lxc-debconfig/preseed-file select | |
lxc-debconfig lxc-debconfig/apt-recommends boolean false | |
lxc-debconfig lxc-debconfig/debconf-frontend select noninteractive | |
lxc-debconfig lxc-debconfig/debconf-priority select low | |
#lxc-debconfig lxc-debconfig/late-host-command string | |
#lxc-debconfig lxc-debconfig/capabilities string mac_admin mac_override sys_admin sys_module | |
lxc-debconfig lxc-debconfig/mount0/entry string /etc/resolv.conf /vz/lxc/template/rootfs/etc/resolv.conf none bind 0 0 | |
lxc-debconfig lxc-debconfig/mount0/comment string Bind mounting host's resolv.conf to the container. |
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
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/"> | |
<os:ShortName>DuckDuckGo</os:ShortName> | |
<os:Description>Search DuckDuckGo</os:Description> | |
<os:InputEncoding>UTF-8</os:InputEncoding> | |
<os:Image width="16" height="16">data:image/x-icon;base64,AAABAAMAEBAAAAEACABoBQAANgAAACAgAAABAAgAqAgAAJ4FAAAwMAAAAQAIAKgOAABGDgAAKAAAABAAAAAgAAAAAQAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUvgAAFMAAABfDAAAYwQAAGscAAB7KAAAgzAAAIcwAACHNAAAizgAAI9AAACTQAAAnzAAAJtMAACnXABktyAAALtgAAC/bAAAx3QAAM+AAADbjAAA34wAAOOQAADzYAAA65wAWPdcAADvoAABG1QC6cg0AAFXdAERS0AAAVd8AAF3cAABp5wAAcOUATGziAAB36AAAeugATHLqAF165ABlg+0A0qRkAACS7wAAlO8AeI7nAIGX6gCVndwAAKX1AACr9gAAr/YAALX4AAC3+QCdrvIAALz6AAC9+QAAv/kAAMD7AADH+wAAyvwAAND9ALHB9QAA0vwA5c68AADT/gAA1P0AANT+AADU/wAA1/8AANj/AADZ/wAA3P8AAN3/AGrV+wAA3/8AAOH/AMrS9ADs3tYA39zmAOHj8AB+6v8A5ur6AKDw/wCq8f8A9fDtAPby7wD38vAA6/D8APfz8QD69O4A8PP8APL0/AD69/IA+/fzAPr39QDd+f8A+/n1APb4/QD7+fgA+/r5AOz8/gD1/P8A+vz/AP7+/QD//v8A////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA |
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
# Template used to create this container: debian | |
# Checksum of the template script (SHA-1): b7ad0dbfed857c24568c74ebeabd093a498ad251 | |
# /var/lib/lxc/template/config | |
## Container | |
lxc.utsname = template | |
lxc.rootfs = /var/lib/lxc/template/rootfs | |
lxc.arch = x86_64 |
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
KEY=/etc/bind/Kize.domain.hu.+111+11111 | |
SERVER=1.2.3.4 | |
ZONE=domain.hu | |
HOSTNAME=ize | |
ddns_setup_set() { | |
if [ "$interface" != "eth0" ] && [ "$new_ip_address" = "$old_ip_address" ]; then | |
return | |
fi | |
( |
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
sales_dsehk | |
dailyappliance2010 |
OlderNewer