VirtualTam's bookmarks
18 bookmarks found
Page 1 of 1
-
Reference:
- abbr - manage fish abbreviations
- argparse - parse options passed to a fish script or function
- function - create a function
- string - manipulate strings
- switch - conditionally execute a block of commands
Configuration:
- Writing your own prompt
- fish_add_path - add to the path
- fish_git_prompt - output git information for use in a prompt
- Setting up my fish shell from scratch on macOS
Plugins:
- jorgebucaran/fisher - A plugin manager for Fish
- jorgebucaran/autopair.fish - Auto-complete matching pairs in the Fish command line
- PatrickF1/fzf.fish
- kidonng/zoxide.fish
-
-
ngrep: grep applied to the network layer
2018-12-22 A PCAP-based tool that allows you to specify an extended regular or hexadecimal expression to match against data payloads of packets. It understands many kinds of protocols, including IPv4/6, TCP, UDP, ICMPv4/6, IGMP and Raw, across a wide variety of interface types, and understands BPF filter logic in the same fashion as more common packet sniffing tools, such as tcpdump and snoop.
-
- https://www.gamasutra.com/view/feature/6305/beyond_fa%C3%A7ade_pattern_matching_.php
- http://web.archive.org/web/20120320060043/http://ai-programming.com/bot_tutorial.htm
- https://www.slideshare.net/amyiris/ai-and-python-developing-a-conversational-interface-using-python
- http://www.nltk.org/api/nltk.chat.html
-
- https://www.elastic.co/guide/en/elasticsearch/guide/current/language-intro.html
- https://www.elastic.co/guide/en/elasticsearch/guide/current/identifying-words.html
- https://www.elastic.co/guide/en/elasticsearch/guide/current/token-normalization.html
- https://www.elastic.co/guide/en/elasticsearch/guide/current/stemming.html
- https://www.elastic.co/guide/en/elasticsearch/guide/current/stopwords.html
- https://www.elastic.co/guide/en/elasticsearch/guide/current/synonyms.html
- https://www.elastic.co/guide/en/elasticsearch/guide/current/fuzzy-matching.html
-
The Perfect Match - Lightspeed Magazine
2017-08-17 -
1// THIS WILL SEND AN INTERRUPT TO ALL MATCHING THREADS 2Thread.getAllStackTraces().keySet().each() { 3 t -> if (t.getName().contains("PATTERN") ) { t.interrupt(); } 4} 5 6// THIS WILL FORCE-STOP ALL MATCHING THREADS 7// May be required for recursive loops 8Thread.getAllStackTraces().keySet().each() { 9 t -> if (t.getName().contains("PATTERN") ) { t.stop(); } 10}
-
Context: replace spaces by dashes in a script-generated HTML file's links
1awk -F\' 'm = /a href/ { gsub(/ /,'-',$2); print$1'\''$2'\''$3} !m {print $0}'
-
Python: run specific unit tests
2015-02-13 Given your unittests are in the
tests
directory:1# run a specific test module 2python -m unittest tests.<module> 3 4# run a specific test suite 5python -m unittest tests.<module>.<class> 6 7# run a specific test 8python -m unittest tests.<module>.<class>.<test> 9 10# run tests matching a given pattern 11python -m unittest discover -s tests -p <pattern>
Page 1 of 1