Skip to content

Instantly share code, notes, and snippets.

var appendAnimation = {
appendChar: '_',
timer: 100,
text: "",
initialValue: 0,
data: '',
state: true,
init: function (elementId) {
this.dom = document.getElementById(elementId);
this.text = this.dom.innerText;
@xmanemran
xmanemran / react-native-maps-enable-google-maps-instructions.md
Created August 29, 2017 12:46 — forked from heron2014/react-native-maps-enable-google-maps-instructions.md
Visual instructions how to enable Google Maps on IOS using react-native-maps

Visual instructions how to enable Google Maps on IOS using react-native-maps

This is for my personal use, things might not be correctly explained here. For the official docs please check https://github.com/airbnb/react-native-maps

Steps from scratch:

1.react-native init GoogleMapPlayground

2. cd GoogleMapPlayground

import url from './url';
import store from '../store';
import {AsyncStorage, Alert} from 'react-native';
import {client_id, client_secret} from "../settings/constent";
import {credential, loadingStart, loadingEnd} from '../actions/io'
import {userData} from "../actions/app";
export default {
post,
login,
@xmanemran
xmanemran / .block
Last active August 31, 2018 19:20
bar 1st
license: mit
@xmanemran
xmanemran / .block
Created August 31, 2018 19:58
Line and area
license: mit
@xmanemran
xmanemran / .block
Last active September 6, 2018 06:51
Radar Chart Redesign v2
height: 600
license: mit
@xmanemran
xmanemran / .block
Created September 5, 2018 12:50
Spider excer
license: mit
@xmanemran
xmanemran / .block
Created September 7, 2018 12:31
append, update, exit
license: mit
subprojects {
ext {
compileSdk = 28
buildTools = "28.0.0"
minSdk = 16
targetSdk = 26
}
afterEvaluate { project ->
if (!project.name.equalsIgnoreCase("app")
<template>
<div class="detail-section">
<h1 class="detail-title">{{ detail.title }}</h1>
<div class="detail-content">
<wmui-preview :content="detail.content" />
</div>
<p class="detail-tags">
<nuxt-link v-for="(tag, index) in detail.tags" :key="index" :to="'/tags/' + tag.id"># {{ tag.name }}</nuxt-link>
</p>
<div class="detail-admin-section">