Skip to content

Instantly share code, notes, and snippets.

Avatar

Miguel de Icaza migueldeicaza

View GitHub Profile
View live-streaming-kit.md

Here is my live stream setup kit :)

If you are doing a personal stream, I recommend only streaming to a single service such as Twitch. It is better for community building and easier on the streamer. Additionally, if you become an affiliate you are locked into a platform anyways.

How my setup works is that I have my main Desktop PC that has my streaming software, chat, alerts, music, and such all running on it. I have a second surface book that has HDMI out into the capture card in my Desktop PC. I do this because often when you compile apps it may freeze up your computer and stream :(. I have 2 sets of keyboards and mice and 2 monitors that I work off of. This works for me, but you do you :)

Software:

  • OBS: Your main go to for streaming software. It works on every OS :). If you want something with everything baked in take a look at Streamlabs OBS.
  • Streamlabs has all of your pop ups for subscribers and such on t
@nicerobot
nicerobot / chrome-cookies.sh
Created Dec 7, 2011
Convert Google Chrome sqlite Cookies into cookies.txt. Useful for utilities like curl.
View chrome-cookies.sh
sqlite3 -separator ' ' ${COOKIES:-Cookies} \
'select host_key, "TRUE", path, "FALSE", expires_utc, name, value from cookies'
@munificent
munificent / gist:9749671
Last active Oct 20, 2020
You appear to be creating a new IDE...
View gist:9749671
You appear to be advocating a new:
[ ] cloud-hosted [ ] locally installable [ ] web-based [ ] browser-based [ ] language-agnostic
[ ] language-specific IDE. Your IDE will not succeed. Here is why it will not succeed.
You appear to believe that:
[ ] Syntax highlighting is what makes programming difficult
[ ] Garbage collection is free
[ ] Computers have infinite memory
[ ] Nobody really needs:
@praeclarum
praeclarum / EasyLayout.fs
Last active Aug 23, 2020
EasyLayout makes writing auto layout code in Xamarin.iOS F# easier.
View EasyLayout.fs
module EasyLayout
open System
open System.Drawing
open Microsoft.FSharp.Quotations
open Microsoft.FSharp.Quotations.Patterns
open Microsoft.FSharp.Quotations.DerivedPatterns
open MonoTouch.Foundation
open MonoTouch.UIKit
View SubProcess.swift
import Darwin.C
import Venice
struct SubProcess {
let path: String
let arguments: [String]
func run(sync sync: Bool = true) -> Int? {
View ForceCanonicalPathAndQuery_mono.cs
using System;
using System.Net;
using System.Reflection;
namespace UriTest
{
//a mono version of the ForceCanonicalPathAndQuery code here: http://stackoverflow.com/questions/781205/getting-a-url-with-an-url-encoded-slash
class Program
{
static void Main(string[] args)
@Clancey
Clancey / BrightlyBlurredUIView
Last active Dec 24, 2015
A brightly colored iOS 7 UIBlurView
View BrightlyBlurredUIView
using System;
using MonoTouch.UIKit;
using MonoTouch.CoreAnimation;
public class BrightlyBlurredUIView: UIView
{
CALayer blurLayer,accentLayer;
UIView accentView;
UIToolbar toolbar;
public BrightlyBlurredUIView()
@moebio
moebio / gist:5601071
Last active Dec 17, 2015
list of references of my talk at http://openvisconf.com
View gist:5601071
View mono.org

eager sweep, non-conc

world stop
     1
value  ------------- Distribution ------------- count    
   64 |                                         0        
  128 |@                                        1        
  256 |                                         0        
  512 |                                         0        
 1024 |                                         0        
@joeduffy
joeduffy / teariface.go
Created Jul 18, 2015
Breaking Go memory safety by violating concurrency safety (#2: interfaces).
View teariface.go
// teariface.go
// A simple demonstration of breaking Go memory safety by violating concurrency
// safety. We alias an interface variable which is of course multiple words;
// the net result is the itable pointer and target object pointer end up
// mismatched, triggering undefined behavior (wrong results, AVs, etc).
package main
import (
"fmt"
"runtime"