(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 wikiparse.core | |
| (:require [clojure.java.io :as io] | |
| [clojure.data.xml :as xml] | |
| [clojure.zip :refer [xml-zip]] | |
| [clojure.data.zip.xml :refer [xml-> xml1-> text]]) | |
| (:import [ org.apache.commons.compress.compressors.bzip2 BZip2CompressorInputStream]) | |
| (:gen-class :main true)) | |
| (defn bz2-reader | |
| "Returns a streaming Reader for the given compressed BZip2 |
(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.
| javascript: (function() { | |
| var root = $(document.getElementsByTagName('html')); | |
| var watchers = []; | |
| var attributes = []; | |
| var attributes_with_values = []; | |
| var elements = []; | |
| var elements_per_attr = []; | |
| var scopes = []; |
| safeHead [] = Left "The list was empty. No head is available." | |
| safeHead xs = Right . head $ xs | |
| -- Sample usage from GHCI: | |
| -- | |
| -- *Safefs> safeHead [1..3] | |
| -- Right 1 | |
| -- *Safefs> safeHead [7] | |
| -- Right 7 | |
| -- *Safefs> safeHead [2, 3] |
No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.
Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.
Below is the list of modern JS frameworks and almost frameworks – React, Vue, Angular, Ember and others.
All files were downloaded from https://cdnjs.com and named accordingly.
Output from ls command is stripped out (irrelevant stuff)
$ ls -lhS
566K Jan 4 22:03 angular2.min.js
| /* eslint no-unused-vars: 0, no-multi-spaces: 0 */ | |
| "use strict"; | |
| // [JPEG encode process] | |
| // 1. RGB to YUV | |
| // 2. Padding & chunk to 8x8-blocks | |
| // 3. DCT | |
| // 4. Quantization | |
| // 5. zigzag scan | |
| // 6. Huffman coding |
| package main | |
| import ( | |
| "database/sql" | |
| "database/sql/driver" | |
| "fmt" | |
| "net" | |
| "os" | |
| "time" |
| #!/usr/bin/env bash | |
| # https://developers.supportbee.com/blog/setting-up-cucumber-to-run-with-Chrome-on-Linux/ | |
| # https://gist.github.com/curtismcmullan/7be1a8c1c841a9d8db2c | |
| # https://stackoverflow.com/questions/10792403/how-do-i-get-chrome-working-with-selenium-using-php-webdriver | |
| # https://stackoverflow.com/questions/26133486/how-to-specify-binary-path-for-remote-chromedriver-in-codeception | |
| # https://stackoverflow.com/questions/40262682/how-to-run-selenium-3-x-with-chrome-driver-through-terminal | |
| # https://askubuntu.com/questions/760085/how-do-you-install-google-chrome-on-ubuntu-16-04 | |
| # Versions | |
| CHROME_DRIVER_VERSION=`curl -sS https://chromedriver.storage.googleapis.com/LATEST_RELEASE` |