Skip to content

Instantly share code, notes, and snippets.

View JayCuthrell's full-sized avatar
☁️
GOTO 10

Jay Cuthrell JayCuthrell

☁️
GOTO 10
View GitHub Profile
v4l2rtspserver-master -W640 -H360 -E MP3:16000:44100 -r 2 -F 25 -P 8554
avconv -rtsp_transport tcp -y -i rtsp://192.168.1.XXX:8554/unicast -c:v copy -profile:v high -coder 1 -pix_fmt yuv420p -g 30 -bf 2 -c:a copy -strict experimental -aspect 16:9 -f flv "rtmp://live-ams.twitch.tv/app/live_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
$ grep -v "^#" /etc/systemd/logind.conf
[Login]
HandleHibernateKey=suspend
HandleLidSwitch=suspend
HandleLidSwitchExternalPower=suspend
HandleLidSwitchDocked=suspend
LidSwitchIgnoreInhibited=yes
$ grep -v "^#" /etc/systemd/sleep.conf
[Sleep]
<?php
// Copyright VMware, Inc. 2009-2010. All Rights Reserved.
// example via http://communities.vmware.com/community/beta/vcloudsdkphp
// get and power on a virtual machine
require_once 'config.php'; // includes all needed libraries and parameters setting
$service = VMware_VCloud_SDK_Service::getService();
$service->login ($server, $auth, $httpConfig);
$orgRefs = $service->getOrgRefs(); //get references for vCloud organization entities
$sdkOrg = $service->createSDKObj($orgRefs[0]); // create an SDK Org object
$vdcRefs = $sdkOrg->getVdcRefs(); // get references to vCloud vDC entities
# grab a copy
[bradybunch]$ git clone git://github.com/petewarden/geodict.git
Initialized empty Git repository in /Users/marsha/Marsha/marsha/geodict/.git/
remote: Counting objects: 21, done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 21 (delta 4), reused 0 (delta 0)
Receiving objects: 100% (21/21), 31.21 MiB | 1.28 MiB/s, done.
Resolving deltas: 100% (4/4), done.

Keybase proof

I hereby claim:

  • I am jaycuthrell on github.
  • I am jaycuthrell (https://keybase.io/jaycuthrell) on keybase.
  • I have a public key whose fingerprint is 4407 D373 7F4D CDFE 90DD 89F4 4462 E55C BE13 D9C6

To claim this, I am signing this object:

<?xml version="1.0" encoding="utf-8"?><contentlocation xmlns:yahoo="http://www.yahooapis.com/v1/base.rng" xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns="http://wherein.yahooapis.com/v1/schema" xml:lang="en">
<processingTime>0.000921</processingTime>
<version> build 091119</version>
<documentLength>11</documentLength>
<document>
<administrativeScope>
<woeId>2360875</woeId>
<type>Town</type>
<name><![CDATA[Beaufort, NC, US]]></name>
<centroid>
[dudewheresmycar]$ curl http://wherein.yahooapis.com/v1/document \
> -d documentContent=Beaufort,NC \
> -d documentType=text/plain \
> -d appid=yOuNeedToGetYourOwn4pp1Dcuz
# CommitBot
# An interface for audibly broadcasting commit messages
# Tested on OSX
# Created by the friendly team at Hunch.com (sharing is caring!)
#
# Installation
# 1. replace USERNAME, PASSWORD, and HOSTNAME below
# 2. ...
# 3. profit!
image.setAttributeNS("http://www.w3.org/1999/xlink","href","http://bacolicious.s3.amazonaws.com/bacon.png")