This file contains hidden or 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
-- Standard awesome library | |
require("awful") | |
require("awful.autofocus") | |
require("awful.rules") | |
-- Theme handling library | |
require("beautiful") | |
-- Notification library | |
require("naughty") | |
-- {{{ Variable definitions |
This file contains hidden or 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
-- Standard awesome library | |
require("awful") | |
require("awful.autofocus") | |
require("awful.rules") | |
-- Theme handling library | |
require("beautiful") | |
-- Notification library | |
require("naughty") | |
-- {{{ Variable definitions |
This file contains hidden or 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 | |
SINK_NAME="alsa_output.usb-szmy-power_USB_Headphone-00-Headphone.analog-stereo" | |
VOL_STEP="0x01000" | |
VOL_NOW=`pacmd dump | grep "set-sink-volume $SINK_NAME" | perl -p -i -e 's/.+\s(.x.+)$/$1/'` | |
case "$1" in | |
plus) | |
VOL_NEW=$((VOL_NOW + VOL_STEP)) |
This file contains hidden or 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 | |
alias ls='ls --color=auto ' | |
alias grep='grep --color=auto' | |
alias emerge='sudo emerge' | |
alias gitlog="cd /usr/portage;git log; cd -" | |
alias pastebin='gist' | |
chatgrep () { grep -iR "$1" ~/.xchat2/xchatlogs/*$2*; } | |
chatgrep-funtoo () { grep -iR "$1" ~/.xchat2/xchatlogs/FreeNode-#funtoo.log; } | |
chatgrep-gentoo () { grep -iR "$1" ~/.xchat2/xchatlogs/FreeNode-#gentoo.log; } | |
chatgrep-gentoo-chat () { grep -iR "$1" ~/.xchat2/xchatlogs/FreeNode-#gentoo-chat.log; } |
This file contains hidden or 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
1|root@android:/ # mount | |
rootfs / rootfs ro,relatime 0 0 | |
tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0 | |
devpts /dev/pts devpts rw,relatime,mode=600 0 0 | |
proc /proc proc rw,relatime 0 0 | |
sysfs /sys sysfs rw,relatime 0 0 | |
none /acct cgroup rw,relatime,cpuacct 0 0 | |
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0 | |
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0 | |
none /dev/cpuctl cgroup rw,relatime,cpu 0 0 |
This file contains hidden or 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
<god-zotac> not sure about that, i haven't ever done exactly what you are doing | |
<god-zotac> is this for a school project or something? | |
<motherbrain> I am just worried that the kprint message would scroll by to fast for me to see... | |
<god-zotac> you can enable kernel message printing to file | |
<motherbrain> your saying print it to a log file.... we how would you do that | |
<god-zotac> if you have kernel debugging enabled, there is a cmdline boot option that will let messages be appended to a defined file | |
<god-zotac> i'm not sure what the cmd line is to log kernel debugging though ill have to google that for ya | |
<god-zotac> http://elinux.org/Kernel_Debugging_Tips | |
<god-zotac> that page seems to be pretty helpful for everything you have asked about :) | |
<motherbrain> thanks but I have a more fundemental problem how do you enable kernel debugging . Is that just an option in a grub file... Basically I need some step by step of how you enable it in linux |
This file contains hidden or 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 | |
#Clear old iptables and nat rules (flush) | |
iptables -F | |
iptables -t nat -F | |
#Create Input, Output, and Forward Chains | |
iptables -P INPUT ACCEPT | |
iptables -P OUTPUT ACCEPT | |
iptables -P FORWARD DROP |
This file contains hidden or 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
godmachine81@zotac:~/kindlefire/kernel/android-2.6.35$ diff -ur ./ ../../stock-amazon-kernel/|grep "Only in" | |
Only in ../../stock-amazon-kernel/arch/arm/configs: otter_android_defconfig | |
Only in ../../stock-amazon-kernel/arch/arm/mach-omap2: board-4430kc1.c | |
Only in ../../stock-amazon-kernel/arch/arm/mach-omap2: board-kc1-reboot.c | |
Only in ../../stock-amazon-kernel/: diffs.txt | |
Only in ../../stock-amazon-kernel/drivers/hwmon: omap_bandgap.c | |
Only in ../../stock-amazon-kernel/drivers/hwmon: pmic_thermal.c | |
Only in ../../stock-amazon-kernel/drivers/i2c: SenseTek | |
Only in ../../stock-amazon-kernel/drivers/input/touchscreen: ilitek.c | |
Only in ../../stock-amazon-kernel/drivers/leds: leds-omap-pwm.c |
This file contains hidden or 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
drivers/usb/gadget/Kconfig:1003:warning: choice value used outside its choice group | |
drivers/usb/gadget/Kconfig:1009:warning: choice value used outside its choice group | |
warning: (MEDIA_TUNER && MEDIA_SUPPORT && VIDEO_MEDIA && I2C && !MEDIA_TUNER_CUSTOMISE || VIDEO_CX23885 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && DVB_CORE && VIDEO_DEV && PCI && I2C && INPUT && IR_CORE && !MEDIA_TUNER_CUSTOMISE || VIDEO_AU0828 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && I2C && INPUT && DVB_CORE && USB && VIDEO_V4L2 && !MEDIA_TUNER_CUSTOMISE || VIDEO_CX231XX_DVB && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && V4L_USB_DRIVERS && USB && VIDEO_CX231XX && DVB_CORE && !DVB_FE_CUSTOMISE || DVB_USB_DIB0700 && MEDIA_SUPPORT && DVB_CAPTURE_DRIVERS && DVB_CORE && DVB_USB && !MEDIA_TUNER_CUSTOMISE || VIDEO_TM6000 && STAGING && !STAGING_EXCLUDE_BUILD && VIDEO_DEV && I2C && INPUT && IR_CORE && USB && EXPERIMENTAL) selects MEDIA_TUNER_XC5000 which has unmet direct dependencies (MEDIA_SUPPORT && MEDIA_TUNER_CUSTOMI |
This file contains hidden or 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
Traceback (most recent call last): | |
File "../../../../tools/json_schema_compiler/compiler.py", line 22, in <module> | |
import idl_schema | |
File "/var/tmp/portage/www-client/chromium-9999-r1/work/chromium-9999/tools/json_schema_compiler/idl_schema.py", line 21, in <module> | |
import idl_parser | |
File "/var/tmp/portage/www-client/chromium-9999-r1/work/chromium-9999/tools/json_schema_compiler/../../ppapi/generators/idl_parser.py", line 34, in <module> | |
from idl_lexer import IDLLexer | |
File "/var/tmp/portage/www-client/chromium-9999-r1/work/chromium-9999/tools/json_schema_compiler/../../ppapi/generators/idl_lexer.py", line 33, in <module> | |
from ply import lex | |
ImportError: No module named ply |
OlderNewer