2014

Remove page x
article thumbnail

7 Common mistakes in Go and when to avoid them

SPF13

Passes Implementation Details Down The Stack func (p *Page) Plain() string { return helpers.StripHTML(string(p.Content)) }. func (p *Page) Plain() string { return helpers.StripHTML(p.Content()) } Implementation Details Abstracted With A Method. Custom Errors : Os func baa(f *file) error { … n, err := f.WriteAt(x, 3) if _, ok := err.(*PathError)

Examples 260
article thumbnail

Running Synergy on OS X Mavericks

Scott Lowe

In this post, I’m going to show you a workaround to running Synergy on OS X Mavericks. If you visit the official Synergy page , you’ll note that the site indicates that full Mavericks support is still pending. Here’s how to get Synergy support running on OS X Mavericks now: Download the latest 10.8

Storage 63
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

article thumbnail

CoreOS Continued: etcd

Scott Lowe

Here’s a very simple example: using curl to recursively list the keys and values in a path within etcd: curl -X GET [link]. 80″ at the key “/svclocation”), then you’d do something like this: curl -L [link] -X PUT -d value="10.1.1.20:80".

Linux 65
article thumbnail

Cross Compiling with Go

SPF13

libexec/bin/go build -ldflags " -X main.BUILD_DATE ''2014-03-01T11:11:55-05:00'' -X main.VERSION ''0.10'' " -o /Users/spf13/Code/GoBuilds/hugo/0.10/hugo_0.10_linux_386.'' libexec/bin/go build -ldflags " -X main.BUILD_DATE ''2014-03-01T11:11:55-05:00'' -X main.VERSION ''0.10'' " -o /Users/spf13/Code/GoBuilds/hugo/0.10/hugo_0.10_linux_amd64.''

Linux 199
article thumbnail

Help! I have a Virus!

Sean Daniel

A browser should open take you to your home page, and let you get on the Internet. Let’s get killin’ extensions Click on the gear icon in the upper right of the browser window (under the “X” to close IE) Click on Manage Add-ons and you’ll see this: Now go through all the Toolbars and Extensions , and disable the ones you don’t use.

Windows 68
article thumbnail

Cross Compiling with Go

SPF13

libexec/bin/go build -ldflags " -X main.BUILD_DATE ''2014-03-01T11:11:55-05:00'' -X main.VERSION ''0.10'' " -o /Users/spf13/Code/GoBuilds/hugo/0.10/hugo_0.10_linux_386.'' libexec/bin/go build -ldflags " -X main.BUILD_DATE ''2014-03-01T11:11:55-05:00'' -X main.VERSION ''0.10'' " -o /Users/spf13/Code/GoBuilds/hugo/0.10/hugo_0.10_linux_amd64.''

Linux 188
article thumbnail

CoreOS Continued: Fleet and Docker

Scott Lowe

The GitHub page for fleet describes it as a “distributed init system” that operates across a cluster of machines instead of on a single machine. OS X provides an SSH agent by default, but on Linux systems you will probably have to manually run an SSH agent and add the appropriate SSH key: eval `ssh-agent -s` ssh-add ~/.ssh/keyfile.pem.

Linux 61