To include YASGUI, simply take this HTML file. If you'd like to remove the endpoint selector widget, uncommment the CSS part in the head of the HTML
| ## | |
| ## Put me in ~/.irssi/scripts, and then execute the following in irssi: | |
| ## | |
| ## /load perl | |
| ## /script load notify | |
| ## | |
| use strict; | |
| use Irssi; | |
| use vars qw($VERSION %IRSSI); |
| # Install ARCH Linux with encrypted file-system and UEFI | |
| # The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description. | |
| # Download the archiso image from https://www.archlinux.org/ | |
| # Copy to a usb-drive | |
| dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux | |
| # Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration. | |
| # Set swiss-french keymap |
This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.
###Array ####Definition:
- Stores data elements based on an sequential, most commonly 0 based, index.
- Based on tuples from set theory.
| 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.
For testing you need a REST client capable of sending requests to your Solr instance. Either RESTClient for Firefox or Postman for Chrome are good choices.
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 |