A collapsible section containing markdown
Click to expand!
Heading
- A numbered
- list
- With some
- Sub bullets
STUFF = this is some stuff |
<!DOCTYPE html> | |
<html> | |
<head> | |
<!-- Meta conf --> | |
<meta charset="UTF-8"> | |
<!-- Meta info --> | |
<title>HTML5 Microdata Resume (CV) Template</title> | |
<meta name="description" content="An example of how to layout a semantic html5 page for a curriculum vitae/resume"> | |
<meta name="keywords" content="template, html, semantic, microdata, resume, cv, curriculum, vitae"> | |
</head> |
(() => { | |
let count = 0; | |
function getAllButtons() { | |
return document.querySelectorAll('button.is-following') || []; | |
} | |
async function unfollowAll() { | |
const buttons = getAllButtons(); |
Note: < i=OS 5.1 use
prefs:
. > 5.1 useapp-settings:
#!/usr/bin/env bash | |
echo "Install XCode first" | |
xcode-select --install | |
# Setup directories | |
mkdir ~/Projects | |
mkdir ~/Projects/Repositories | |
mkdir ~/Projects/Material |
function slugify(string) { | |
const a = 'àáäâãåèéëêìíïîòóöôùúüûñçßÿœæŕśńṕẃǵǹḿǘẍźḧ·/_,:;' | |
const b = 'aaaaaaeeeeiiiioooouuuuncsyoarsnpwgnmuxzh------' | |
const p = new RegExp(a.split('').join('|'), 'g') | |
return string.toString().toLowerCase() | |
.replace(/\s+/g, '-') // Replace spaces with - | |
.replace(p, c => b.charAt(a.indexOf(c))) // Replace special characters | |
.replace(/&/g, '-and-') // Replace & with 'and' | |
.replace(/[^\w\-]+/g, '') // Remove all non-word characters |
/* | |
* THIS IS NOT A PLUGIN | |
* ~ but a personal snippet | |
* | |
* Sometimes when prototyping my designs, I like to get dummy data pretty fast. | |
* I use this snippet to extract that data from working (aka "real life") tables from other HTML tables I find on the net. | |
* So I'll need that same data but inside an object. | |
* | |
* This script assumes by default the table has the following structure: | |
* <table> |
import React, { Component } from "react"; | |
import { Text } from "react-native"; | |
import { Provider, connect } from "react-redux"; | |
import { StackNavigator, addNavigationHelpers } from "react-navigation"; | |
import Routes from "./config/routes"; | |
import getStore from "./store"; | |
const AppNavigator = StackNavigator(Routes); |
CloudFlare is an awesome reverse cache proxy and CDN that provides DNS, free HTTPS (TLS) support, best-in-class performance settings (gzip, SDCH, HTTP/2, sane Cache-Control
and E-Tag
headers, etc.), minification, etc.