- small amount of data, not predictable
- used when data is frequently inserted and deleted
- searching is slow
- the insertion order matters when searching
- searching and deletion are slow
| {-# LANGUAGE OverloadedStrings #-} | |
| {-| | |
| Tokenizer for SLF0 serialization format, used by Xcode to, at the very least, | |
| encode some log files. | |
| For example, `.xcactivitylog` logs are gzipped files of this format, | |
| serializing some objc classes which represent the build log. | |
| This class tokenizes the raw byte stream into a flat list of tokens. The actual |
| #/bin/bash | |
| install() { | |
| if [ -f "$SQLITEDBPATH" ]; then | |
| cp -n "$SQLITEDBPATH" "$SQLITEDBPATH.charlesbackup" | |
| sqlite3 "$SQLITEDBPATH" <<EOF | |
| INSERT INTO "tsettings" VALUES(X'189B6E28D1635F3A8325E1E002180DBA2C02C241',X'3123302106035504030C1A436861726C65732050726F78792053534C2050726F7879696E6731243022060355040B0C1B687474703A2F2F636861726C657370726F78792E636F6D2F73736C3111300F060355040A0C08584B3732204C74643111300F06035504070C084175636B6C616E643111300F06035504080C084175636B6C616E64310B3009060355040613024E5A',X'3C3F786D6C2076657273696F6E3D22312E302220656E636F64696E673D225554462D38223F3E0A3C21444F435459504520706C697374205055424C494320222D2F2F4170706C652F2F44544420504C49535420312E302F2F454E222022687474703A2F2F7777772E6170706C652E636F6D2F445444732F50726F70657274794C6973742D312E302E647464223E0A3C706C6973742076657273696F6E3D22312E30223E0A3C61727261792F3E0A3C2F706C6973743E0A',X'3082045E30820346A003020102020101300D06092A864886F70D01010505003081913123302106035504030C1A436861726C65732050726F78792053534C2050726F7879696E67312430 |
| void -[UIPopoverPresentationController dimmingViewWasTapped:](void * self, void * _cmd, void * arg2) { | |
| esi = self; | |
| edi = @selector(delegate); | |
| if ([esi delegate] != 0x0) { | |
| eax = [esi delegate]; | |
| var_10 = @selector(popoverPresentationControllerShouldDismissPopover:); | |
| eax = [eax respondsToSelector:@selector(popoverPresentationControllerShouldDismissPopover:)]; | |
| if (LOBYTE(eax) != 0x0) { | |
| eax = [esi presented]; | |
| if (LOBYTE(eax) != 0x0) { |
| // UIPopoverPresentationController - (void)dimmingViewWasTapped:(id) | |
| void __cdecl -[UIPopoverPresentationController dimmingViewWasTapped:](struct UIPopoverPresentationController *self, SEL a2, id a3) | |
| { | |
| void *v3; // eax@2 | |
| void *v4; // eax@5 | |
| void *v5; // eax@6 | |
| void *v6; // eax@7 | |
| void *v7; // eax@8 | |
| if ( !objc_msgSend(self, selRef_delegate) |
| " run command | |
| " no stdin | |
| " output displayed in "Press enter to continue" style | |
| " current buffer untouched | |
| :!uptime | |
| " run command | |
| " pipe range of text to command on stdin | |
| " output replaces the range in the current buffer | |
| :RANGE!grep foo |
| # Stupid simple script for OS X that uses the terminal-notifier script to | |
| # send notifications via Notification Center. It has literally 0 configuration. | |
| def weechat_init | |
| Weechat.register( | |
| "terminal_notifier", | |
| "Blake Williams", | |
| "0.2", | |
| "BSD", | |
| "Use terminal-notifier for highlights", |
| # Hello, and welcome to makefile basics. | |
| # | |
| # You will learn why `make` is so great, and why, despite its "weird" syntax, | |
| # it is actually a highly expressive, efficient, and powerful way to build | |
| # programs. | |
| # | |
| # Once you're done here, go to | |
| # http://www.gnu.org/software/make/manual/make.html | |
| # to learn SOOOO much more. |
| // | |
| // NUIProtocolChecker.h | |
| // NUIKit | |
| // | |
| // Created by Robert Widmann on 1/14/15. | |
| // Copyright (c) 2015 CodaFi. All rights reserved. | |
| // Released under the MIT license. | |
| // | |
| #import <Foundation/Foundation.h> |
| // | |
| // JumpFixTableViewController.swift | |
| // | |
| // Created by Indragie on 1/3/15. | |
| // Copyright (c) 2015 Indragie Karunaratne. All rights reserved. | |
| // | |
| import UIKit | |
| /// Table view controller that implements a workaround for a bug where |