All of the following information is based on go version go1.8.3 darwin/amd64.
(Bold = supported by go out of the box, ie. without the help of a C compiler, etc.)
androiddarwin
| 127.0.0.1 api.ak.facebook.com | |
| 127.0.0.1 api.connect.facebook.com | |
| 127.0.0.1 api.facebook.com | |
| 127.0.0.1 app.facebook.com | |
| 127.0.0.1 apps.facebook.com | |
| 127.0.0.1 ar-ar.facebook.com | |
| 127.0.0.1 badge.facebook.com | |
| 127.0.0.1 blog.facebook.com | |
| 127.0.0.1 connect.facebook.com | |
| 127.0.0.1 connect.facebook.net |
| #!/bin/bash | |
| # requires imagemagick and ffmpeg (tested with latest versions) | |
| # make sure you set an INFILE variableo first | |
| INFILE=$1 | |
| # get GIF info | |
| video=$(ffmpeg -i "$INFILE" 2>&1 /dev/null | grep "Video:"); |
This is a super basic beginners guide to Solr Lucene query syntax. We're going to cover running a straightforward query, as well as some of the more useful functionality such as filtering and creating facets. We'll point out some things you can't do and generally give you enough instruction so that you can get yourself into trouble.
To specify a list of fields to return instead of the default Solr response use fl and provide a comma delimited list of fields:
| #!/usr/bin/env sh | |
| curl "http://vlib.sub.uni-goettingen.de/pazpar2/search.pz2?command=init&service=vlib" | grep init | sed -e 's/.*<session>//' | sed -e 's/<\/session>.*//' > /tmp/sessionID ; curl "http://vlib.sub.uni-goettingen.de/pazpar2/search.pz2?command=search&query=gaga&session=`cat /tmp/sessionID`" ; curl "http://vlib.sub.uni-goettingen.de/pazpar2/search.pz2?command=show&session=`cat /tmp/sessionID`" ; curl "http://vlib.sub.uni-goettingen.de/pazpar2/search.pz2?command=show&session=`cat /tmp/sessionID`" ; curl "http://vlib.sub.uni-goettingen.de/pazpar2/search.pz2?command=show&session=`cat /tmp/sessionID`" ; curl "http://vlib.sub.uni-goettingen.de/pazpar2/search.pz2?command=show&session=`cat /tmp/sessionID`" ; curl "http://vlib.sub.uni-goettingen.de/pazpar2/search.pz2?command=show&session=`cat /tmp/sessionID`" ; curl "http://vlib.sub.uni-goettingen.de/pazpar2/search.pz2?command=show&session=`cat /tmp/sessionID`" ; curl "http://vlib.sub.uni-goettingen.de/pazpar2/search.pz2?command=show&session=`cat /tmp/se |
| #! /bin/bash | |
| # Description: show dependency tree | |
| # Author: damphat | |
| if [ $# -lt 1 ]; then | |
| echo 'Usage: apt-rdepends-tree [-r] <package>' | |
| echo 'Required packages: apt-rdepends' | |
| exit 1 | |
| fi |
| Some useful Python one-liners taken from http://www.reddit.com/r/Python/comments/fofan/suggestion_for_a_python_blogger_figure_out_what/ | |
| All modules listed are part of the standard library and should work with Python 2.6+ | |
| How to use: | |
| $ python -m [module] [arguments] | |
| calendar - does default to displaying a yearly calendar, but it has a bunch of options (args are year or year month, options are HTML output, calendar locale, encoding, and some type-specific stuff, see python -m calendar -h) | |
| cgi, dumps a bunch of information as HTML to stdout |