#List of countries
It's time someone compiled a list of countries to use within a web application. This gist attempts to make a first move at that.
I've also compiled a list of nationalities
import React from 'react' | |
import {withDocument} from 'part:@sanity/form-builder' | |
import {Stack, Card, Flex, Text} from '@sanity/ui' | |
import {format} from 'date-fns' | |
const WORD_LENGTH = 5 | |
function Guess({char, answer, index}) { | |
const answerSplit = answer.split('') | |
let tone = `default` |
function el() { | |
mkdir "$1" | |
cd "$1" | |
git init | |
mkdir -p src/_data/ | |
mkdir src/_includes/ | |
# Populate .gitignore | |
echo "# Node" >> .gitignore |
<h1>Low Quality Image Placeholders out of the box in <a href="https://sanity.io/?utm_source=css-tricks&utm_campaign=csstricks">sanity.io</a></h1> | |
<p>Push <b>Rerun</b> to see the load effect again</p> | |
<div id="app"> | |
<span id="loading">Loading...</span> | |
</div> | |
<footer> | |
<p>This is a demo of how to use structured content in <a href="https://sanity.io/?utm_source=css-tricks&utm_campaign=csstricks">sanity.io</a></p> | |
<p>Photos from <a href="https://unsplash.com">unsplash.com</a></p> | |
</footer> |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import os | |
import webbrowser | |
from threading import Timer | |
os.environ["DJANGO_SETTINGS_MODULE"] = "webapp.settings" | |
import cherrypy |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import os | |
import webbrowser | |
from threading import Timer | |
os.environ["DJANGO_SETTINGS_MODULE"] = "webapp.settings" | |
import cherrypy |
#List of countries
It's time someone compiled a list of countries to use within a web application. This gist attempts to make a first move at that.
I've also compiled a list of nationalities
{% extends "admin/base_site.html" %} | |
{% load i18n admin_static admin_modify %} | |
{% load url from future %} | |
{% load admin_urls %} | |
{% block extrahead %}{{ block.super }} | |
{% url 'admin:jsi18n' as jsi18nurl %} | |
<script type="text/javascript" src="{{ jsi18nurl|default:"../../../jsi18n/" }}"></script> | |
{{ media }} | |
{% endblock %} |
Custom recipe to get OS X 10.10 Yosemite running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.
This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.
You are encouraged to fork this and modify it to your heart's content to match your own needs.