$ cd /path/to/Dockerfile
$ sudo docker build .
View running processes
(ns serverless.pmr-spec | |
(:require [clojure.spec :as s])) | |
(s/def ::spec | |
(s/or ::table (s/cat :s #{`s/keys 's/keys} :pairs (s/* any?)) | |
::many-rel (s/cat :s #{`s/every} :pred any? :opts (s/* any?)) | |
::and (s/cat :s #{`s/and} :pred-forms (s/* any?)) | |
::other any?)) |
https://www.youtube.com/watch?v=d0yGdNEWdn0
Принципы:
My name is Ivo and I am an Italian agile software developer who loves coding and solving problems in a simple yet creative fashion. During my years of web development I have grown a strong passion for fronted development which led me to a good understanding of its underlaying technologies. I love hacking the hell out of web apps and getting a grasp of cutting edge technologies in order to keep up with time and deliver the best user experience possible.
While user experience still plays a big role in what I enjoy doing, I've learnt how important it is to write stable yet maintainable and scalable backend solutions. Even though I started out with PHP, I soon naturally came closer to the NodeJS environment while still embracing more "elegant" technologies such as Ruby or Java either adopting frameworks or by implementing architectures from scratch.
I discovered the Agile Manifesto and eXtreme Programming back while joining XPeppers in 2013 and I’ve tried my best to apply either values and prin
import {combineReducers} from redux; | |
const reducer1InitialState = { | |
someFoo: { | |
someSubFoo: 1, | |
someSubFoo2: 2 | |
}, | |
someBar: { | |
someSubBar: 1, | |
someSubBar2: 2 |
(ns clj-spec-playground | |
(:require [clojure.string :as str] | |
[clojure.spec :as s] | |
[clojure.test.check.generators :as gen])) | |
;;; examples of clojure.spec being used like a gradual/dependently typed system. | |
(defn make-user | |
"Create a map of inputs after splitting name." | |
([name email] |
#!/bin/bash | |
## | |
# Based on the blog post at http://www.aymerick.com/2014/07/22/jekyll-github-pages-bower-bootstrap.html | |
## | |
echo "Please enter the github repository url ( [email protected]:<user>/<repo>.git ): " | |
read GIT_REPO | |
BASENAME=$(basename $GIT_REPO) |
My friend Michael Jackson turned off github issues on one of his smaller projects. It got me thinking...
Maintainers getting burned out is a problem. Not just for the users of a project but the mental health of the maintainer. It's a big deal for both parties. Consumers want great tools, maintainers want to create them, but maintainers don't want to be L1 tech support, that's why they
package main | |
import ( | |
"database/sql" | |
"gopkg.in/gorp.v1" | |
"log" | |
"strconv" | |
"github.com/gin-gonic/gin" | |
_ "github.com/go-sql-driver/mysql" |
You won’t find rants on how functional programming improves you, your sanity and your life overall here. There are some examples in the very beginning to save you some time on reading the whole post, just come along if you don’t like how they look like.
By the way, this is not even a blog, so formally this is not even a blog post. This is not a library or a new paradigm. It’s just a few pieces of code that might come handy for your daily job.
Example:
[1, 3.14, -4].map &_.safe{ magnitude odd? } # => [true, nil, false]