sudo yum -y update
sudo yum-config-manager --enable epel
sudo yum -y install make automake gcc gcc-c++ libcurl-devel proj-devel geos-devel
cd /tmp
curl -L http://download.osgeo.org/gdal/2.0.0/gdal-2.0.0.tar.gz | tar zxf -
cd gdal-2.0.0/
./configure --prefix=/usr/local --without-python
make -j4
sudo make install
[Unit] | |
Description=iperf3 server | |
After=syslog.target network.target auditd.service | |
[Service] | |
User=iperf | |
ExecStart=/usr/bin/iperf3 -s --logfile /var/log/iperf.log | |
[Install] | |
WantedBy=multi-user.target |
#!/bin/bash | |
# This script assumes that you have all dependencies on Ubuntu 14.04 | |
# It will takes about 10 or more minites due to repo cloning. | |
# | |
# ./harmony ----- iotjs | |
# | | |
# ---- nuttx | |
mkdir harmony |
<? | |
///////////////////// | |
// slack2html | |
// by @levelsio | |
///////////////////// | |
// | |
///////////////////// | |
// WHAT DOES THIS DO? | |
///////////////////// | |
// |
%meta(name="twitter:card" content="player") | |
%meta(name="twitter:title" content="#{@episode.safe_title} by #{@series.safe_title}") | |
%meta(name="twitter:app:name:googleplay" content="Player FM") | |
%meta(name="twitter:app:id:googleplay" content="fm.player") | |
%meta(name="twitter:description" content="#{@episode.safe_description}") | |
%meta(name="twitter:site" content="PlayerFM") | |
%meta(name="twitter:image" content="#{safe_series_image_url @episode.series}") | |
-# dev tunnel -> %meta(name="twitter:player" content="https://something-something.ngrok.com#{widget_episode_path series_id: @series.slug, id: @episode.slug}" | |
) | |
%meta(name="twitter:player" content="#{Player.routes.base_url}#{widget_episode_path series_id: @series.slug, id: @episode.slug}") |
# original post: http://blog.hostonnet.com/uninstall-gui-from-ubuntu-14-04-lts | |
sudo apt-get purge -y lightdm | |
sudo shutdown -r now | |
sudo apt-get clean | |
sudo apt-get autoclean | |
apt-get purge -y unity* | |
sudo apt-get purge -y unity* | |
sudo apt-get purge -y gnome-* |
#!/usr/bin/env bash | |
# | |
# Installation: | |
# Copy chmow to some directory in your path, like /usr/local/bin | |
# cd <directory_above> | |
# chmod 0755 chmow | |
# ln -s chmow chmod | |
# ln -s chmow chown | |
set -e -u |
So you got your u-blox GPS and wired it up only to look at it struggling to get a valid fix? Under less than ideal conditions, it can take a better part of half an hour. That's because unlike your smartphone GPS, it doesn't have the luxury of having downloaded all the auxiliary navigation data (almanacs and the lot) out-of-band, via fast mobile connection. Instead it relies on the satellite's signal itself, which is being transmitted to you at meager 50 bits per second (I'm not missing "kilo" there, it's three orders of magnitude slower than your 2G GPRS connection).
Luckily, the u-blox receivers are fitted with what the company calls "AssistNow" capability and it does exactly the same thing your iPhone does - feeds the GPS with pre-downloaded almanacs, speeding up the acquisition process to mere seconds.
In principle, the process looks easy enough - we just need to download the data, and then push them to the receiver. Sadly, the AssistNow documentat
- If using Raspbian Wheezy, then upgrade to Jessie with these instructions.
- Install nvm with
curl
command - Install
iojs
withnvm
:nvm install iojs
- revert to Wheezy in Step 1
- install Chromium with
sudo apt-get install chromium
#!/System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby | |
# SET YOUR_HOME TO THE ABSOLUTE PATH OF YOUR HOME DIRECTORY | |
# chmod +x install.rb | |
# ./install.rb | |
YOUR_HOME = '' | |
HOMEBREW_PREFIX = "#{YOUR_HOME}/usr/local" | |
HOMEBREW_CACHE = '/Library/Caches/Homebrew' | |
HOMEBREW_REPO = 'https://github.com/Homebrew/homebrew' |