Setup One: Buy a Mac if you don't have one.
Setup Two: Install Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Setup Three:
Setup One: Buy a Mac if you don't have one.
Setup Two: Install Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Setup Three:
| from flask import Flask, current_app | |
| from blinker import Namespace | |
| app = Flask(__name__) | |
| app.secret_key = 'WOO' | |
| my_signals = Namespace() | |
| def moo_signal(app, message, **extra): |
| Most remember Pieter Hintjens for his messaging protocols. I don't know anything about that, | |
| but I credit him with rekindling my love of programming in general, Lisp and functional programming | |
| in one fell swoop about 17 years ago. | |
| He did this by writing 'Libero', a mid-90's C program that took an ASCII diagram of a state machine | |
| and produced code that ran that machine in a remarkable number of languages including 'sh', 'python', | |
| 'C' and many more. Some of them are listed on the original page (https://imatix-legacy.github.io/libero/). | |
| I discovered in the early 00's and it fascinated me because was a unique combination of code generation | |
| and what is now called purely functional programming. |
I'm going to cover a simple, but effective, utility for managing state and transitions (aka workflow). We often need to store the state (status) of a model and it should only be in one state at a time.
| crontab: command used to schedule and run tasks in the background at defined regular intervals. | |
| Format: | |
| * * * * * * | |
| ( MIN HOUR DOM MON DOW CMD ) | |
| where: | |
| MIN- minute -0-59 |
| 1. `vim /etc/syslog.conf` | |
| 2. Add to end of file: `cron.* /var/log/cron.log` | |
| 3. | |
| ``` | |
| sudo launchctl unload /System/Library/LaunchDaemons/com.apple.syslogd.plist | |
| sudo launchctl load /System/Library/LaunchDaemons/com.apple.syslogd.plist | |
| ``` | |
| [where-is-the-cron-log-file-in-macosx-lion](http://apple.stackexchange.com/questions/38861/where-is-the-cron-log-file-in-macosx-lion) |
| import ast | |
| import contextlib | |
| import json | |
| import os | |
| import string | |
| from collections import OrderedDict | |
| from enum import Enum | |
| from numbers import Number | |
| from string import Template |
| import re | |
| import sys | |
| import json | |
| from wikipedia2vec import Wikipedia2Vec | |
| ev = Wikipedia2Vec.load("./enwiki_20180420_100d.pkl") | |
| regex = r'\[\[(.+?)\]\]' | |
| regex_first = r"'''(.+?)'''" | |
| regex_title = r'<title>(.+?)</title>' |
| Aerobase | Keycloak | WSO2 Identity Server | Gluu | CAS | OpenAM | Shibboleth IdP | |
|---|---|---|---|---|---|---|---|
| OpenID Connect/OAuth support | yes | yes | yes | yes | yes | yes | third-party |
| Multi-factor authentication | yes | yes | yes | yes | yes | yes | yes |
| Admin UI | yes | yes | yes | yes | yes | yes | no |
| OpenJDK support | yes | yes | yes | yes | no | ||
| Identity brokering | yes | yes | yes | ||||
| Middleware | NGINX, Wildfly | Wildfly, JBOSS | WSO2 Carbon | Jetty, Apache HTTPD | any Java app server | any Java app server | Jetty, Tomc |