Process: Bear [546]
Path: /Applications/Bear.app/Contents/MacOS/Bear
Identifier: net.shinyfrog.bear
Version: 1.6.10 (7071)
App Item ID: 1091189122
App External ID: 830211213
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Bear [546]
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
# How to mount RTL-SDR (Flightaware) USB dongle | |
# to docker container in rootless mode | |
# | |
# For example running: `docker run --device=/dev/bus/usb:/dev/bus/usb ...` | |
# | |
# or via docker compose: | |
# | |
# version: '3' | |
# services: | |
# dump1090: |
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
# Get password from OS X Keychain function | |
# Replace %ACCOUNT_NAME% with account name of Keychain item | |
# See `man security` for more info | |
get_pw () { | |
security 2>&1 >/dev/null find-generic-password -ga "%ACCOUNT_NAME%" \ | |
| sed 's/password: "\(.*\)"/\1/' | |
} | |
# Don't store server credentials in plain text! | |
PASS=$(get_pw) |
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
var hbs = require('express-hbs'), | |
api = require('core/server/api'), | |
_ = require('lodash'), | |
async = require('express-hbs/lib/async'), // To redefine `registerAsyncHelper` | |
registerAsyncHelper; | |
// Redefine `registerAsyncHelper` from `express-hbs` | |
registerAsyncHelper = function (name, fn) { | |
hbs.handlebars.registerHelper(name, function (context, options) { | |
// Pass `[context, options]` as arg instead of `context` only |
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
/** | |
* Example of iTunes scripting in OS X with Javascript | |
* Open /Applications/Script Editor.app, paste the code and click Run button | |
* | |
* @author Oleg Fomin <ofstudio@gmail.com> | |
* | |
*/ | |
var my_app = Application.currentApplication(), | |
itunes = new Application('iTunes'), |
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
<iframe | |
src="//vk.com/video_ext.php?oid=-93834542&id=456239311&hash=4e0152fb103f7d48" | |
width="426" height="240" | |
frameborder="0" | |
allowfullscreen></iframe> |
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 $http_upgrade $connection_upgrade { | |
default upgrade; | |
'' close; | |
} | |
server { | |
listen 80; | |
listen [::]:80; | |
server_name live.wcs.life; | |
return 301 https://$host$request_uri; |
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
#!/usr/bin/env bash | |
# https://hub.docker.com/r/kylemanna/openvpn/ | |
OVPN_DATA="openvpn_data" # Docker volume name | |
OVPN_HOST="vpn.hostname.org" # Server hostname | |
OVPN_USER="peter_the_pig" # Client username | |
# init | |
docker volume create --name $OVPN_DATA |
NewerOlder