install networkmanager-l2tp
first:
yaourt -S networkmanager-l2tp
apt install -y network-manager-l2tp
(* | |
Export All Safari Tabs in All Open Windows to a Markdown File | |
March 8th, 2024 | |
// SCRIPT PAGE | |
https://gist.github.com/yyolk/5ee36b12271d89371fe859630aee80a4 | |
// ORIGINAL SCRIPT ON WHICH THIS SCRIPT WAS ORIGINALLY BUILT | |
http://veritrope.com/code/export-all-safari-tabs-to-a-text-file |
#!/usr/bin/env bash | |
# SEE YOU SPACE COWBOY by DANIEL REHN (danielrehn.com) | |
# Displays a timeless message in your terminal with cosmic color effects | |
# Usage: add "sh ~/seeyouspacecowboy.sh; sleep 2" to .bash_logout (or similar) in your home directory | |
# (adjust the sleep variable to display the message for more seconds) | |
# Cosmic color sequence |
--- | |
AWSTemplateFormatVersion: 2010-09-09 | |
Description: A basic CloudFormation template for an RDS Aurora cluster. | |
Parameters: | |
DatabaseInstanceType: | |
Default: db.r3.large | |
AllowedValues: | |
- db.r3.large | |
- db.r3.xlarge | |
- db.r3.2xlarge |
Tested working 20 Jun 2021, irssi version 1.2.3 | |
This is a TLDR version of https://blog.crunchprank.net/connecting-to-twitch-chat-via-irssi/ | |
Get your OAuth token (password) here: https://twitchapps.com/tmi/ | |
# Network setup: | |
/network add -nick YOUR_TWITCH_USERNAME twitch | |
/server add -auto -ssl -network Twitch irc.chat.twitch.tv 6697 YOUR_OAUTH_TOKEN |
Before Github supported SSL encryption for github pages sites, many people were using CloudFlare (CF) as their DNS provider and CDN proxy. CF allowed users to enable SSL encryption from the CDN end points/proxies to the end user. This was great and it allowed visitors to your website to connect with a secure connection between their browser and the cloudflare CDN box that was serving your content. However, with this setup one (significant) link in the chain remained unencrypted and
#!/usr/bin/env bash | |
# Runs a command wrapped in btrfs snapper pre-post snapshots. | |
# Usage: $ snp <commands> | |
# e.g.: $ snp pacman -Syyu | |
# The latest version of this script is hosted at https://gist.github.com/erikw/5229436 | |
log_path="/var/local/log/snp" | |
date=$(date "+%Y-%m-%d-%H%M%S") | |
log_file="${log_path}/snp_${date}.log" |
Add this in your ini file:
[alembic:exclude]
tables = spatial_ref_sys
In env.py
:
console.log('Loading function'); | |
const https = require('https'); | |
const url = require('url'); | |
// to get the slack hook url, go into slack admin and create a new "Incoming Webhook" integration | |
const slack_url = 'https://hooks.slack.com/services/...'; | |
const slack_req_opts = url.parse(slack_url); | |
slack_req_opts.method = 'POST'; | |
slack_req_opts.headers = {'Content-Type': 'application/json'}; |
g_LastCtrlKeyDownTime := 0 | |
g_AbortSendEsc := false | |
g_ControlRepeatDetected := false | |
*CapsLock:: | |
if (g_ControlRepeatDetected) | |
{ | |
return | |
} |