Skip to content

Instantly share code, notes, and snippets.

@yvsssantosh
yvsssantosh / gist:e89d06205a601de47187dbf38b0e5a43
Created October 5, 2018 13:01 — forked from kaizhu256/gist:4482069
javascript - very fast and simple uuid4 generator benchmarked on http://jsperf.com/uuid4/8
/*jslint bitwise: true, indent: 2, nomen: true, regexp: true, stupid: true*/
(function () {
'use strict';
var exports = {};
exports.uuid4 = function () {
//// return uuid of form xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx
var uuid = '', ii;
for (ii = 0; ii < 32; ii += 1) {
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# https://www.nginx.com/resources/wiki/start/
# https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/
# https://wiki.debian.org/Nginx/DirectoryStructure
#
# In most cases, administrators will remove this file from sites-enabled/ and
# leave it as reference inside of sites-available where it will continue to be
# updated by the nginx packaging team.
// import React from 'react'
// import { StyleSheet, Text, View } from 'react-native'
// export default function App () {
// return (
// <View style={styles.container}>
// <Text>Shili</Text>
// </View>
// )
// }
import React, { PureComponent } from 'react'
import { View, Text, Button, AsyncStorage } from 'react-native'
import { connect } from 'react-redux'
class LoginScreen extends PureComponent {
constructor (props) {
super(props)
this.attemptLogin = this.attemptLogin.bind(this)
}
-----BEGIN PUBLIC KEY-----
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCOFzDg5GMdLaYQ6cQPGh4cEn+R
vK6oy7lQMmkLr5VNjkX1qYR2n0kFJJnwXGrOCL/ohp9o682qp1HznDZU6gJOj4pp
MlrsErTEcPnwzpKHFVGSy5YdSGuhlAQbSLcOrILWd6G93KuIG1UJzopQs2ipfg8c
5Me0+nFjy7JXeZVO7wIDAQAB
-----END PUBLIC KEY-----
<html>
<head>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.js"></script>
<script>
$(document).ready(() => {
$('#msel').dropdown()
})