You may want to use AdGuard's DNS over HTTPS[^2] service if you
- Want to make it harder for your ISP to know what websites you are requesting
- Want to block most traditional ads from your web browsing experience across your entire PC
- Open PowerShell
The outward or visible aspect of a website.
| // Variables used by Scriptable. | |
| // These must be at the very top of the file. Do not edit. | |
| // icon-color: red; icon-glyph: calendar-alt; | |
| // This widget was created by Max Zeryck @mzeryck | |
| // Note: before using this script in a widget, change const TEST_MODE to true and run it in the Scriptable app. | |
| // The app will prompt you to give calendar access, and then show a preview of the widget. | |
| // Make sure to change it back to const TEST_MODE = false prior to adding it to a widget. Happy coding! |
| // insert your Spotify client id and secret here | |
| let clientId = "xxx" | |
| let clientSecret = "xxx" | |
| // use your spotify country iso code to optimize search results | |
| let spotifyCountry = "DE" | |
| // optional: the ip of your node-sonos-http-api and room name; use "sonos" as parameter in your widget settings to activate it | |
| let sonosUrl = "http://192.168.178.10:5005/Kitchen" |
This exemplary initial setup uses two devices /dev/sdb and /dev/sdc but can be applied to any amount of devices by following the steps with additional devices.
Create keyfile:
dd bs=64 count=1 if=/dev/urandom of=/etc/cryptkey iflag=fullblock
chmod 600 /etc/cryptkeySometimes a programming language has a "strict mode" to restrict unsafe constructs. E.g., Perl has use strict, Javascript has "use strict", and Visual Basic has Option Strict. But what about bash? Well, bash doesn't have a strict mode as such, but it does have an unofficial strict mode:
set -euo pipefail
set -e
| export default function Queue(initialValue = []) { | |
| // initialise the queue and offset | |
| var queue = initialValue | |
| var offset = 0 | |
| // Returns the the queue. | |
| this.get = function() { | |
| return queue | |
| } |
| #!/usr/bin/env bash | |
| source $HOME/.bashrc | |
| MACHINE=$(uname -s) | |
| cd $HOME | |
| if [ "$MACHINE" == "Linux" ]; then | |
| printf "Removing libreoffice, thunderbird, and webbrowser app..." |
| import { Injectable } from '@angular/core'; | |
| import { AngularFireDatabaseModule, AngularFireDatabase, FirebaseListObservable } from 'angularfire2/database'; | |
| import { AngularFireAuth } from 'angularfire2/auth'; | |
| import { Router } from "@angular/router"; | |
| import * as firebase from 'firebase'; | |
| @Injectable() | |
| export class AuthService { |
| // ==UserScript== | |
| // @name WhatsApp Emoticon Preserver | |
| // @namespace https://gist.github.com/varkor/ca697f6fd59f60b5b9a8aeaa6d7cb341 | |
| // @version 0.5 | |
| // @author varkor | |
| // @description Disable automatic emoticon → emoji conversion in WhatsApp Web | |
| // @match https://web.whatsapp.com/ | |
| // @grant none | |
| // ==/UserScript== |