start new:
tmux
start new with session name:
tmux new -s myname
I'm a Rubyist with a lot of admiration for Python. Both languages are | |
similar (in the grand scheme of things) and each has huge pros and cons. | |
Python does not click for me in the same way as Ruby does not | |
click for perhaps the majority of programmer-kind. German doesn't click | |
for me either and 100m+ people speak that ;-) But I recently saw an | |
example of WHY Python taxes my Ruby brain a little. | |
I found some code at http://lukeplant.me.uk/blog/posts/why-learning-haskell-python-makes-you-a-worse-programmer/: |
There's no shortage of good resources for learning laravel. So instead of the usual introductory tutorial were just gonna learn Laravel by building a project from scratch and that's gonna be a User Management System.
I don't know if my definition of a User Management System is correct but here's my idea of what's it's capable of doing:
(ns helloworld.handler | |
(:use compojure.core) | |
(:require [clojure.java.io :as io] | |
[ring.util.response :as response] | |
[compojure.handler :as handler] | |
[compojure.route :as route] | |
[hiccup.form :as form] | |
[hiccup.core :refer [html]])) | |
;; ページレイアウト |
import com.google.gson.Gson; | |
import com.google.gson.JsonSyntaxException; | |
import com.android.volley.AuthFailureError; | |
import com.android.volley.NetworkResponse; | |
import com.android.volley.ParseError; | |
import com.android.volley.Request; | |
import com.android.volley.Response; | |
import com.android.volley.Response.ErrorListener; | |
import com.android.volley.Response.Listener; |
#Views Handlers - A Shakedown
This is a cheat sheet for information about extending the capabilities of Views by extending and building your own handlers. It will cover the basic handlers and attempt to cover some of the hooks that you might use when doing so. Including examples, basic documentation and some caveats where necessary. THIS IS NOT A COMPLETE LIST!! Consider the code of the handler your looking to extend to be the ultimate source of documentation. This is merely a convenience and a starting point.
_Ignore the tags in the included snippets, they are a convenience for formatting.
views_handler_field_numeric
).views_handler_field_my_numeric_field.inc
.(defun fizzbuzz () | |
"Fizzbuzz written in elisp. Count from 1 to 100, replacing numbers mod 3 with fizz, mod 5 with buzz, | |
and mod 3 and mod 5 with Fizzbuzz." | |
(interactive) | |
(insert "let's start this fizzbuzzin up!\n") | |
(mapcar (lambda (num) | |
(cond | |
;; if ((x % 3 == 0) && (x % 5 == 0)) | |
((and (= (% num 3) 0) (= (% num 5) 0)) | |
(insert "fizzbuzz\n")) |
# A simple Makefile alternative to using Grunt for your static asset compilation | |
# | |
## Usage | |
# | |
# $ npm install | |
# | |
# And then you can run various commands: | |
# | |
# $ make # compile files that need compiling | |
# $ make clean all # remove target files and recompile from scratch |
angular.module('myApp', ['ionic', 'myApp.services', 'myApp.controllers']) | |
.run(function(DB) { | |
DB.init(); | |
}); |