Hey, What's Up Bro?

My First Post!

You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run jekyll serve, which launches a web server and auto-regenerates your site when a file is updated.

Quote Testing.. Quote Testing.. Quote Testing.. Quote Testing.. Quote Testing..

0123456789.:,;(*!?’) {#$@&}

我能吞下玻璃而不伤身体。

我能吞下玻璃而不伤身体。

我能吞下玻璃而不伤身体。

Double: 。:,;(×!?‘’、“”)

Check out the Jekyll docs for more info on how to get the most out of Jekyll. (中文字体测试)File all bugs/feature requests at Jekyll’s GitHub repo. If you have questions, you can ask them on Jekyll Talk.

译文标题 发表于 原文链接
RxJS: 操作符状态管理 2019-2-12 Angular In Depth
RxJS: 避免 takeUntil 造成的泄露风险 2018-5-27 Angular In Depth
认识 rxjs 中的 Subject 2018-4-17 Medium
RxJS: 避免因滥用 switchMap 而导致错误 2018-3-12 Angular In Depth
def print_hi(name)
  puts "Hi, #{name}"
end
print_hi('Tom')
# prints 'Hi, Tom' to STDOUT.
def get_html(url):
    try:
        socket.setdefaulttimeout(4)
        page = urllib.urlopen(url)
    except:
        raise Exception('请检查网络连接.. _(:3」∠)_')
    else:
        html = page.read()
        return html

def get_brief(html):
    Soup = BeautifulSoup(html, 'html.parser')
    brief = Soup.select('meta[name="description"]')
    if brief:
        return brief[0].get('content')

__all__ = ['main']
<head>
    <meta charset="utf-8">
    <title>yk's Blog</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="favicon.ico" rel="shortcut icon">
    <link href="/assets/css/main.css" rel="stylesheet">
</head>
#include <iostream>
#include <fstream>
#include <string>
using namespace std;
std::ifstream tcin("./inTest.txt");

int main()
{
    int k;
    string n;
    tcin >> k >> n;

    int c[10] = {0};
    int sum = 0;
    for (string::iterator x = n.begin(); x != n.end(); ++x)
    {
        int t = *x-48;
        ++c[t];
        sum += t;
    }
    return 0;
}
module Main where

main :: IO()
main = do putStrLn "Main"

comp :: (Integral a) => a -> a -> String
comp x y
  | x == y = "EQ"
  | x < y  = "LT"
  | x > y  = "GT"

sum' :: (Num a) => [a] -> a
sum' [] = 0
sum' [x] = x
sum' (x:xs) = x + sum' xs