layout | title | description | tags | ||
---|---|---|---|---|---|
default |
SQL Style Guide |
A guide to writing clean, clear, and consistent SQL. |
|
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
void moveToState(Fragment f, int newState, int transit, int transitionStyle, | |
boolean keepActive) { | |
// Fragments that are not currently added will sit in the onCreate() state. | |
if ((!f.mAdded || f.mDetached) && newState > Fragment.CREATED) { | |
newState = Fragment.CREATED; | |
} | |
if (f.mRemoving && newState > f.mState) { | |
if (f.mState == Fragment.INITIALIZING && f.isInBackStack()) { | |
// Allow the fragment to be created so that it can be saved later. | |
newState = Fragment.CREATED; |
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
# --------------------------------------------------------------------------- | |
# | |
# Description: This file holds all my BASH configurations and aliases | |
# | |
# Sections: | |
# 1. Environment Configuration | |
# 2. Make Terminal Better (remapping defaults and adding functionality) | |
# 3. File and Folder Management | |
# 4. Searching | |
# 5. Process Management |
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 Foundation | |
for _ in 1...5 { | |
print("Hello, World!") | |
} | |
func reverseString(_ string: String) -> String { | |
var result = "" |