A guide for completing a feature using version control and Trello.
Project Management
Next Up
- Prioritized list of all cards vetted and ready for design & development.
| const fs = require('fs'); | |
| const licenses = JSON.parse(fs.readFileSync('licenses.json', 'utf8')); | |
| const output = fs.createWriteStream('all_licenses.txt'); | |
| for (const [packageName, licenseInfo] of Object.entries(licenses)) { | |
| const { licenses, licenseFile } = licenseInfo; | |
| output.write(`Package: ${packageName}\n`); | |
| output.write(`Licenses: ${licenses}\n`); | |
| if (licenseFile) { |
| import React from 'react' | |
| import { StyleSheet, TextInput } from 'react-native' | |
| import { Formik } from 'formik' | |
| import Spinner from 'react-native-loading-spinner-overlay' | |
| export interface IFormDataModel { | |
| field1: number | |
| field2: string | |
| } |
| // ./postinstall.js | |
| 'use strict'; | |
| const fs = require('fs'); | |
| const RN_TSD = __dirname + '/node_modules/@types/react-native/index.d.ts'; | |
| const raw = fs.readFileSync(RN_TSD); | |
| // Fix @types/node conflict | |
| // @see https://github.com/DefinitelyTyped/DefinitelyTyped/issues/15960 |
| extension UIImage { | |
| convenience init(view: UIView) { | |
| UIGraphicsBeginImageContext(view.frame.size) | |
| view.layer.renderInContext(UIGraphicsGetCurrentContext()!) | |
| let image = UIGraphicsGetImageFromCurrentImageContext() | |
| UIGraphicsEndImageContext() | |
| self.init(CGImage: image.CGImage!) | |
| } | |
| } |
| 'use strict'; | |
| module.exports = function VError(message, extra) { | |
| Error.captureStackTrace(this, this.constructor); | |
| this.name = this.constructor.name; | |
| this.message = message; | |
| this.extra = extra; | |
| }; | |
| require('util').inherits(module.exports, Error); |
| // zipping: | |
| // zip -e target.zip file.something #...prompt for password | |
| // unzipping: | |
| // 7z e target.zip -pPASSWORD | |
| //////////////////// | |
| function Dictionary(ab) { | |
| this.ab = ab; |
| /* | |
| * Gets the version name from the latest Git tag | |
| */ | |
| def getVersionName = { -> | |
| def stdout = new ByteArrayOutputStream() | |
| exec { | |
| commandLine 'git', 'describe', '--tags' | |
| standardOutput = stdout | |
| } | |
| return stdout.toString().trim() |
| //Installation | |
| https://mixpanel.com/help/reference/android#installing-as | |
| //Track User | |
| mixpanel.identify("13793"); | |
| //Regular Event | |
| mixpanel.track("Some Event"); | |
| //Event with properties |
| #### Summary: | |
| What does this pull request do in general terms? | |
| #### Intended Effect: | |
| What is the expected effect of the pull request? Specifically, indicate how the behavior will be different than before the pull request. | |
| #### How to Verify: |