A "Best of the Best Practices" (BOBP) guide to developing in Python.
- "Build tools for others that you want to be built for you." - Kenneth Reitz
- "Simplicity is alway better than functionality." - Pieter Hintjens
# to run: docker-compose run | |
# | |
# Create a .evn file in the same folder as this file and change the variables. | |
# MOUNT_POINT=/tmp/ | |
# VPN_PROVIDER=changeme | |
# VPN_CONFIG=changeme | |
# VPN_USERNAME=changeme | |
# VPN_PASSWORD=changeme | |
# | |
# |
Deluge is a lightweight, free, cross-platform BitTorrent client.
The image below is from binhex/arch-deluge-vpn. It will install Deluge, a VPN client, and Privoxy.
This is the Docker command:
docker run --restart=always -d \
--cap-add=NET_ADMIN \
version: '2' | |
services: | |
nginx-proxy: | |
image: jwilder/nginx-proxy | |
container_name: nginx-proxy | |
restart: always | |
network_mode: ME_default | |
volumes: |
# Description: Boxstarter Script | |
# Author: Jess Frazelle <[email protected]> | |
# Modified by: Mark Whatcott | |
# Last Updated: 2018-01-18 | |
# | |
# Install boxstarter: | |
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
# | |
# You might need to set: Set-ExecutionPolicy RemoteSigned | |
# |
#!/usr/bin/env python | |
# created by shuichinet https://gist.github.com/shuichinet | |
# forked from https://gist.github.com/shuichinet/8159878 21 Nov 2015 | |
# using minor edits by fcrimins https://www.reddit.com/user/fcrimins | |
# from https://www.reddit.com/r/google/comments/2xzgyv/remove_duplicate_songs_from_google_play_music/csh6mrh | |
# also using clever edits by Morgan Gothard https://medium.com/@mgothard | |
# updated for Python 3.5 by John M. Kuchta https://medium.com/@sebvance 22 Nov 2016 (hey I was busy) | |
# compiled by John M. Kuchta https://medium.com/@sebvance | |
# thanks to shuichinet, fcrimins and Mr. Gothard for their work |
Global | Definition |
---|---|
{tautulli_version} | The current version of Tautulli. |
{tautulli_remote} | The current git remote of Tautulli. |
{tautulli_branch} | The current git branch of Tautulli. |
{tautulli_commit} | The current git commit hash of Tautulli. |
{server_name} | The name of your Plex Server. |
Home Welcome to the Open Dental Query Examples Page | |
These query examples were written for other practices, usually for a specific purpose. There may be additional changes needed to return the results you want. | |
Queries are sorted chronologically, with queries written for older versions listed first and queries written for newer versions listed last. | |
We recommend looking at higher numbered queries first, because older queries may not work in new versions. | |
If you find a query you like, copy/paste the query into Open Dental to run it. See User Queries | |
If needed, change any required variables before running. Look at the query comments for variable descriptions. | |
If you need help finding a query, modifying a query, or would like a custom query, fill out and submit a Query Request Form |
# Link: http://www.reddit.com/r/PowerShell/comments/1khn9o/a_fun_script_for_friday_make_your_friends/ | |
# A fun script for Friday - make your friend's computer start talking to him/her (self.PowerShell) | |
# submitted 1 year ago * by Sinisterly | |
# A co-worker of mine stumbled upon this nifty blog article on how to make a text-to-speech call using PowerShell. | |
# The article gives two examples: | |
# - Call the SAPI.SPVoice COM object | |
# - Load the reference to System.Speech | |
# Where can this come in fun? Well, if you throw PSRemoting in, of course! In my testing, if you use the second method (or the pared down script below) you can make your victim's computer start talking to him or her. Here's how you do it: | |
# 1. Provide a distraction so that your victim leaves their computer unlocked, and make yourself administrator on their workstation (only needed if you aren't already an admin!) | |
# 2. Enable PSRemoting on their workstation. A method for doing this would be using PSExec: |
#!python3 | |
''' | |
Directions: | |
- install youtube-dl via Pip (e.g. using the StaSh command: https://github.com/ywangd/stash) | |
- add this script as a Share extension through Settings -> Share Extension Shortcuts | |
- while watching a video in the YouTube site or app, just share the video to Pythonista and select this script | |
- the video will download, and when it's done you can share the video file itself with any app (e.g. VLC) | |
Advanced usage: |