博客更新完成
两年前的坑
总算是把两年前的坑给填了
虽然和原始设计有小小的出入(中途弄丢了源码)
而且也没重写静态博客生成器
但是就这样吧(摊手
总算是把两年前的坑给填了
虽然和原始设计有小小的出入(中途弄丢了源码)
而且也没重写静态博客生成器
但是就这样吧(摊手
基于原先徐明明翻译的版本,替换了最新的英文版到里面
一些大段的更新就干脆没翻译了,如果有愿意翻译的,就 fork https://github.com/Bluek404/Clojure-Article 然后自己翻译吧
Starting in version 39 of Chrome for Android on Lollipop, you’ll now beable to use the
theme-color
meta tag to set the toolbar color—this means no more Seattle gray toolbars! The syntax is pretty simple: add ameta
tag to your page’s<head>
with thename="theme-color"
, and set thecontent
to any valid CSS color.
第一步:
设置 Docker 内 AnyConnect 的端口和母机映射的端口相同
We’re pleased to announce that we’ve received cross-signatures from IdenTrust, which means that our certificates are now trusted by all major browsers. This is a significant milestone since it means that visitors to websites using Let’s Encrypt certificates can enjoy a secure browsing experience with no special configuration required.
有时候需要让 git 忽略某个文件的更新,比如配置文件。配置文件里经常有各种涉及隐私的东西,一般只提交一个模板上去,如果把自己的配置提交上去了……被盗用的例子也不少了(比如这个、这个和这个)
解决方法也很简单,让 git 忽略这个文件的变更就行了
https://bluek404.gitbooks.io/programming-elixir
把别人翻译的整理了一下
Github: https://github.com/Bluek404/programming-elixir
英文: http://elixir-lang.org/getting-started/introduction.html
块加密流加密之类的就不说了,只是单独说一下这个加密模式
算是和现在用的 VIM 的配色比较接近了
defrecord Person, first_name: nil, last_name: "Dudington" do
def name record do # huh ?
"#{record.first_name} #{record.last_name}"
end
end
defrecord User, name: "José", age: 25
guy = Person.new first_name: "Guy"
guy.name
defmodule ListServer do
@moduledoc """
This module provides an easy to use ListServer, useful for keeping
lists of things.
"""
use GenServer.Behaviour
alias Foo.Bar
### Public API
@doc """
Starts and links a new ListServer, returning {:ok, pid}
## Example
iex> {:ok, pid} = ListServer.start_link
"""
def start_link do
:gen_server.start_link({:local, :list}, __MODULE__, [], [])
end
### GenServer API
def init(list) do
{:ok, list}
end
# Clear the list
def handle_cast :clear, list do
{:noreply, []}
end
end
{:ok, pid} = ListServer.start_link
pid <- {:foo, "bar"}
greeter = fn(x) -> IO.puts "hey #{x}" end
greeter.("Bob")
意料之外,情理之中
就把右侧一直懒得换的百度换成了 Google
夏天过去了,人却依旧懒