- [Data Structures] (https://gist.github.com/lawloretienne/6f7d7d92f72986f5ebd60f226d9044ee#data-structures)
- [Linked Lists] (https://gist.github.com/lawloretienne/6f7d7d92f72986f5ebd60f226d9044ee#linked-lists)
- [Trees] (https://gist.github.com/lawloretienne/6f7d7d92f72986f5ebd60f226d9044ee#trees)
- [Binary Trees] (https://gist.github.com/lawloretienne/6f7d7d92f72986f5ebd60f226d9044ee#binary-trees)
- [Binary Search Tree] (https://gist.github.com/lawloretienne/6f7d7d92f72986f5ebd60f226d9044ee#binary-search-tree)
- [Red-Black Tree] (https://gist.github.com/lawloretienne/6f7d7d92f72986f5ebd60f226d9044ee#red-black-tree)
- [AVL Tree] (https://gist.github.com/lawloretienne/6f7d7d92f72986f5ebd60f226d9044ee#avl-tree)
- [Tries] (https://gist.github.com/lawloretienne/6f7d7d92f72986f5ebd60f226d9044ee#tries)
This file contains hidden or 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 bash | |
| # A script for changing Mac OS X's default fonts | |
| # Author: Jaeho Shin <netj@sparcs.org> | |
| # Created: 2011-07-22 | |
| ### MacOSXDefaultFontFallbacksChanger ######################################### | |
| ## Mac OS X 기본 글꼴 설정 변경 도구 – 1.2.1 (2012-08) | |
| ## http://netj.github.com/MacOSXDefaultFontFallbacksChanger | |
| ############################################################################### |
This file contains hidden or 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 --git a/libs/filesystem/src/operations.cpp b/libs/filesystem/src/operations.cpp | |
| index 16a336f..a1504b5 100644 | |
| --- a/libs/filesystem/src/operations.cpp | |
| +++ b/libs/filesystem/src/operations.cpp | |
| @@ -73,13 +73,15 @@ using std::wstring; | |
| const fs::path dot_dot_path(".."); | |
| # include <sys/types.h> | |
| # include <sys/stat.h> | |
| -# if !defined(__APPLE__) && !defined(__OpenBSD__) | |
| +# if !defined(__APPLE__) && !defined(__OpenBSD__) && !defined(__ANDROID__) |
This file contains hidden or 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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>items</key> | |
| <array> | |
| <dict> | |
| <key>assets</key> | |
| <array> | |
| <dict> |
This file contains hidden or 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
| /* | |
| File: Reachability.h | |
| Abstract: Basic demonstration of how to use the SystemConfiguration Reachablity APIs. | |
| Version: 2.2 - ARCified | |
| Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Inc. | |
| ("Apple") in consideration of your agreement to the following terms, and your | |
| use, installation, modification or redistribution of this Apple software |
This file contains hidden or 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
| // DataManager.h | |
| #import <Foundation/Foundation.h> | |
| #import <CoreData/CoreData.h> | |
| extern NSString * const DataManagerDidSaveNotification; | |
| extern NSString * const DataManagerDidSaveFailedNotification; | |
| @interface DataManager : NSObject { | |
| } |
This file contains hidden or 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
| extension ObservableType { | |
| /** | |
| throttleFirst | |
| RxJava reference | |
| http://reactivex.io/RxJava/javadoc/rx/Observable.html#throttleFirst(long,%20java.util.concurrent.TimeUnit,%20rx.Scheduler) | |
| */ | |
| func throttleFirst(time: RxTimeInterval, scheduler: SchedulerType) -> Observable<E> { | |
| let s = self.share() |
This file contains hidden or 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
| #get commit stats (date and SHA) | |
| commit_sha=`git rev-parse --short HEAD` | |
| commit_ts=`git show -s --format="%ci" $sha` | |
| commit_dt=${commit_ts:0:16} | |
| commit_count=`git log --oneline | wc -l | tr -d ' '` | |
| SETTINGSBUNDLEPATH="$CODESIGNING_FOLDER_PATH/Settings.bundle/Root.plist" | |
| #where are we getting the original data from? |
This file contains hidden or 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
| #!/bin/sh | |
| # Set in Product | Scheme | Edit Scheme | Build | Post-actions as a new Run Script item. | |
| # echo Restoring build number | |
| # ${PROJECT_DIR}/Scripts/restore_build_number.sh | |
| # Select your target in the "Provide build settings from" dropdown. | |
| set -e | |
| if [ -z "$SRCROOT" ] | |
| then | |
| echo "Run this from the project root." |
This file contains hidden or 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
| #!/bin/sh | |
| # This script was written by Jay Graves for the 360iDev Conference. | |
| # You can find the full slides available at http://skabber.com/ | |
| # This script requires Xcode and s3cmd http://s3tools.org/s3cmd | |
| # You will need your own Amazon S3 account to upload files. | |
| # Put your distribution certificates and keys in the System Keychain | |
| # otherwise you will need to use security unlock-keychain | |
| TARGET=GroupA | |
| PlistBuddy=/usr/libexec/PlistBuddy |
OlderNewer