Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html>
<head>
<title>Quadrant YouTube Page</title>
<style>
/* Set the size of the quadrants */
.quadrant {
width: 50%;
height: 50%;
$fonts = @(
@("Iosevka", "be5invis"),
@("Inter", "rsms")
)
foreach ($font in $fonts)
{
$apiUrl = "https://api.github.com/repos/" + $font[1] + "/" + $font[0] + "/releases/latest"
$json = Invoke-WebRequest $apiUrl
@davidvidmar
davidvidmar / install-hassio
Last active May 3, 2020 20:01
Install HASS.IO on Ubuntu Server 18.04
# source: https://www.juanmtech.com/set-up-hassio-in-docker-and-in-an-ubuntu-server/
# last update: 26 Oct 2019, DaVidmar
#
# update system and packages
#
apt-get update
apt-get upgrade
# INSTALL DOCKER
@davidvidmar
davidvidmar / Excel - Save to PDF.vba
Last active August 8, 2018 08:45
Excel - Save to PDF
Sub SaveToPDF()
If InStr(1, ActiveWorkbook.Name, ".") = 0 Then
MsgBox "File has to be saved first!"
Exit Sub
End If
Dim pdfFileName As String
pdfFileName = _
@davidvidmar
davidvidmar / Word - Export to PDF.vba
Created December 23, 2017 11:20
Word - Export to PDF
Option Explicit
Sub SaveToPDF()
If InStr(1, ActiveDocument.Name, ".") = 0 Then
MsgBox "File has to be saved first!"
Exit Sub
End If
Dim pdfFileName As String
@davidvidmar
davidvidmar / config.txt
Created December 7, 2015 08:02
Makabies 800 x 480 LCD screen on Raspberry Pi with Windows IoT Core
...
hdmi_group=2 # Use VESA Display Mode Timing over CEA
hdmi_mode=1
hdmi_mode=87
hdmi_cvt 800 480 60 6 0 0 0
...
@davidvidmar
davidvidmar / keybase.md
Last active August 29, 2015 14:07
Keybase.io Claim

Keybase proof

I hereby claim:

  • I am davidvidmar on github.
  • I am davidvidmar (https://keybase.io/davidvidmar) on keybase.
  • I have a public key whose fingerprint is DF2A E4E8 066A 0ADC E5AC 405C A0CF 2167 6A67 277F

To claim this, I am signing this object: