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
# This file has been auto-generated by i3-config-wizard(1). | |
# It will not be overwritten, so edit it as you like. | |
# | |
# Should you change your keyboard layout somewhen, delete | |
# this file and re-run i3-config-wizard(1). | |
# | |
# i3 config file (v4) | |
# | |
# Please see http://i3wm.org/docs/userguide.html for a complete reference! |
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 | |
TIMEOUT=5 | |
THINKLIGHT=/sys/class/leds/tpacpi\:\:thinklight/brightness | |
function send2dzen() { | |
for i in 1 2; do | |
#echo $* | dzen2 -p 5 -fg \#FFFFFF -bg \#0000FF -ta l -y -18 -h 18 -fn -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 -xs $i & |
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 | |
IP="189.126.11.82" | |
MAC="00:0f:20:2f:63:d9" | |
function printcount() { | |
tshark -r trafego1.pcap -R "$1" -w temp.pcap > /dev/null 2>&1 | |
capinfos -c temp.pcap | grep packets | cut -f 6 -d " " | |
} |
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
[2011][pfsmorigo@beren:~/Dropbox/Study/2012-SEGC/e03]$ gcc extractor_v3.c -lpcap -o extractor | |
extractor_v3.c:20:0: warning: "ETHER_ADDR_LEN" redefined [enabled by default] | |
/usr/include/net/ethernet.h:60:0: note: this is the location of the previous definition | |
extractor_v3.c: In function ‘main’: | |
extractor_v3.c:123:21: error: ‘struct tcphdr’ has no member named ‘th_off’ | |
extractor_v3.c:129:21: error: ‘struct udphdr’ has no member named ‘uh_ulen’ | |
extractor_v3.c: In function ‘check_proto’: | |
extractor_v3.c:161:19: warning: assignment makes pointer from integer without a cast [enabled by default] | |
extractor_v3.c:161:81: warning: assignment makes pointer from integer without a cast [enabled by default] |
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
int main(int argc,char **argv) | |
{ | |
pcap_t *handle; | |
char errbuf[PCAP_ERRBUF_SIZE]; | |
struct bpf_program fp; | |
const char *pcap_file = "trafego1.pcap"; | |
bpf_u_int32 net; | |
char *string_mac = "00:0f:20:2f:63:d9"; | |
char *string_ip = "189.126.11.82"; |
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
=== modified file 'ChangeLog' | |
--- ChangeLog 2012-05-30 12:56:53 +0000 | |
+++ ChangeLog 2012-05-31 01:11:02 +0000 | |
@@ -1,3 +1,8 @@ | |
+2012-05-30 Paulo Flabiano Smorigo <[email protected]> | |
+ | |
+ * util/grub-install.in: Writes core.elf in PReP even if the --no-nvram | |
+ parameter is used. | |
+ | |
2012-05-30 Vladimir Serbinenko <[email protected]> |
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 | |
EDITOR=vim | |
TASKBIN=task | |
FOLDER="${HOME}/Dropbox/tasknotes/" | |
EXT=".wiki" | |
# Display usage if task number not supplied on cli | |
if [ "$1" = "" ]; then | |
echo "Usage: $(basename $0) <id>" |
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
=== modified file 'ChangeLog' | |
--- ChangeLog 2012-06-13 20:44:45 +0000 | |
+++ ChangeLog 2012-06-15 13:28:29 +0000 | |
@@ -1,3 +1,10 @@ | |
+2012-06-15 Paulo Flabiano Smorigo <[email protected]> | |
+ | |
+ * po/POTFILES: Remove leftover efi/time.h, i386/efi/time.h, | |
+ i386/ieee1275/time.h, powerpc/ieee1275/time.h, sparc64/ieee1275/time.h | |
+ and x86_64/efi/time.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
=== modified file 'ChangeLog' | |
--- ChangeLog 2012-06-13 20:44:45 +0000 | |
+++ ChangeLog 2012-06-15 14:02:41 +0000 | |
@@ -1,3 +1,7 @@ | |
+2012-06-15 Paulo Flabiano Smorigo <[email protected]> | |
+ | |
+ * po/POTFILES.in: Regenerated. | |
+ | |
2012-06-13 Vladimir Serbinenko <[email protected]> | |
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 | |
# Add to i3 config: | |
# bindsym XF86TouchpadToggle exec toggle_touchpad | |
STATE=0 | |
if [ "$(xinput list-props 12 | grep "Device Enabled" | cut -f 3)" == "0" ]; then | |
STATE=1 | |
fi |
OlderNewer