$/
artifacts/
build/
docs/
lib/
packages/
samples/
src/
tests/
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
{ | |
// xi4n | |
// expected/support xi4n versions | |
"xi4n": ">=0.0.2", | |
// logger options | |
"logger": { | |
// log level | |
"level": "crit", |
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
#!/bin/bash | |
# | |
# Written by Tobias Lensing, http://tlensing.org | |
# For more information see http://blog.tlensing.org/2013/02/24/objective-c-on-linux-setting-up-gnustep-clang-llvm-objective-c-2-0-blocks-runtime-gcd-on-ubuntu-12-04/ | |
# | |
PKG_OK=$(dpkg-query -W --showformat='${Status}\n' curl | grep "install ok installed") | |
echo Checking for curl: $PKG_OK | |
if [ "" == "$PKG_OK" ]; then | |
sudo apt-get install curl -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
// dota 2 autoexec.cfg file | |
con_enable "1" //Enables Console | |
//cl_cmdrate "60" //Amount of updates sent to server per second | |
//cl_updaterate "60" //Amount of updates received from server per second | |
//rate "80000" //Total amount of bandwith dota may use | |
//cl_interp "0" //More network stuff below... | |
//cl_interp_ratio "1" | |
//cl_smooth "1" | |
//cl_smoothtime "0.01" | |
//cl_lagcompensation "1" |
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
// | |
// AppDelegate.m | |
// NanoCompanion | |
// | |
// Created by Steven Troughton-Smith on 13/01/2015. | |
// Copyright (c) 2015 High Caffeine Content. All rights reserved. | |
// | |
#import "AppDelegate.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
@import WatchKit; | |
@interface CachingInterfaceController : WKInterfaceController | |
- (void)updateLabel:(WKInterfaceLabel *)label withString:(NSString *)string; | |
- (void)updateLabel:(WKInterfaceLabel *)label asHidden:(BOOL)hidden; | |
- (void)updateImage:(WKInterfaceImage *)image withImageNamed:(NSString *)imageName; | |
- (void)updateImage:(WKInterfaceImage *)image withBaseNameForAnimation:(NSString *)baseName withRange:(NSRange)range duration:(NSTimeInterval)duration repeatCount:(NSInteger)repeatCount; | |
- (NSString *)currentImageNameForImage:(WKInterfaceImage *)image; |
LLDB comes with a great set of commands for powerful debugging.
Your starting point for anything. Type help
to get a list of all commands, plus any user installed ones. Type 'help
for more information on a command. Type help
to get help for a specific option in a command too.
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
/* How to Hook with Logos | |
Hooks are written with syntax similar to that of an Objective-C @implementation. | |
You don't need to #include <substrate.h>, it will be done automatically, as will | |
the generation of a class list and an automatic constructor. | |
%hook ClassName | |
// Hooking a class method | |
+ (id)sharedInstance { |
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
// uses PriorityQueue from https://github.com/mauriciosantos/Buckets-Swift | |
protocol Pathfinding { | |
typealias Node: Hashable | |
func neighborsFor(node: Node) -> [Node] | |
func costFrom(from: Node, to: Node) -> Int | |
func heuristicFrom(from: Node, to: Node) -> Int | |
} |
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
// Copyright © 2015 Indragie Karunaratne. All rights reserved. | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is | |
// furnished to do so, subject to the following conditions: | |
// | |
// The above copyright notice and this permission notice shall be included in |
OlderNewer