Here is a simple and robust way to check for the validity of an email address syntax directly in the browser. No need for crazy regular expressions.
e = document.createElement('input')
e.type = 'email'
// check some email addresses
e.value = 'hi@'| function worker() { | |
| setInterval(function() { | |
| postMessage({foo: "bar"}); | |
| }, 1000); | |
| } | |
| var code = worker.toString(); | |
| code = code.substring(code.indexOf("{")+1, code.lastIndexOf("}")); | |
| var blob = new Blob([code], {type: "application/javascript"}); |
Here is a simple and robust way to check for the validity of an email address syntax directly in the browser. No need for crazy regular expressions.
e = document.createElement('input')
e.type = 'email'
// check some email addresses
e.value = 'hi@'| ;;;;;;;;;;;;;;;;;;; | |
| ;; Collections in Clojure | |
| ;;;;;;;;;;;;;;;;;;; | |
| ;; Distinctive characteristics | |
| ;;;;;;;;;;;;;;;;;;; | |
| ;; * They are mainly used in terms of abstractions, not the details of concrete implementations. | |
| ;; * They are immutable and persistent. | |
| ;;;;;;;;;;;;;;;;;;; |
Short version: I strongly do not recommend using any of these providers. You are, of course, free to use whatever you like. My TL;DR advice: Roll your own and use Algo or Streisand. For messaging & voice, use Signal. For increasing anonymity, use Tor Browser for desktop, and Onion Browser for mobile.
This mini-rant came on the heels of an interesting twitter discussion: https://twitter.com/kennwhite/status/591074055018582016
| 1 acorn: A Leiningen template for a ClojureScript setup with Figwheel, Austin, Om. | |
| 8 amp: Leiningen template for AMP (Alfresco Module Package) projects. | |
| 1 angular-cl2: A Leiningen template for using AngularJS and ChlorineJS | |
| 1 angular: Clojure and AngularJS in perfect harmony. | |
| 6 angular: Clojure and AngularJS in perfect harmony. $ lein new angular <name> | |
| 2 angularjs-app: Leiningen template for web application with http-kit and angularjs | |
| 5 angular-simple: Clojure and AngularJS $ lein new angular-simple <name> | |
| 1 aperiodic-cljs: My cljs development starting point. Basically ripped from lein-cljsbuild. | |
| 1 apijr: clojurescript project template | |
| 1 appfgo: 'lein new' template for Funcgo application |
| import {createStore} from 'redux'; | |
| import reducer from './reducers/index.js' | |
| import { rehydrate, rehydratingStore } from './utils/rehydratingStore.js'; | |
| const store = rehydratingStore()(createStore)(reducer); | |
| export function __reload(deletedModule){ | |
| const prevState = deletedModule.getState(); | |
| debug('Reloaded. rehydrate with state: ', prevState.sketcher.objectsById); | |
| store.dispatch(rehydrate(prevState)); |
| // Taken from http://loading.io/ | |
| uiload { | |
| display: inline-block; | |
| position: relative; | |
| & > div { | |
| position: relative; | |
| } | |
| } | |
| @-webkit-keyframes ajax-loader { |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta name="description" content="unique routes for page with/without overlay"> | |
| <meta charset="utf-8"> | |
| <title>JS Bin</title> | |
| <script src="http://cdnjs.cloudflare.com/ajax/libs/mithril/0.2.0/mithril.min.js"></script> | |
| <style id="jsbin-css"> | |
| div.overlay { | |
| position: absolute; |
| var Modal = { | |
| controller: function() { | |
| return {isVisible: false} //internal state | |
| }, | |
| view: function() { | |
| return m(".modal", { | |
| class: ctrl.visible ? ".modal-visible" : "" //sets visibility via CSS | |
| config: function(el, init) { | |
| if (!init) { | |
| //jQuery-exposed API |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Mithril experiment</title> | |
| <meta name="description" content="mithriljs: Mithril template"> | |
| <meta charset="utf-8"> | |
| <script> | |
| window.log = function(){ | |
| log.history = log.history || []; // store logs to an array for reference |