This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install Gnome and some other useful thins | |
# The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description. | |
# And based on https://wiki.archlinux.de/title/Anleitung_f%C3%BCr_Einsteiger | |
# I have just copied commands from https://wiki.archlinux.de/title/Anleitung_f%C3%BCr_Einsteiger#Weitere_notwendige_Dienste | |
# It's just to have it with one view after doing a [fresh installation](https://gist.github.com/thacoon/05d5a39606ab554455d6713e8a714b2c) | |
# Some useful services | |
pacman -S acpid ntp dbus avahi cups cronie |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Servo - Sweep | |
* by BARRAGAN <http://barraganstudio.com> | |
* This example code is in the public domain. | |
* | |
* modified 28 May 2015 by Michael C. Miller | |
* modified 8 Nov 2013 by Scott Fitzgerald | |
* | |
* http://arduino.cc/en/Tutorial/Sweep | |
* https://github.com/esp8266/Arduino/blob/master/libraries/Servo/examples/Sweep/Sweep.ino |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<title>title</title> | |
<body> | |
<div id="mijnFooter"></div> | |
<script> | |
document.body.innerHTML += '<div>div inject</div>'; | |
fetch('http://127.0.0.1:35741/footer.html') | |
.then(function(response) { | |
return response.text(); | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "ESP8266WiFi.h" | |
#include "FS.h" | |
void setup() { | |
Serial.begin(115200); | |
SPIFFS.begin(); | |
WiFi.mode(WIFI_STA); | |
WiFi.disconnect(); | |
Serial.println("--->"); | |
delay(100); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div> | |
<!--{{ name }}--> | |
<br> | |
<div v-for="(avatar, i) in avatars"> | |
<v-avatar :key="i" size="100px" color="grey lighten-4"> | |
<img :src="avatar.url" class="border" :class="getClassName(avatar.updated)"> | |
</v-avatar> | |
<br> | |
<!--seconds: {{ avatar.updated }}--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Kleuren rijksoverheid | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2 | |
// @description try to take over the world! | |
// @author You | |
// @match https://www.rijkshuisstijl.nl/basiselementen/* | |
// @grant GM_setClipboard | |
// ==/UserScript== | |
var kleuren |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
map.addSource("mysource", mySource) | |
map.addLayer({ | |
"id": "hunter-circle", | |
"type": "circle", | |
"source": "mysource", | |
"paint": { | |
"circle-opacity": ['get', 'opacity'], | |
"circle-stroke-color": ['get', 'stroke'], | |
"circle-color": ['get', 'color'], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:http/http.dart' as http; | |
import 'package:html/parser.dart' as parser; | |
import 'package:html/dom.dart'; | |
main() async { | |
http.Response response = await http.get('https://news.ycombinator.com/'); | |
Document document = parser.parse(response.body); | |
document.getElementsByTagName('a').forEach((Element element){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"/> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, shrink-to-fit=no"/> | |
<meta name="google" content="notranslate"/> | |
<meta name="msapplication-tap-highlight" content="no"/> | |
<meta http-equiv="cache-control" content="no-store"/> | |
<meta http-equiv="expires" content="0"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vue.prototype.$socket = socket |