Skip to content

Instantly share code, notes, and snippets.

randomor /
Last active November 13, 2020 20:08

uml: sequence diagram

Here I will embed PlantUML markup to generate a sequence diagram.

I can include as many plantuml segments as I want in my Markdown, and the diagrams can be of any type supported by PlantUML.

    skinparam backgroundColor #EEEBDC
    skinparam handwritten true
 actor Customer
randomor / App.swift
Last active February 19, 2021 20:59
SwiftUI 2020 + CloudKit + Core Data ZenJournal prototype:
import SwiftUI
import CoreData
let appTransactionAuthorName = "app"
struct ZenJournalApp: App {
var body: some Scene {
WindowGroup {
## Intro
randomor / Fastfile
Created March 10, 2019 01:33
Zenjournal Fastfile for React Native
# This file contains the configuration
# You can find the documentation at
# For a list of all available actions, check out
# For a list of all available plugins, check out
### Keybase proof
I hereby claim:
* I am randomor on github.
* I am randomor ( on keybase.
* I have a public key ASDClQi_6MuyBI7WhKSvZaUNBGGTa3-c_3QbFRc3CKSiZQo
To claim this, I am signing this object:
randomor / neo4j-cli
Created November 3, 2015 19:56 — forked from jexp/neo4j-cli
Script to start Neo4j with custom database, host and port
echo "Usage bin/neo4j-cli [path/to/db] [host-or-ip] [port]"
randomor / laravel-elixir-gulp-include
Last active August 29, 2015 14:07
For using gulp-include with laravel-elixir
//Currently I'm creating the processed coffee file in a temporary directory inside `resources/assets/coffee` for it to be picked up by ``
//And this task also doesn't work for js, scss or css, even though elixir does provide some native support for `@import`.
//Alternative ways of integrate `gulp-include` with `laravel-elixir` is thus deeply appreciated.
elixir.extend('includeFiles', function(src, output) {
var baseDir = this.preprocessors.baseDir + 'coffee/';
src = this.buildGulpSrc(src, baseDir, '**/*.coffee');
module ActiveAdmin
module Inputs
class FilterNumericRangeInput < ::Formtastic::Inputs::StringInput
include FilterBase
def to_html
input_wrapping do
[ label_html,
builder.text_field(gt_input_name, input_html_options(gt_input_name)),
template.content_tag(:span, "-", :class => "seperator"),
randomor / print_github.js
Last active April 13, 2022 06:28 — forked from robcowie/print_github.js
For the new design.
-ms-transform:rotate(180deg); /* IE 9 */
-moz-transform:rotate(180deg); /* Firefox */
-webkit-transform:rotate(180deg); /* Safari and Chrome */
-o-transform:rotate(180deg); /* Opera */
position: fixed;
top: -40px;
transition: all 0.3s;
-moz-transition: all 0.3s; /* Firefox 4 */