https://twitter.com/samj/status/319419819910897666 :
...
<link media="native-app-resource"
type="..."
rel="alternate"
href="twitter://status?id=319419819910897666">
<link media="native-app-store"
type="..."
rel="alternate"
| $ cat ./notes-invalid-json.csv | |
| User,name,title,owner,ownedByMe,JSON | |
| [email protected],notes/placeholder-id,,[email protected],True, {"body": {"text": {"text": "\\""}}, "createTime": "2022-03-10T13:10:00Z", "name": "notes/placeholder-id", "ownedByMe": true, "owner": "[email protected]", "permissions": [{"email": "[email protected]", "name": "notes/placeholder-id/permissions/placeholder-id", "role": "OWNER", "user": {"email": "[email protected]"}}], "trashTime": "Never", "updateTime": "2022-03-10T13:10:00Z"} | |
| $ gam csv ./notes-invalid-json.csv quotechar " " gam user [email protected] create note json "~JSON" copyacls | |
| 2022-03-10T13:17:09.932+00:00,0/1,Using 1 process... | |
| Command: gam user [email protected] create note json >>>"{"body": {"text": {"text": "\\""}}, "createTime": "2022-03-10T13:10:00Z", "name": "notes/placeholder-id", "ownedByMe": true, "owner": "[email protected]", "permissions": [{"email": "[email protected]", "name": "notes/placeholder-id/permissions/placeholder-id", "role": "OWNER", "user": {"email": "us |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| #! /bin/bash | |
| # Kill processes orphaned by Jenkins | |
| # Work around Java's use of SIGTERM rather than SIGKILL and | |
| # Jenkins's lack of any workaroud in the box. | |
| # Suggested usage: | |
| # | |
| # $ crontab -l |
| --- mock.py~ 2013-07-31 13:20:48.000000000 -0400 | |
| +++ mock.py 2013-07-31 17:43:13.000000000 -0400 | |
| @@ -32,9 +32,12 @@ | |
| __version__ = '0.8.0' | |
| +import logging | |
| import pprint | |
| import sys | |
| --- mock.py~ 2013-07-31 13:20:48.000000000 -0400 | |
| +++ mock.py 2013-07-31 13:19:57.000000000 -0400 | |
| @@ -32,9 +32,12 @@ | |
| __version__ = '0.8.0' | |
| +import logging | |
| import pprint | |
| import sys | |
| def headers_as_curl(headers): | |
| header_args = [ | |
| " -H '{key}: {value}'".format(key=key, value=value) | |
| for key, value in headers.iteritems() | |
| ] | |
| return ''.join(header_args) | |
| def request_as_curl(preparedrequest): | |
| body = preparedrequest.body if preparedrequest.body else '' | |
| return ( |
| =================================================================== | |
| RCS file: RCS/command.c,v | |
| retrieving revision 1.92 | |
| diff -u -r1.92 command.c | |
| --- command.c 2012/07/03 20:10:42 1.92 | |
| +++ command.c 2013/06/19 19:37:59 | |
| @@ -47,6 +47,8 @@ | |
| extern int shift_count; | |
| extern int oldbot; | |
| extern int forw_prompt; |
| =================================================================== | |
| RCS file: RCS/command.c,v | |
| retrieving revision 1.92 | |
| diff -u -r1.92 command.c | |
| --- command.c 2012/07/03 20:10:42 1.92 | |
| +++ command.c 2013/06/18 23:41:09 | |
| @@ -47,6 +47,8 @@ | |
| extern int shift_count; | |
| extern int oldbot; | |
| extern int forw_prompt; |
| [[email protected]:~] | |
| $ traceroute 216.81.59.173 | |
| traceroute to 216.81.59.173 (216.81.59.173), 64 hops max, 52 byte packets | |
| 1 wireless_broadband_router (192.168.1.1) 4.116 ms 0.904 ms 0.913 ms | |
| 2 l100.bstnma-vfttp-101.verizon-gni.net (98.110.164.1) 6.852 ms 8.155 ms 9.306 ms | |
| 3 g4-3-1801.bstnma-lcr-08.verizon-gni.net (130.81.110.44) 7.124 ms 9.601 ms 9.414 ms | |
| 4 so-0-3-0-0.bos-bb-rtr2.verizon-gni.net (130.81.29.254) 7.097 ms 9.724 ms 10.282 ms | |
| 5 ge-1-2-0-0.ny325-bb-rtr2.verizon-gni.net (130.81.17.24) 18.991 ms 14.711 ms 14.847 ms | |
| 6 0.xe-2-0-8.xt2.nyc4.alter.net (152.63.6.253) 22.222 ms 96.148 ms 38.804 ms | |
| 7 tengige0-6-1-0.gw8.nyc4.alter.net (152.63.21.113) 19.362 ms |