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
def natoify(text): | |
""" | |
Translates the given text into the NATO phonetic alphabet. | |
Args: | |
text: The input text to be translated. | |
Returns: | |
A string containing the NATO phonetic alphabet representation of the input text. | |
""" |
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
psql -h <dbhost> -U <user> -d <dbName> | |
CREATE TEMP TABLE tmp_x (venue_id int, address1 text); | |
CREATE TEMP TABLE tmp_x (id int, columnToUpdate text); | |
\copy tmp_x FROM '/absolute/path/to.csv' with (format csv,header true, delimiter ','); | |
UPDATE original_table | |
SET columnToUpdate = tmp_x.columnToUpdate | |
FROM tmp_x | |
WHERE original_table.id = tmp_x.id; |
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
const emailTextFieldProps = { | |
keyboardType={"email-address"} | |
autoCapitalize={"none"} | |
value={this.state.email}} |
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
... | |
jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil]; | |
... |
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
... | |
#ifdef DEBUG | |
jsCodeLocation = [NSURL URLWithString:@"http://localhost:9988/index.ios.bundle?platform=ios&dev=true"]; | |
#else | |
jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil]; | |
#endif | |
... |