I hereby claim:
- I am half2me on github.
- I am halftome (https://keybase.io/halftome) on keybase.
- I have a public key ASBYjXnttEq63LZstTmJ3xkzigb4nML2hGIAYOUJOrmMqwo
To claim this, I am signing this object:
-- requires https://github.com/Snaipe/wssdl/releases/download/v0.2.0/wssdl.lua | |
local wssdl = require 'wssdl' | |
ant_msg = wssdl.packet { | |
sync:u8():hex(), | |
length:u8(), | |
class:u8():hex(), | |
payload:payload({ class, 'antplus.class' }, length * 8), | |
checksum:u8():hex() | |
} |
{ | |
"StartAt": "Add empty LastEvaluatedKey", | |
"States": { | |
"Add empty LastEvaluatedKey": { | |
"Type": "Pass", | |
"Next": "Scan", | |
"Result": { | |
"LastEvaluatedKey": null | |
}, | |
"ResultPath": "$" |
server = GstRtspServer.RTSPServer() | |
auth = GstRtspServer.RTSPAuth() | |
token = GstRtspServer.RTSPToken() | |
token.set_string('media.factory.role', "user") | |
basic = GstRtspServer.RTSPAuth.make_basic("user", "password") | |
auth.add_basic(basic, token) | |
server.set_auth(auth) | |
factory = RtspFactory() | |
permissions = GstRtspServer.RTSPPermissions() |
<?php | |
// what is my name? What do I output? | |
define('JAKE', "Jake"); | |
;;;;;echo"Jake".JAKE. <<<JAKE | |
Jake | |
?> | |
JAKE; | |
JAKE; | |
JAKE; |
// ==UserScript== | |
// @name No Cloudberry | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Remove cloudberry from Nespresso! | |
// @author h@lfto.me | |
// @match *://www.nespresso.com/*/order/capsules/original | |
// @match *://www.nespresso.com/*/home | |
// @grant none | |
// ==/UserScript== |
k8exec() { | |
local pod=$1 | |
shift | |
kubectl exec -it $(kubectl get pods -o name | grep -m1 $pod | cut -d'/' -f 2) -- $@ | |
} |
I hereby claim:
To claim this, I am signing this object:
location / { | |
try_files $uri $uri/ /index.php?$args; | |
} | |
# Add trailing slash to */wp-admin requests. | |
rewrite /wp-admin$ $scheme://$host$uri/ permanent; | |
location ~* \.(jpg|jpeg|png|gif|css|js|ico)$ { | |
expires max; | |
log_not_found off; |
git checkout pr-branch | |
git reset origin/master -- /path/to/file | |
git commit | |
git checkout -- . # or git reset --hard @ | |
git push |
import logging | |
import gi | |
from gst.caps import CapsRegistry | |
from gst.pipe_loader import PipelineLoader | |
from gst.pipeline import Pipeline | |
gi.require_version('Gst', '1.0') | |
gi.require_version('GstRtspServer', '1.0') |