Skip to content

Instantly share code, notes, and snippets.

View goude's full-sized avatar

Daniel Goude goude

View GitHub Profile
@goude
goude / gist:78293b5fe7f82f94134e20c695501b36
Created June 10, 2016 14:57
Turn on swap on small virtual machines (e.g. letsencrypt command 'x86_64-linux-gnu-gcc' failed with exit status 4)
Digitalocean, 512MB - need to turn on swap:
sudo dd if=/dev/zero of=/swapfile bs=1024 count=524288
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
Sources: https://community.letsencrypt.org/t/installation-via-letsencrypt-auto-fails-with-error-code-1/5919, http://stackoverflow.com/a/26762938
toppen, fjäderhjälmar
är leken och fyra vart aldrig
fyra och två
Emmy
polle och te
polle och te
Emily
Hyaa
Hyaa
Hyaa
cd ~/.vim/bundle && rm -rf YouCompleteMe && git clone https://github.com/Valloric/YouCompleteMe.git && cd YouCompleteMe && git reset --hard 0de1c0c && git submodule update --init --recursive && ./install.py
@goude
goude / test.md
Created February 25, 2017 11:38
Markdown Test

Hello, World!

This is a test.

@goude
goude / home.md
Last active August 14, 2019 20:42
solangen-www

Kontakt

Ta gärna kontakt med föreningen om du har frågor eller vill gå med. Du når oss på [email protected]. Medlemsavgiften för 2019 är 100 kronor och betalas in till pg 62 48 51–2.

Styrelse

Tommi KyllönenSekreterare
Charlotta KraghOrdförande
Henrik Simonsen  Kassör
@goude
goude / gist:b44b9d3938d3d30d8873f34fe2f92057
Created March 20, 2017 09:35
Generate and insert a UUID in vim
:r !uuidgen|sed 's/.*/"uid": "&",/'
@goude
goude / gist:46d3d60a76e65596ccf22946389de769
Created August 11, 2017 08:06
Getting java.sql.SQLException unknown host [jdbc-1900113]? check /etc/hostname
Host is up, ping works.
Did you mess with /etc/hostname or /etc/hosts? I did.
@goude
goude / chrome-wacom-tablet-erratic-behavior-fix.md
Last active August 30, 2017 12:10
Chrome doesn't respond to Wacom tablet pen clicks (Windows 10)

Problem: Chrome doesn't respond to Wacom tablet pen clicks (Windows 10)

Solution: turn off the "Use Windows Ink" option in Wacom Settings

Symptoms: Clicks don't work. Clicks only work sometimes. Unable to open settings menu.

Hardware: Wacom Bamboo (?) from 2016 (?), Lenovo ThinkPad

Drivers: Downloaded 2017-08-30

@goude
goude / index.html
Last active November 2, 2018 21:22
CSS Combination Lock
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Halloween</title>
<link href="https://fonts.googleapis.com/css?family=Oswald:400,700" rel="stylesheet" type="text/css">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<link href="style.css" rel="stylesheet">
</head>
@goude
goude / keybase.md
Created November 5, 2019 19:42
keybase.md

Keybase proof

I hereby claim:

  • I am goude on github.
  • I am goude (https://keybase.io/goude) on keybase.
  • I have a public key ASBIGRabPRb-Ou7dx6BI78cUnTCJG6UswmKMwkDJaFj7iAo

To claim this, I am signing this object: