Skip to content

Instantly share code, notes, and snippets.

@cuduy197
cuduy197 / index.html
Last active April 6, 2017 11:40
AsciiMath Hướng dẫn!
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="https://unpkg.com/purecss@0.6.2/build/pure-min.css" integrity="sha384-UQiGfs9ICog+LwheBSRCt1o5cbyKIHbwjWscjemyBMT9YCUMZffs6UqUTd0hObXD" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?family=Lemonada" rel="stylesheet">
<script>
window.MathJax = {
AuthorInit: function() {
<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<title>burst-tutorial-codesample-1</title>
</head>
<body>
<script src='https://cdn.jsdelivr.net/mojs/0.265.6/mo.min.js'></script>
<script>
'use strict';
@cuduy197
cuduy197 / index.html
Created March 18, 2017 23:08
Firebase email auth
<!DOCTYPE html>
<!--
Copyright (c) 2016 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@cuduy197
cuduy197 / index.html
Created March 17, 2017 05:05
Firebase google redirect
<!DOCTYPE html>
<!--
Copyright (c) 2016 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@cuduy197
cuduy197 / index.html
Last active March 26, 2022 20:51
Firebase google Auth
<!DOCTYPE html>
<!--
Copyright (c) 2016 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@cuduy197
cuduy197 / index.html
Created March 17, 2017 04:08
VueJS Todo + Firebase + Bootrap 4
<div id="app" class="center">
<div class="container">
<header>
<ul class="nav nav-pills nav-justified">
<li class="nav-item ">
<a class="nav-link active red" href="#"> {{numberTodo}}</a>
</li>
</ul>
</header>
<main class="">
@cuduy197
cuduy197 / json_es6_fetch.js
Last active March 16, 2017 09:57
json(url,id,firebase_p,firebase_c,log=0)
var json = (url,id,firebase_p,firebase_c,log=0) => {
fetch(url).then((r) =>{
return r.json();
}).then((d) => {
log==1?console.log(d):()=>{};
localStorage.firebase_length = Object.keys(d.demo).length;
document.getElementById(id.toString()).innerHTML = d[firebase_p][firebase_c]
})
};
@cuduy197
cuduy197 / index.html
Created February 27, 2017 10:23
Bảng mã unicode! // source https://jsbin.com/sarelal
<!DOCTYPE html>
<html lang="en-us" >
<meta charset="UTF-8">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta charset="UTF-8">
<title>Bảng mã unicode!</title>
<script src="https://fb.me/react-15.1.0.js"></script>
<script src="https://fb.me/react-dom-15.1.0.js"></script>