create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
<?xml version="1.0" encoding="utf-8"?> | |
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | |
<item | |
android:drawable="@color/splashscreen_bg"/> | |
<item | |
android:drawable="@mipmap/splash_icon" | |
android:gravity="center|fill" /> |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
Check: facebook/react-native#20774
If you get any file not found
errors, and you're sure you could compile the project prior to upgrading to Xcode 10, try the following:
node_modules/react-native/third-party/glog-0.3.4
Libraries
(in workspace), select RCTWebSocket.xcodeproj
.libfishhook.a
under Build Phases > Link Binary With Libraries
.//Based on http://www.samliew.com/icval/ | |
function validateNRIC(str) { | |
if (str.length != 9) | |
return false; | |
str = str.toUpperCase(); | |
var i, | |
icArray = []; | |
for(i = 0; i < 9; i++) { |
// Note: only for modern browser | |
import axios from 'axios' | |
// helper function: generate a new file from base64 String | |
const dataURLtoFile = (dataurl, filename) => { | |
const arr = dataurl.split(',') | |
const mime = arr[0].match(/:(.*?);/)[1] | |
const bstr = atob(arr[1]) | |
let n = bstr.length | |
const u8arr = new Uint8Array(n) |
#! /usr/bin/env node | |
// I am ./bin/buildSitemap.js | |
const path = require('path') | |
const glob = require('glob') | |
const fs = require('fs') | |
const SITE_ROOT = process.env.SITE_ROOT || 'https://www.actionherojs.com' | |
const SOURCE = process.env.SOURCE || path.join(__dirname, '..', 'pages', '/**/*.js') | |
const DESTINATION = process.env.DESTINATION || path.join(__dirname, '..', 'static', 'sitemap.xml') |
// https://github.com/atom/one-dark-syntax/blob/master/styles/colors.less | |
// Config ----------------------------------- | |
@syntax-hue: 220; | |
@syntax-saturation: 13%; | |
@syntax-brightness: 18%; | |
// Monochrome ----------------------------------- | |
@mono-1: hsl(@syntax-hue, 14%, 71%); // default text |
'use strict'; | |
/*****************NATIVE forEACH*********************/ | |
Array.prototype.myEach = function(callback) { | |
for (var i = 0; i < this.length; i++) | |
callback(this[i], i, this); | |
}; | |
//tests |
<?php | |
/////////////////////////////////////////////////// | |
// STEP 1 - CREATE CLASS THAT WILL BE USED GLOBALY | |
/////////////////////////////////////////////////// | |
namespace App\MyApp; | |
class MyApp { | |
public function sayHello($data = []) | |
{ | |
echo "Hello World from Facade!"; | |
} |