Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
# | |
# UPDATE for 10.10.4+: please consider this patch obsolete, as apple provides a tool called "trimforce" to enable trim support for 3rd party SSDs | |
# just run "sudo trimforce enable" to activate the trim support from now on! | |
# | |
# Original version by Grant Parnell is offline (http://digitaldj.net/2011/07/21/trim-enabler-for-lion/) | |
# Update July 2014: no longer offline, see https://digitaldj.net/blog/2011/11/17/trim-enabler-for-os-x-lion-mountain-lion-mavericks/ | |
# | |
# Looks for "Apple" string in HD kext, changes it to a wildcard match for anything | |
# | |
# Alternative to http://www.groths.org/trim-enabler-3-0-released/ |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
Note: This guide assumes Azure CLI 2.0 is installed and familiarity with Azure concepts.
The APP_ID_URI
needs to match what is expected in client request calls.
$ az ad sp create-for-rbac --name [APP_ID_URI] --password [PASSWORD]
(defn mul [num-str m] | |
(let [[acc v] (reduce (fn [[acc v] ch] | |
(let [n (+ v (* m (Integer/parseInt (str ch))))] | |
[(conj acc (rem n 10)) | |
(quot n 10)])) | |
[nil 0] | |
(reverse num-str))] | |
(apply str (if (zero? v) acc (conj acc v))))) | |
(mul "9876545679" 7) |
In this talk, I want to share my experience gained during the development of frontend applications in several programming languages.
I think it's not a secret for anybody that developing large JavaScript applications is not so easy as it seems at first glance. We all want something simpler and more reliable. Therefore, many developers and even entire companies switch to different, compiled in JavaScript, programming languages. The bulk of such transitions is accounted for TypeScript and flow, and often, developers faced with more problems than they were before.
I wasn't the exception. Moving to a new project, I started using TypeScript and was disappointed. Luckily in my next project I used ClojureScript and it was like everything is illuminated!