First, highlights all search matches:
:set hlsearch
The following searches (and possibly highlight) any non-printable characters:
/[^[:print:]]
//run this code after going to https://www.google.ca/search?q=direct+flights+from+TLV | |
var links = document.querySelectorAll('div.std a.l'); // the selector might need to be tweaked?? | |
var destinations = []; | |
for (var i = 0; i < links.length; ++i) { | |
var item = links[i]; | |
item = item.href.replace(/^.*to\+/,'').replace(/&.*/,''); | |
destinations.push(item); | |
} | |
console.log(destinations.join(",")); |
## | |
## Solr index testing tricks | |
## | |
## Tested with apachesolr-6.x-2.x (more recent versions might have different drush syntax | |
# to delete an index outside of drupal, after `drush solr-index` ran | |
rm -Rf /opt/solr/solr-home/data | |
service tomcat6 restart | |
First, highlights all search matches:
:set hlsearch
The following searches (and possibly highlight) any non-printable characters:
/[^[:print:]]
# | |
# Installs git 1.7.10 on Ubuntu 12.04 (Precise) using packages from | |
# the upcoming 12.10 (Quantal) release. Should work for i386 and amd64. | |
# | |
# Adapted from http://pastebin.com/TXeMw1CY | |
# | |
HOST_ARCH=`dpkg-architecture -qDEB_HOST_ARCH_CPU` | |
wget http://mirrors.us.kernel.org/ubuntu/pool/main/g/git/git_1.7.10.4-1ubuntu1_${HOST_ARCH}.deb \ |
Error installing chef: Failed to build gem native extension. sh: 1: make: not found
Here are some LXC links:
I'm currently researching renting a car in Munich for a week this August.
I was only paying attention to prices of convertibles ;) and these sites had the best offers:
Selects all permissions checkboxes for a given role.
To install, visit http://bl.ocks.org/dergachev/5769111
To use: