This is a summary of the "Learn You A Haskell" online book under http://learnyouahaskell.com/chapters.
- Haskell is a functional programming language.
This is a summary of the "Learn You A Haskell" online book under http://learnyouahaskell.com/chapters.
Please behave in a polite, considerate, and inclusive manner in the channel at all times. People volunteer their time in the channel to help people like you with your Laravel problems and some respect (in both directions) will go an extremely long way.
When asking questions in the #laravel channel, please follow these 12 simple rules.
A quick list of tools for building HTML/CSS/JS apps that work well offline. Ping me at @nolanlawson if I missed anything!
Tools for bundling your HTML/CSS/JS into a native app.
(ns hipstr.test.validators.user-validator-test | |
(:require [hipstr.validators.user-validator :as uv]) | |
(:use clojure.test)) | |
(defn validate-email [email] | |
"Validates the provided email for us, and returns the | |
set of validation messages for the email, if any." | |
(:email (uv/email-validator {:email email}))) | |
(defn validate-username [username] |
#!/bin/bash | |
echo "Running PhantomJs..." | |
LOGFILE=/tmp/phantomjs.log | |
exec 6>&1 # Link file descriptor #6 with stdout. | |
exec > $LOGFILE # stdout replaced with file "logfile.txt". | |
# ----------------------------------------------------------- # |
# Usage: | |
# 1) Ctr+S downloads page to ~/Desktop/books.html | |
# 2) Run script | |
# 3) Find your books in /tmp/humble_books | |
# 4) Read them | |
# 5) Profit | |
cat ~/Desktop/books.html | | |
grep "https://dl.humble.com" | | |
sed -n -E 's/.data-web\=\"(https://dl.humble.com/([.]+).([a-z]+)?["]+)./\1 \2 \3/p' | | |
sed 's/&/&/g' > /tmp/humble_books_list && cat /tmp/humble_books_list | |
1.) Download a Nerd Font
2.) Unzip and copy to ~/.fonts
3.) Run the command fc-cache -fv
to manually rebuild the font cache
#!/bin/bash | |
mkdir /tmp/adodefont | |
cd /tmp/adodefont | |
mkdir -p ~/.fonts | |
wget https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/1.050R-it.zip | |
unzip 1.050R-it.zip | |
cp source-code-pro-2.030R-ro-1.050R-it/OTF/*.otf ~/.fonts/ | |
wget https://github.com/adobe-fonts/source-serif-pro/archive/2.000R.zip |