Skip to content

Instantly share code, notes, and snippets.

View djhurio's full-sized avatar

Mārtiņš Liberts djhurio

View GitHub Profile
@aabele
aabele / install.sh
Last active May 24, 2024 08:01
Instalēt Latvijas digitālo parakstu uz Ubuntu linux 20.10
sudo wget -qO - https://www.eparaksts.lv/files/ep3updates/debian/public.key | sudo apt-key add -
sudo apt-add-repository "deb https://www.eparaksts.lv/files/ep3updates/debian focal eparaksts"
sudo apt-get install eparakstitajs3
sudo apt-get install awp
sudo apt-get install latvia-eid-middleware
sudo apt-get install eparaksts-token-signing
@dncgst
dncgst / rgdal_install.md
Last active February 8, 2024 13:45
How to install the rgdal R package

How to install the rgdal R package

> install.packages("rgdal")

  • installing source package ‘rgdal’ ... configure: error: gdal-config not found or not executable.

The packages libgdal-dev and libproj-dev are required:

sudo apt-get install gdal-bin proj-bin libgdal-dev libproj-dev

@djhurio
djhurio / LU-aps-stat-prakt-3.R
Last active November 1, 2016 05:56
Mate5054 - Apsekojumu statistika (2KP). Trešais praktiskais darbs
### Apsekojumu statistika
### Praktiskie darbi 3
# Bibliotekas ####
# Bibliotēku instalācija, ja nepieciešams
# install.packages(c("Rcpp", "BalacedSampling", "sampling"))
require(data.table)
require(sampling)
### Apsekojumu statistika
### Praktiskie darbi 2
# Direktorija datiem
# Pirmajā reizē ir jāizveido
dir.data <- "~/ApsStat/Data"
# Saite uz datu failu
file.data <- file.path("http://home.lu.lv/~pm90015/work/LU",
"ApsekojumuStatistika/Data/Population.Rdata")
@mistic100
mistic100 / Mediakeys.ahk
Last active June 3, 2024 19:36
Media keys shortcuts for AutoHotkey
; AutoHotkey Media Keys
^!Space::Send {Media_Play_Pause}
^!Left::Send {Media_Prev}
^!Right::Send {Media_Next}
^!NumpadMult::Send {Volume_Mute}
^!NumpadAdd::Send {Volume_Up}
^!NumpadSub::Send {Volume_Down}