This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -Naur GobiNet.old/GobiUSBNet.c GobiNet/GobiUSBNet.c | |
--- GobiNet.old/GobiUSBNet.c 2015-04-22 19:45:17.553791454 +0200 | |
+++ GobiNet/GobiUSBNet.c 2015-04-22 19:46:29.299686755 +0200 | |
@@ -66,11 +66,15 @@ | |
#define DRIVER_AUTHOR "Qualcomm Innovation Center" | |
#define DRIVER_DESC "GobiNet" | |
+#ifdef bool | |
+#undef bool | |
+#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<tabTrigger>#=</tabTrigger> | |
<content><![CDATA[ | |
###${1/./#/g}### | |
#= $1 =# | |
###${1/./#/g}### | |
]]></content> | |
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
PIPE="/tmp/$1.fifo" | |
# Create the FIFO | |
if [ ! -p $PIPE ]; then mkfifo -m 0777 $PIPE; fi | |
# Trap kill traps | |
trap "rm -f $PIPE" SIGINT | |
trap "rm -f $PIPE" SIGTERM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Installing MySQL From Source On MAc | |
1. Download the Generic Linux (Architecture Independent) Tar from (http://dev.mysql.com/downloads/mysql/) | |
2. Uncompress the archive `tar -xvf ~/Downloads/mysql-[BUILD].tar.gz` | |
3. Create a new build folder `mkdir -p ~/build/mysql` | |
4. Enter build folder `cd ~/build/mysql` | |
5. Run Cmake `cmake ~/Downloads/mysql-dir` | |
6. Allow source downloads `cmake . -DENABLE_DOWNLOADS=1` | |
7. Run make `make` (Will Error) as of 2013-12-30 | |
8. Patch `~/Downloads/mysql-dir/source/source_downloads/gmock-1.6.0/gtest/include/gtest/internal/gtest-port.h` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export CFLAGS="-std=c++11 $CFLAGS" | |
export CFLAGS="-stdlib=libc++ $CFLAGS" | |
export CC="clang++" | |
alias clang++11="clang++ -std=c++11" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sublime, sublime_plugin, os, re | |
class RubyPostProcess(sublime_plugin.EventListener): | |
def on_pre_save(self, view): | |
syntax = os.path.basename(view.settings().get('syntax')) | |
syntax = os.path.splitext(syntax)[0] | |
filepath = view.file_name() | |
filename = os.path.basename(filepath) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu | |
MAINTAINER "Kelly Becker (kbecker@kellybecker.me)" | |
# Basic provisioning | |
RUN apt-get install apt-utils wget nano curl openssh-server | |
RUN wget --no-check-certificate https://gist.github.com/KellyLSB/8079486/raw/4d2b2f8e9b609258ef4f72ef13a50effd3bb224b/sources.list -O /etc/apt/sources.list | |
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32 16126D3A3E5C1192 | |
RUN apt-get update | |
RUN apt-get dist-upgrade -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
SublimeLinter default settings | |
*/ | |
{ | |
/* | |
Sets the mode in which SublimeLinter runs: | |
true - Linting occurs in the background as you type (the default). | |
false - Linting only occurs when you initiate it. | |
"load-save" - Linting occurs only when a file is loaded and saved. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
us: %m/%d/%Y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sublime, sublime_plugin, os | |
class RubyPostProcess(sublime_plugin.EventListener): | |
def on_pre_save(self, view): | |
syntax = os.path.basename(view.settings().get('syntax')) | |
syntax = os.path.splitext(syntax)[0] | |
if syntax == "Ruby": | |
replacements = [] | |
edit = view.begin_edit() |
NewerOlder