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 | |
if [ $# -eq 1 ] | |
then | |
fname=$1 | |
else | |
echo "Invalid Arguments" | |
echo "Usage: newyear.sh filename" | |
exit |
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
REGISTER file:/home/hadoop/lib/pig/piggybank.jar; | |
DEFINE EXTRACT org.apache.pig.piggybank.evaluation.string.EXTRACT(); | |
DEFINE CustomFormatToISO org.apache.pig.piggybank.evaluation.datetime.convert.CustomFormatToISO(); | |
DEFINE ISOToUnix org.apache.pig.piggybank.evaluation.datetime.convert.ISOToUnix(); | |
DEFINE DATE_TIME org.apache.pig.piggybank.evaluation.datetime.DATE_TIME(); | |
DEFINE FORMAT_DT org.apache.pig.piggybank.evaluation.datetime.FORMAT_DT(); | |
DEFINE FORMAT org.apache.pig.piggybank.evaluation.string.FORMAT(); | |
RAW_LOGS = LOAD '$INPUT' as (line:chararray); |
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
diff -uNr x-unikey-1.0.4/src/ukengine/mactab.cpp x-unikey-1.0.4-f17/src/ukengine/mactab.cpp | |
--- x-unikey-1.0.4/src/ukengine/mactab.cpp 2006-04-09 18:46:02.000000000 +0700 | |
+++ x-unikey-1.0.4-f17/src/ukengine/mactab.cpp 2012-06-19 19:53:46.197671119 +0700 | |
@@ -287,7 +287,7 @@ | |
char key[MAX_MACRO_KEY_LEN]; | |
// Parse the input item | |
- char * pos = strchr(item, ':'); | |
+ const char * pos = strchr(item, ':'); | |
if (pos == NULL) |
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
cron { sync_date: | |
command => "/usr/sbin/ntpdate pool.ntp.org", | |
user => root, | |
hour => 2, | |
minute => 0 | |
} |
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
augeas {"add mysqld section options": | |
context => "/files/etc/my.cnf/target[. = 'mysqld']", | |
changes => ["set /files/etc/my.cnf/target[. = 'mysqld'] mysqld", | |
"set local-infile 0", | |
"set datadir /var/lib/mysql"], |
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
deb http://ftp.tw.debian.org/debian/ squeeze main | |
deb-src http://ftp.tw.debian.org/debian/ squeeze main | |
deb http://security.debian.org/ squeeze/updates main | |
deb-src http://security.debian.org/ squeeze/updates main | |
# PVE packages provided by proxmox.com | |
deb http://download.proxmox.com/debian squeeze pve |
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
*** mod_fcgid-2.3.6.org/modules/fcgid/fcgid_pm_main.c 2013-08-07 22:23:51.901000002 +0700 | |
--- mod_fcgid-2.3.6/modules/fcgid/fcgid_pm_main.c 2013-08-07 22:26:18.518000002 +0700 | |
@@ -375,7 +375,6 @@ | |
proc->diewhy = FCGID_DIE_SHUTDOWN; | |
proc_print_exit_info(proc, exitcode, exitwhy, | |
main_server); | |
- apr_pool_destroy(proc->proc_pool); | |
proc->proc_pool = NULL; | |
return 1; | |
} |
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
; <<>> DiG 9.8.3-P1 <<>> +trace hoanglong-domain.123host.asia | |
;; global options: +cmd | |
. 294976 IN NS b.root-servers.net. | |
. 294976 IN NS g.root-servers.net. | |
. 294976 IN NS a.root-servers.net. | |
. 294976 IN NS k.root-servers.net. | |
. 294976 IN NS m.root-servers.net. | |
. 294976 IN NS f.root-servers.net. | |
. 294976 IN NS j.root-servers.net. |
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
[root@vpn01 ~]# traceroute6 2001:19f0:7001:990:5400:ff:fe30:ee5f | |
traceroute to 2001:19f0:7001:990:5400:ff:fe30:ee5f (2001:19f0:7001:990:5400:ff:fe30:ee5f), 30 hops max, 80 byte packets | |
1 2001:df3:5c00:556::1 (2001:df3:5c00:556::1) 0.854 ms 0.546 ms 0.670 ms | |
2 2001:ee0:37f:ffff::f99 (2001:ee0:37f:ffff::f99) 1.705 ms 1.615 ms 1.780 ms | |
3 2001:ee0:37f:ffff::f9d (2001:ee0:37f:ffff::f9d) 1.153 ms 1.064 ms 1.026 ms | |
4 * * * | |
5 * * * | |
6 vdc.vn (::ffff:123.29.4.87) 22.257 ms 24.644 ms 24.937 ms | |
7 ix-xe-8-1-7-0.tcore1.LVW-Los-Angeles.ipv6.as6453.net (2001:5a0:fff0::b9) 180.664 ms ix-xe-5-2-6-0.tcore2.LVW-Los-Angeles.ipv6.as6453.net (2001:5a0:fff0:100::c1) 207.919 ms ix-xe-8-1-7-0.tcore1.LVW-Los-Angeles.ipv6.as6453.net (2001:5a0:fff0::b9) 180.674 ms | |
8 if-ae-2-2.tcore2.LVW-Los-Angeles.ipv6.as6453.net (2001:5a0:fff0::2) 189.633 ms 189.125 ms 189.212 ms |
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
[Mon Sep 26 16:34:37 2016] [error] [client 103.255.238.20] mod_wsgi (pid=16761): Exception occurred processing WSGI script '/home/radar/dnsrecordschecking/flaskapp.wsgi'. | |
[Mon Sep 26 16:34:37 2016] [error] [client 103.255.238.20] Traceback (most recent call last): | |
[Mon Sep 26 16:34:37 2016] [error] [client 103.255.238.20] File "/home/radar/dnsrecordschecking/flaskapp/env/lib/python2.7/site-packages/flask/app.py", line 2000, in __call__ | |
[Mon Sep 26 16:34:37 2016] [error] [client 103.255.238.20] return self.wsgi_app(environ, start_response) | |
[Mon Sep 26 16:34:37 2016] [error] [client 103.255.238.20] File "/home/radar/dnsrecordschecking/flaskapp/env/lib/python2.7/site-packages/flask/app.py", line 1991, in wsgi_app | |
[Mon Sep 26 16:34:37 2016] [error] [client 103.255.238.20] response = self.make_response(self.handle_exception(e)) | |
[Mon Sep 26 16:34:37 2016] [error] [client 103.255.238.20] File "/home/radar/dnsrecordschecking/flaskapp/env/lib/python2.7/site-packages/flask/app.py", line 1567, in handle_ex |
OlderNewer