Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| import time | |
| import socket | |
| import base64 | |
| src = '192.168.1.2' # ip of remote | |
| mac = '00-AB-11-11-11-11' # mac of remote | |
| remote = 'python remote' # remote name | |
| dst = '192.168.1.3' # ip of tv | |
| app = 'python' # iphone..iapp.samsung |
| { | |
| "name" : "rarst/install-test", | |
| "description" : "Test project for WordPress stack via Composer", | |
| "authors" : [ | |
| { | |
| "name" : "Andrey Savchenko", | |
| "homepage": "http://www.Rarst.net/" | |
| } | |
| ], | |
| "type" : "project", |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| ```{r setup, echo=FALSE, results='hide'} | |
| chunkref <- local({ | |
| function(chunklabel) { | |
| sprintf('[%s](#%s)', chunklabel, chunklabel ) | |
| } | |
| }) | |
| secref <- local({ | |
| function(seclabel) { | |
| sprintf('[%s](#%s)', seclabel, seclabel ) |
| #NoEnv | |
| #Warn All | |
| #Warn LocalSameAsGlobal, Off | |
| #Persistent | |
| /* | |
| Speech Recognition | |
| ================== | |
| A class providing access to Microsoft's SAPI. Requires the SAPI SDK. |
| # delete local tag '12345' | |
| git tag -d 12345 | |
| # delete remote tag '12345' (eg, GitHub version too) | |
| git push origin :refs/tags/12345 | |
| # alternative approach | |
| git push --delete origin tagName | |
| git tag -d tagName |
| /** | |
| * This class provides the URI, const values and some methods to work with TickTick's Content Provider. | |
| * | |
| * A guide is available on https://docs.google.com/document/d/1zo0JdIWnQWi-D0v7xikknEnsLj4RmrzOuqzScdR_tm8 | |
| */ | |
| public class TickTickProviderHelper { | |
| private static final Uri TASK_URI = Uri.parse("content://com.ticktick.task.data/tasks"); | |
| private static final Uri PROJECT_URI = Uri.parse("content://com.ticktick.task.data/tasklist"); | |
| private static final String TASK_CONTENT_ITEM_TYPE = "vnd.android.cursor.item/ticktick.task.task"; |
| #!/bin/bash | |
| # | |
| # Pre-commit hook that verifies if all files containing 'vault' in the name | |
| # are encrypted. | |
| # If not, commit will fail with an error message | |
| # | |
| # Original author: @ralovely | |
| # https://www.reinteractive.net/posts/167-ansible-real-life-good-practices | |
| # | |
| # File should be .git/hooks/pre-commit and executable |