| ⌘T | go to file |
| ⌘⌃P | go to project |
| ⌘R | go to methods |
| ⌃G | go to line |
| ⌘KB | toggle side bar |
| ⌘⇧P | command prompt |
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
| ### | |
| ### Usage: blah [<options>] | |
| ### | |
| ### Description of the script | |
| ### | |
| ### Options: | |
| ### -f --flag | |
| ### Description of the flag | |
| ### -o --option <arg> | |
| ### Description of the option and argument |
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
| %===================================================================== | |
| % jhwhw.cls | |
| % Provide jhwhw.cls class | |
| %===================================================================== | |
| %===================================================================== | |
| % Identification | |
| %===================================================================== | |
| \NeedsTeXFormat{LaTeX2e} | |
| \ProvidesClass{jhwhw}[2009/02/11 Justin Wilson's Homework Class] |
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/bash | |
| scriptname="script_template" | |
| ### functions | |
| function usage | |
| { | |
| echo -e "usage: $scriptname MANDATORY [OPTION]\n" | |
| echo -e "MANDATORY mandatory parameter:" | |
| echo -e " -m, --mandatory VAL The desc of the mandatory parameter\n" |
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 | |
| ### | |
| # SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
| # For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
| ### | |
| # Alot of these configs have been taken from the various places | |
| # on the web, most from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
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
| @implementation UITextView (RSExtras) | |
| static BOOL stringCharacterIsAllowedAsPartOfLink(NSString *s) { | |
| /*[s length] is assumed to be 0 or 1. s may be nil. | |
| Totally not a strict check.*/ | |
| if (s == nil || [s length] < 1) | |
| return NO; |
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
| ;; Prevent the cursor from blinking | |
| (blink-cursor-mode 0) | |
| ;; Don't use messages that you don't read | |
| (setq initial-scratch-message "") | |
| (setq inhibit-startup-message t) | |
| ;; Don't let Emacs hurt your ears | |
| (setq visible-bell t) | |
| ;; You need to set `inhibit-startup-echo-area-message' from the | |
| ;; customization interface: |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| #include <stdio.h> | |
| /* | |
| * Calculates what Ada Lovelace labeled "B7", which today we would call the 8th | |
| * Bernoulli number. | |
| */ | |
| int main(int argc, char* argv[]) | |
| { | |
| // ------------------------------------------------------------------------ | |
| // Data |
OlderNewer