I hereby claim:
- I am nberardi on github.
- I am nberardi (https://keybase.io/nberardi) on keybase.
- I have a public key whose fingerprint is 2404 DB48 5F66 9949 BECB A593 FFE7 811A CF75 F8CE
To claim this, I am signing this object:
server version: 0.6.26 | |
plugin version: @scrypted/webrtc 0.1.36 | |
plugin loaded | |
[Test] remote options { | |
proxy: false, | |
offer: { | |
type: 'offer', | |
sdp: 'v=0\r\n' + | |
'o=- 3887398039 3887398039 IN IP4 0.0.0.0\r\n' + | |
's=a 2 z\r\n' + |
[ | |
{ | |
"id": "d20b09cd596147aa", | |
"type": "tab", | |
"label": "On Model 3 charging", | |
"disabled": false, | |
"info": "", | |
"env": [] | |
}, | |
{ |
var _memberMenus = document.getElementsByTagName('button'); | |
var _confirmed = false; | |
var _i = 0; | |
var _f = 0; | |
var _resetAttempted = false; | |
var _waitCount = 0; | |
function clickMemberMenu() { | |
if (typeof(_memberMenus[_f]) !== 'undefined' && _memberMenus[_f].getAttribute('aria-label') == 'Member Settings') { | |
_resetAttempted = false; |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Net; | |
using System.Net.Http; | |
using System.Runtime.InteropServices; | |
using System.Threading; | |
using System.Threading.Tasks; |
public class HomeController : Controller { | |
public ActionResult Index () { | |
ViewBag.ExecuteAction = () => { | |
// do stuff here | |
return model; | |
}; | |
return View(); | |
} | |
} |
I hereby claim:
To claim this, I am signing this object:
public unsafe class NSDataStream : UnmanagedMemoryStream | |
{ | |
public NSDataStream(NSData data) | |
: base((byte*)data.Bytes, data.Length) | |
{ | |
_data = data; | |
} | |
private readonly NSData _data; |
#r "System.Drawing.dll" | |
/* | |
* To use a GitHub Gist with Executify, you need to have a | |
* file named "executify.csx" in your Gist. Then you reference | |
* the Gist Identity in the Executify URL as | |
* http://executify.com/gist/{gist_id} | |
*/ | |
using System.IO; |
#r "System.Drawing.dll" | |
using System.IO; | |
using System.Drawing; | |
using System.Net; | |
var client = new WebClient(); | |
var bytes = client.DownloadData("http://www.hdwallpapersplus.com/wp-content/uploads/2013/05/Funny-Cat-Pictures-cats-935656_500_375.jpg"); | |
var stream = new MemoryStream(bytes); | |
var image = Image.FromStream(stream); |
namespace Consensus.Hubs | |
{ | |
public class Poker : Hub | |
{ | |
private static readonly Logger _logger = LogManager.GetCurrentClassLogger(); | |
private static Dictionary<string, PokerUser> _users = new Dictionary<string, PokerUser>(); | |
private static List<PokerRoom> _rooms = new List<PokerRoom>(); | |
public PokerUser Join(PokerUser user) |