Skip to content

Instantly share code, notes, and snippets.

gdm85 gdm85

Block or report user

Report or block gdm85

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@DavidVaini
DavidVaini / round.go
Created Apr 9, 2014
Arggh Golang does not include a round function in the standard math package. So I wrote a quick one.
View round.go
package main
import (
"log"
"math"
)
func Round(val float64, roundOn float64, places int ) (newVal float64) {
var round float64
pow := math.Pow(10, float64(places))
@carletes
carletes / ubuntu-kernel-for-acer-c7.sh
Last active Nov 22, 2018
Script to create Ubuntu kernel packages for an Acer C7 Chromebook running ChrUbuntu
View ubuntu-kernel-for-acer-c7.sh
#!/bin/bash
set -x
#
# Grab verified boot utilities from ChromeOS.
#
mkdir -p /usr/share/vboot
mount -o ro /dev/sda3 /mnt
cp /mnt/usr/bin/vbutil_* /usr/bin
@santisaez
santisaez / gist:3187798
Created Jul 27, 2012
State of the Art: STUN + TURN servers on Linux (July 2012)
View gist:3187798

STUN implementations

  • stund
  • Content: server daemon and test client for STUN, RFC-3489 only
  • URL does not load, the project seems abandoned
  • The code is also available on SourceForge, last update was on January 2012
  • TCP and TLS modes not supported
  • The server needs two IPs, it’s mandatory and can not be configured
  • C++, no extra libraries required, Windows port available
  • Version = 0.97 (0.96 package available on Debian, 5 years without updates)
You can’t perform that action at this time.