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
| public class DistinguishedName | |
| { | |
| /// <summary> | |
| /// Represents a name/value pair within a distinguished name, including the index of the part. | |
| /// </summary> | |
| public struct Part | |
| { | |
| public Part(string name, string value, int index = -1) | |
| : this() | |
| { |
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
| " Settings | |
| let barposition = "bottom" | |
| let smoothscroll = "true" | |
| let mapleader = " " | |
| let defaultnewtabpage = "true" | |
| " Mappings | |
| map <Leader>r reloadTabUncached | |
| map <Leader>tb :tabnew<Cr> | |
| map <Leader>x :quit<Cr> |
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
| // Spinner.ios.js | |
| var React = require('react-native'); | |
| var { | |
| ActivityIndicatorIOS, | |
| } = React; | |
| class Spinner extends React.Component { | |
| render() { |
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
| RCT_EXPORT_METHOD(doSomething:(NSNumber *)reactTag) | |
| { | |
| [_bridge.uiManager addUIBlock:^(RCTUIManager *uiManager, RCTSparseArray *viewRegistry) { | |
| UIView *view = viewRegistry[reactTag]; | |
| if ([view isKindOfClass:[UIView class]]) { | |
| [view doSomething]; | |
| } | |
| }]; | |
| } |
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
| path = require('path'); | |
| webpack = require('webpack'); | |
| var config = { | |
| context: __dirname + "/app", | |
| entry: { | |
| javascript: "./app.js", | |
| html: "./index.html", | |
| }, | |
| output: { |
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
| du -h . | sort -nr | more |
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
| # Description: Restores symlinks that were lost due to Windows or Linux machines processing the | |
| # project files. | |
| # | |
| # Problem explained here: http://www.egeek.me/2013/01/26/note-about-building-cocoapods-powered-ios-projects/ | |
| # | |
| # Installation: Place this script as a new 'Run Script Build Phase' for your Target (preferably | |
| # right after 'Target Dependencies') | |
| for base_dir in "${SRCROOT}/Pods/Headers" "${SRCROOT}/Pods/BuildHeaders" | |
| do |