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
| Windows Registry Editor Version 5.00 | |
| [-HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder] | |
| [-HKEY_CLASSES_ROOT\Directory\shell\Cmder] |
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
| {"lastUpload":"2020-02-24T16:37:23.439Z","extensionVersion":"v3.4.3"} |
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
| # If you come from bash you might have to change your $PATH. | |
| #export PATH=$HOME/bin:/usr/local/bin:$PATH | |
| #z | |
| . /usr/local/etc/profile.d/z.sh | |
| fpath=(/usr/local/share/zsh-completions $fpath) | |
| #export yarn global path | |
| export PATH="$PATH:`yarn global bin`" |
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
| //Created by ${USER} on ${DATE}. | |
| import React, { Component } from 'react' | |
| import PropTypes from 'proptypes'; | |
| import { | |
| View, | |
| StyleSheet | |
| }from 'react-native' | |
| export default class ${NAME} extends Component { | |
| constructor(props) { |
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
| //Created by ${USER} on ${DATE}. | |
| import React, { Component } from 'react'; | |
| import PropTypes from 'proptypes'; | |
| export default class ${NAME} extends Component { | |
| constructor(props) { | |
| super(props); | |
| } | |
| render() { | |
| return ( |
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
| #!/usr/bin/env bash | |
| VERSION=4.0.1 | |
| SCRIPT=`basename "$0"` | |
| APPNAME="My App" | |
| APPICONS="/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/GenericApplicationIcon.icns" | |
| OSX_VERSION=`sw_vers -productVersion` | |
| PWD=`pwd` | |
| function usage { |
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
| export function isObject(item) { | |
| return (item && typeof item === 'object' && !Array.isArray(item) && item !== null); | |
| } | |
| export default function mergeDeep(target, source) { | |
| let output = Object.assign({}, target); | |
| if (isObject(target) && isObject(source)) { | |
| Object.keys(source).forEach(key => { | |
| if (isObject(source[key])) { | |
| if (!(key in target)) |
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 | |
| ADB_PATH="/Users/${USER}/Library/Android/sdk/platform-tools" | |
| PACKAGE_NAME="com.yourcompany.app" | |
| DB_NAME="default.realm" | |
| DESTINATION_PATH="/Users/${USER}/Downloads/${DB_NAME}" | |
| NOT_PRESENT="List of devices attached" | |
| ADB_FOUND=`${ADB_PATH}/adb devices | tail -2 | head -1 | cut -f 1 | sed 's/ *$//g'` | |
| if [[ ${ADB_FOUND} == ${NOT_PRESENT} ]]; then | |
| echo "Make sure a device is connected" | |
| else |
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
| function hasLowerCase(str) { | |
| if(str.toUpperCase() != str) { | |
| return true; | |
| } | |
| return false; | |
| } | |
| function hasUpperCase(str) { | |
| if(str.toLowerCase() != str) { | |
| return true; |
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
| function readURL(input) { | |
| if (input.files && input.files[0]) { | |
| var reader = new FileReader(); | |
| reader.onload = function (e) { | |
| $('#blah').attr('src', e.target.result); | |
| } | |
| reader.readAsDataURL(input.files[0]); |
OlderNewer