Skip to content

Instantly share code, notes, and snippets.

tshark -G|grep -i mysql|tr "\t" "\n"|grep "^mysql"|sort -u|awk 'BEGIN{ ORS=" "; print "tshark -tad -Nn port 3306"} {print "-z \"proto,colinfo,"$1","$1"\"" } END{ print "|sed -e \"s# == #:#g\" -e \"s#mysql.##g\"" }' > readmysql
chmod a+rx readmysql
./readmysql
# View all the good stuff about each packet.
#ifdef AFS_SGI62_ENV
#endif
#endif
#endif /* !defined(UKERNEL) */
#ifdef AFS_LINUX22_ENV
#endif
#ifdef AFS_SUN510_ENV
#endif
#define AFS_MINBUFFERS 100
#else
Running 128 tasks using 4 parallel threads
1: CC vm/builtin/float.cpp
2: CC vm/builtin/fixnum.cpp
3: CC vm/builtin/block_environment.cpp
4: CC vm/builtin/compiledmethod.cpp
In file included from vm/builtin/block_environment.cpp:28:
vm/llvm/jit.hpp:7:25: error: llvm/Module.h: No such file or directory
vm/llvm/jit.hpp:8:31: error: llvm/DerivedTypes.h: No such file or directory
vm/llvm/jit.hpp:9:27: error: llvm/Function.h: No such file or directory
vm/llvm/jit.hpp:11:31: error: llvm/Instructions.h: No such file or directory
# To generate a script to use Wireshark command line tshark to read nfs/portmap/mount traffic
# Need to be root to run.
tshark -G|grep -Ei "portmap|mount|nfs"|awk -F"\t" '{print $3}'|sort -u|awk -v v="'" 'BEGIN{ print "tshark -Nn -tad -R \"nfs || portmap || mount\"" } {print "-z \"proto,colinfo,"$1","$1"\"" } END{ print "|sed -e " v "s# == #:#g" v }' |tr "\n" " " > readnfs && chmod +x readnfs && ./readnfs
server {
server_name www.jaime.com:8080;
rewrite ^(.*) http://localhost:8080/works.html permanent;
}
We couldn’t find that file to show.
(defun random-color-theme ()
(interactive)
(random t) ; randomazing
(funcall (car (nth (random (length color-themes)) color-themes))))
(global-set-key "\C-c \C-t" 'random-color-theme)
window.py:194: GtkWarning: Ignoring the separator setting
self.builder.add_from_file(self.gladefile)
window.py:194: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
self.builder.add_from_file(self.gladefile)
Unexpected error: (<class 'httplib.ResponseNotReady'>, ResponseNotReady(), <traceback object at 0x15fda70>)
Traceback (most recent call last):
File "/home/jaimef/openxenmanager/oxcSERVER.py", line 1814, in event_next
eventn = self.connection.event.next(self.session_uuid)
File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
return self.__send(self.__name, args)
leiningen/bin/lein plugin install swank-clojure 1.3.3
Installing shell wrapper to /Users/jaimef/.lein/bin/swank-clojure
Exception in thread "main" java.lang.IllegalArgumentException: No matching method found: setExecutable for class java.io.File (NO_SOURCE_FILE:0)
at clojure.lang.Compiler.eval(Compiler.java:5440)
at clojure.lang.Compiler.eval(Compiler.java:5391)
at clojure.core$eval.invoke(core.clj:2382)
at clojure.main$eval_opt.invoke(main.clj:235)
at clojure.main$initialize.invoke(main.clj:254)
at clojure.main$script_opt.invoke(main.clj:270)
at clojure.main$main.doInvoke(main.clj:354)
window.py:194: GtkWarning: Ignoring the separator setting
self.builder.add_from_file(self.gladefile)
window.py:194: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
self.builder.add_from_file(self.gladefile)
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(*self.__args, **self.__kwargs)