Skip to content

Instantly share code, notes, and snippets.

mmcdole

Block or report user

Report or block mmcdole

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
View keybase.md

Keybase proof

I hereby claim:

  • I am mmcdole on github.
  • I am mattmcdole (https://keybase.io/mattmcdole) on keybase.
  • I have a public key ASBBSFkA2QaqJDIqMeWNeBVInbq1gRk6sXva6LNtLWvGIAo

To claim this, I am signing this object:

View 8.go
package main
import (
"bufio"
"fmt"
"os"
"regexp"
)
var (
View 7.go
package main
import (
"bufio"
"fmt"
"os"
"regexp"
"strconv"
)
@mmcdole
mmcdole / .clang-format
Created Oct 30, 2015
Objective-C Clang Format
View .clang-format
BasedOnStyle: Chromium
AlignTrailingComments: true
BreakBeforeBraces: Attach
ColumnLimit: 0
IndentWidth: 4
KeepEmptyLinesAtTheStartOfBlocks: false
ObjCBlockIndentWidth: 4
ObjCSpaceAfterProperty: true
ObjCSpaceBeforeProtocolList: true
PointerBindsToType: false
@mmcdole
mmcdole / gist:2115b48d6ad22e929eff
Created Feb 4, 2015
FreeStreamer 826d Seek Issue
View gist:2115b48d6ad22e929eff
This file has been truncated, but you can view the full file.
[audio_stream.cpp:686 thread 807] kAudioFileMP3Type detected
[audio_stream.cpp:913 thread 807] virtual void astreamer::Audio_Stream::streamIsReadyRead(): audio file stream opened.
[audio_stream.cpp:213 thread 807] void astreamer::Audio_Stream::open(astreamer::Input_Stream_Position *): HTTP stream opened, buffering...
[audio_stream.cpp:234 thread 807] Starting the startup watchdog, period 30 seconds
[audio_stream.cpp:922 thread 807] streamHasBytesAvailable: 1024 bytes
[audio_stream.cpp:922 thread 807] streamHasBytesAvailable: 1024 bytes
[audio_stream.cpp:922 thread 807] streamHasBytesAvailable: 1024 bytes
[audio_stream.cpp:922 thread 807] streamHasBytesAvailable: 1024 bytes
[audio_stream.cpp:922 thread 807] streamHasBytesAvailable: 1024 bytes
@mmcdole
mmcdole / gist:8154cd0b52150d4acb95
Created Feb 4, 2015
FreeStreamer 2.10.3 Crash
View gist:8154cd0b52150d4acb95
This file has been truncated, but you can view the full file.
[audio_stream.cpp:666 thread 807] kAudioFileMP3Type detected
[audio_stream.cpp:893 thread 807] virtual void astreamer::Audio_Stream::streamIsReadyRead(): audio file stream opened.
[audio_stream.cpp:213 thread 807] void astreamer::Audio_Stream::open(astreamer::Input_Stream_Position *): HTTP stream opened, buffering...
[audio_stream.cpp:234 thread 807] Starting the startup watchdog, period 30 seconds
[audio_stream.cpp:902 thread 807] streamHasBytesAvailable: 1024 bytes
[audio_stream.cpp:902 thread 807] streamHasBytesAvailable: 1024 bytes
[audio_stream.cpp:902 thread 807] streamHasBytesAvailable: 1024 bytes
[audio_stream.cpp:902 thread 807] streamHasBytesAvailable: 1024 bytes
[audio_stream.cpp:902 thread 807] streamHasBytesAvailable: 1024 bytes
View xmonad.errors
xmonad.hs:26:19:
Couldn't match expected type `(k0, a0)'
with actual type `[((KeyMask, KeySym), X ())]'
In the expression:
[((modMask .|. mask, key), f sc) |
(key, sc) <- zip [xK_q, xK_w, xK_e] [0 .. ],
(f, mask) <- [(viewScreen, 0), (sendToScreen, shiftMask)]]
In the second argument of `($)', namely
`[[((modMask .|. mask, key), f sc) |
(key, sc) <- zip [xK_q, xK_w, ....] [0 .. ],
You can’t perform that action at this time.