I hereby claim:
- I am alekc on github.
- I am alekcander (https://keybase.io/alekcander) on keybase.
- I have a public key ASBrJQ3ywj34xakKCbL_baAHxmXeMzeWN48h0PtUHEdNuQo
To claim this, I am signing this object:
Object.defineProperty(navigator, "userAgent", {value: 'fake browser'}); | |
// ==UserScript== | |
// @name prevent pop-ad | |
// @include http://animeflv.net/* | |
// @run-at document-start | |
// @grant none | |
// ==/UserScript== | |
(function() { |
curl --verbose --header 'Host: www.example.com' 'http://10.1.1.36:8000/the_url_to_test' |
func TestGetEntryByID(t *testing.T) { | |
req, err := http.NewRequest("GET", "/entry", nil) | |
if err != nil { | |
t.Fatal(err) | |
} | |
q := req.URL.Query() | |
q.Add("id", "1") | |
req.URL.RawQuery = q.Encode() | |
rr := httptest.NewRecorder() |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
find /mysql-backup/archive -maxdepth 1 -mindepth 1 -type d -ctime +15 -exec rm -rf {} \; |
docker_container: | |
name: undefined # string- required. Assign a name to a new container or match an existing container.,When identifying an existing container name may be a name or a long or short container ID. | |
image: undefined # string- not required. Repository path and tag used to create the container. If an image is not found or pull is true, the image will be pulled from the registry. If no tag is included, 'latest' will be used. | |
api_version: auto # string - not required. The version of the Docker API running on the Docker Host. Defaults to the latest version of the API supported by docker-py.,If the value is not specified in the task, the value of environment variable C(DOCKER_API_VERSION) will be used instead. If the environment variable is not set, the default value will be used. | |
auto_remove: no # boolean - not required. enable auto-removal of the container on daemon side when the container's process exits | |
blkio_weight: undefined # not required. Block IO (relative weight), between 10 and 1000. |
if you encounter a followig error:
key was 257 bytes (Expected 32)
it's possible to fix it with
ssh-add
--- | |
- hosts: | |
- xps-desktop | |
vars: | |
- docker_data_path: /4t/docker-data | |
- media_folder: /2t/media | |
- media_docker_path: /media | |
- uid: "500" | |
- gid: "500" | |
- transmission_web_host: bt.example.com |
rm ~/Library/Preferences/com.bjango.istatmenus.plist |