Teh Social Netswork!
CREATE TABLE users (
id SERIAL PRIMARY KEY,
name VARCHAR(10) NOT NULL
);
INSERT into users VALUES
FROM python:3.4 | |
ENV PYTHONUNBUFFERED 1 | |
RUN apt-get update ; apt-get --assume-yes install binutils libproj-dev gdal-bin | |
RUN wget http://download.osgeo.org/geos/geos-3.4.2.tar.bz2 | |
RUN tar -xjf geos-3.4.2.tar.bz2 | |
RUN cd geos-3.4.2; ./configure; make; make install | |
RUN wget http://download.osgeo.org/gdal/1.11.0/gdal-1.11.0.tar.gz | |
RUN tar -xzf gdal-1.11.0.tar.gz |
- Mobiledoc - github.com/bustle/mobiledoc-kit - framework to build editors with a standardized JSON structure
- ShareDB - github.com/share/sharedb - framework to sync any JSON document using operational transforms, add real-time collaborative editing to anything else
- Bangle.dev - github.com/bangle-io/bangle.dev - toolkit built for building editors, based on prosemirror
These use separate document structures instead of HTML, some are more modular libraries than full editors
More details - http://blog.gbaman.info/?p=791
For this method, alongside your Pi Zero, MicroUSB cable and MicroSD card, only an additional computer is required, which can be running Windows (with Bonjour, iTunes or Quicktime installed), Mac OS or Linux (with Avahi Daemon installed, for example Ubuntu has it built in).
1. Flash Raspbian Jessie full or Raspbian Jessie Lite onto the SD card.
2. Once Raspbian is flashed, open up the boot partition (in Windows Explorer, Finder etc) and add to the bottom of the config.txt
file dtoverlay=dwc2
on a new line, then save the file.
3. If using a recent release of Jessie (Dec 2016 onwards), then create a new file simply called ssh
in the SD card as well. By default SSH i
Personal Blogs | |
Magazine Layouts | |
News Sites | |
Business Blogs | |
Minimal | |
Photography Corner | |
Video Heavy | |
Artistic | |
Social Hubs | |
Grid Based |
<!doctype html> | |
<html> | |
<head><title>Log-In</title></head> | |
<script> | |
if (window.opener) { | |
window.opener.postMessage("popup-done", "*"); | |
setTimeout(function() { window.close() }, 0); | |
} | |
</script> | |
</head> |
<excludefname_rule plat="mac" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith="users/" contains_1="/.git/" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" /> | |
<excludefname_rule plat="mac" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith="users/" contains_1="/node_modules/" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" /> | |
<excludefname_rule plat="mac" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith="users/" contains_1="/_build/" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" /> | |
<excludefname_rule plat="mac" osVers="*" ruleIsOptional="t" skipFirstCharThenStartsWith="users/" contains_1="/deps/" contains_2="*" doesNotContain="*" endsWith="*" hasFileExtension="*" /> |
First of all, please note that token expiration and revoking are two different things.
- Expiration only happens for web apps, not for native mobile apps, because native apps never expire.
- Revoking only happens when (1) uses click the logout button on the website or native Apps;(2) users reset their passwords; (3) users revoke their tokens explicitly in the administration panel.
A JWT token that never expires is dangerous if the token is stolen then someone can always access the user's data.
Quoted from JWT RFC:
/* | |
* A small utility to fix the letter kerning on macOS Chrome and Firefox when using the system font | |
* (San Francisco). It is now fixed in the text rendering engine in FF 58 and Chrome 64. | |
* UPDATE: It appears the applied fix doesn't work when the font is in italics. New fix has been added. | |
* Must be applied to all browsers for now. | |
*/ | |
;(() => { | |
const ua = navigator.userAgent | |
// macOS 10.11 (El Capitan) came with San Francisco. Previous versions used Helvetica |