###Prerequesites
- Install node.js from http://nodejs.org
- Make sure you install git from http://git-scm.com
Install flightplan globally
npm install -g flightplan
Install flightplan in your project folder
// cf: http://stackoverflow.com/questions/627916/iphone-safari-check-if-url-scheme-is-supported-in-javascript | |
function checkUrlScheme(app_url_scheme, app_install_url, app_name) { | |
document.location = app_url_scheme; | |
setTimeout(function() { | |
if(confirm('You do not seem to have '+app_name+' installed, do you want to go download it now?')){ | |
document.location = app_install_url; | |
} | |
}, 300); | |
} |
###Prerequesites
Install flightplan globally
npm install -g flightplan
Install flightplan in your project folder
/** | |
* Bear Theme with Typora | |
* | |
* @version : 0.0.1 | |
* @update : 2018/09/08 | |
* @homepage: https://gist.github.com/Kenshin/e5adc79da3149315bdfd72a35b70d65e | |
* @license : MIT https://github.com/kenshin/mduikit/blob/master/LICENSE | |
* @author : Kenshin Wang <kenshin@ksria.com> | |
* | |
* @copyright 2018 |
var a = ["sdfdf", "http://oooooolol"], | |
handleNetErr = function(e) { return e }; | |
Promise.all(fetch('sdfdsf').catch(handleNetErr), fetch('http://invalidurl').catch(handleNetErr)) | |
.then(function(sdf, invalid) { | |
console.log(sdf, invalid) // [Response, TypeError] | |
}) | |
.catch(function(err) { | |
console.log(err); | |
}) |
import React, { Component } from 'react'; | |
import { WebView, BackHandler } from 'react-native'; | |
export default class WebViewMoviezSpace extends Component { | |
constructor(props) { | |
super(props); | |
this.WEBVIEW_REF = React.createRef(); | |
} | |
componentDidMount() { |
Windows is really horrible system for developers and especially for devops. It doesn’t even have a usable terminal and shell, so working with command line is really pain in the ass. If you really don’t want to switch to any usable system (OS X, Linux, BSD…), then this guide should help you to setup somewhat reasonable environment – usable terminal, proper shell, ssh client, git and Sublime Text as a default editor for shell.
All you have to do, to extend your trial period, is change number in TrialKey element in application.xml. This file is located in /Library/Application Support/Adobe/Adobe Photoshop/AMT. You can navigate there with this command:
cd /Library/Application\ Support/Adobe/Adobe\ Photoshop\ */AMT
Then you have to open the file and edit it. You can use just TextEdit app.
open -a TextEdit application.xml
# 10_basic.py | |
# 15_make_soup.py | |
# 20_search.py | |
# 25_navigation.py | |
# 30_edit.py | |
# 40_encoding.py | |
# 50_parse_only_part.py |