(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
# Renombrar el archivo por Makefile | |
# | |
# Objetivos: | |
# 1. Ejecutar paquetes npm del proyecto inicializado | |
# 2. Evitar instalar paquetes npm de forma global con -g | |
# | |
package-http-server = light-server | |
package-params=-s . -p 8000 | |
npm_bin=$$(npm bin) |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(ns apples.core | |
(:require [play-clj.core :refer :all] | |
[play-clj.g2d :refer :all] | |
[play-clj.math :refer :all])) | |
(declare apples main-screen) | |
(def speed 14) | |
(defn- get-direction [] | |
(cond |
#A Few Testing Principles
(by ihat)
##Agenda
# cambiar "clojure" por el lenguaje que estés practicando | |
DIR_EXERCISES = clojure | |
DIR_RELATIVE_ROOT = . | |
# comandos útiles | |
MKDIR=mkdir -p | |
COPY=rsync -vzr | |
DIRS := $(dir $(wildcard $(DIR_EXERCISES)/*/)) |
;; Estructuras de control de flujo | |
(defmacro case (expr &rest clauses) | |
"Eval EXPR and choose among clauses on that value. | |
Each clause looks like (KEYLIST BODY...). EXPR is evaluated and compared | |
against each key in each KEYLIST; the corresponding BODY is evaluated. | |
If no clause succeeds, case returns nil. A single atom may be used in | |
place of a KEYLIST of one atom. A KEYLIST of t or `otherwise' is | |
allowed only in the final clause, and matches if no other keys match. | |
Key values are compared by `eql'. |
all: install run | |
install: install-maven install-spring | |
install-maven: | |
$(info Instalando Maven..) | |
@mvn install | |
install-spring: | |
$(info Instalando Spring..) |
# simulación para probar contador de referencias de los inodos | |
simulacion: hardlink-2.txt borrar-softlink | |
borrar-softlink: | |
$(info Borrando softlink de hardlink) | |
@rm softlink.txt | |
@ls -li *.txt | |
archivo.txt: |
NAME_PUBLIC_KEY=id_rsa.pub | |
PATH_PUBLIC_KEY=~/.ssh/$(NAME_PUBLIC_KEY) | |
URL_UPLOAD_PUBLIC_KEY=https://transfer.sh | |
##@ Deploy | |
ssh-key-create: ## generar clave publica | |
$(info Creando clave SSH..) | |
@./popup-ssh-keygen.sh | |
ssh-key-print: ## imprimir clave publica |
BIN=test | |
LOG_FILE=log.txt | |
SOURCE_FILE=test.c | |
#################################################### | |
GNU_MAKE_PRINT_RECIPE=true | |
GCC_REDIRECT_LOGS=true | |
GCC_PRINT_LOGS=false |