Skip to content

Instantly share code, notes, and snippets.

Installation on Ubuntu of qgis

On the latest Ubuntu long term support release (20.04) the LTR long term support version of qgis 3.10 was added. If you are a company looking for long term version of gqis installing qgis from the default ubuntu repositories might not be such a bad idea.

If however you want to install a more recent version of qgis (either latest release or a more up to date LTR version) or possibly are using an older ubuntu version you will need to install qgis from the official qgis repositories.

For smal teams / people happy doing software updated we recommend using the latest version (3.12.x) and this is what this quide will help you doing.

Dependencies

# This code is very slow, and only cracks one key byte at a time. Choose which byte by changing keyi:
keyi = 0
import matplotlib.pyplot as plt
import numpy as np
ins = []
outs = []
samples = []
@epixoip
epixoip / 8x1080.md
Last active March 20, 2024 17:14
8x Nvidia GTX 1080 Hashcat Benchmarks
#!/usr/bin/python
import socket
import select
import fcntl
import struct
import errno
import os
import asyncore
import sys
@tstellanova
tstellanova / bbb_boot_service_instructions.md
Last active September 26, 2023 09:43
How to setup a service to automatically run a python script when the BeagleBone Black (BBB) reboots. These instructions allow you to setup a python script to automatically start when the BeagleBone (running Angstrom linux with systemd) restarts.

Creating a service to startup at BeagleBone Black boot time:

  • Create a shell script such as /usr/bin/myFancyBash.sh:

      #!/bin/bash
    
      # this could be any runnable code or shell script, really
      /usr/bin/myFancyPython.py 
    

Note that the first line is critical.

@csete
csete / ais_rx.grc
Created September 11, 2013 14:45
2 channel AIS receiver prototyped in GNU Radio Companion (version 3.7.1)
<?xml version='1.0' encoding='ASCII'?>
<flow_graph>
<timestamp>Wed Sep 11 16:13:12 2013</timestamp>
<block>
<key>variable</key>
<param>
<key>id</key>
<value>xlate_filter_taps</value>
</param>
<param>
@k-nowicki
k-nowicki / Korad_KA_series_driver.rb
Created April 13, 2013 17:20
Ruby implementation of KORAD KA series power supplies communication protocol. Verified on KA3005P only, but should work also with all supplies of series, including multichannel ones.
require 'rubygems'
require 'serialport'
class Korad
def initialize(port="/dev/ttyACM0", baud=9600)
@serial = SerialPort::open(port,baud)
@serial.read_timeout = 100
end
def get_status