ZChen

Fake it until you make it


  • Home

  • Categories

  • Tags

  • Archives

  • About

  • Search

配置全局及自定义主题样式

2018-08-02 18:11
Posted on 2018-08-02 18:11 | Post modified: 2018-08-02 19:26 | In Angular CLI
Words count in article: 585 | Reading time ≈ 3 mins
先说问题吧。 最近在看 primeng 的源码,框架是支持主题切换的,主题样式使用 sass,主题的切换是通过动态替换全局主题 css 文件来实现的。 12345changeTheme(event: Event, theme: string) { let themeLink: HTMLLinkElement = <HTMLLinkElement> document.getElementById('theme-css'); themeLink.href = 'assets/ ...
Read more »

angular-cli配置相关索引

2018-08-02 17:55
Posted on 2018-08-02 17:55 | Post modified: 2020-01-02 18:33 | In Angular , Angular CLI
Words count in article: 49 | Reading time ≈ 1 mins
有关angular cli使用及配置的文章的一个快速目录,当作是一个索引。 CLI中配置编译额外的styles(第三方库样式,自定义主题样式等)
Read more »

windows命令行工具cmder

2018-07-25 18:29
Posted on 2018-07-25 18:29 | Post modified: 2020-01-02 18:33 | In 工具集 , cmd
Words count in article: 428 | Reading time ≈ 2 mins

To be honest: linux 或者 Mac 的命令行工具要比 windows 的好用很多。但是 windows 下也不乏一些利器,比如今天要说到的cmder,其虽没oh-my-zsh那么逆天的存在,却也甚是好用,至少要比 Windows 原生 Cmd 好出了天际。

Introduction

Lovely console emulator package for Windows

Read more »

小狗钱钱笔记

2018-07-22 21:44
Posted on 2018-07-22 21:44 | Post modified: 2020-01-02 18:33 | In 理财
Words count in article: 2,714 | Reading time ≈ 9 mins
You should always have your own judgement. preface 富裕是我们与生俱来的的权利。 生活为我们提供了众多的财富,而金钱只是其中之一。 成功的故事很少有精彩的翻版,但其中的道理可以帮助我们找出最佳的出路。 个人的经历是无法效仿的,但最基本的真理却可以。 故事这种形式会让人们以为书缺乏深度,其实一个能打动人的故事要远比一幅美丽的图画更值得我们花费笔墨去描述。 一切都是可能的,忽视是一种认输。并非困难使我们放弃,而是因为我们放弃,才显得如此困难。 我也不认为钱是人生命中最重要的东西。可是,假 ...
Read more »

python 环境管理

2018-07-18 17:12
Posted on 2018-07-18 17:12 | Post modified: 2018-07-19 11:28 | In python
Words count in article: 1,567 | Reading time ≈ 6 mins

建立正常运作的 Python 环境是一个具有挑战性的主题。本文的目的在于如何帮助 python 开发者更好的管理相应的环境。

Why

为什么需要管理多个 python 环境呢?你可能会问:安装最新的不就好了吗?

别着急,先看下面几个问题:

Read more »

GitHub的三种协议比较

2018-07-16 14:30
Posted on 2018-07-16 14:30 | Post modified: 2018-07-16 18:59 | In git 系列 , git 协议
Words count in article: 1,494 | Reading time ≈ 7 mins

Primary differences between SSH and HTTPS. This post is specifically about accessing Git repositories on GitHub.

Protocols to choose from when cloning:

plain Git, aka git://github.com/

  • Does not add security beyond what Git itself provides. The server is not verified.

    If you clone a repository over git://, you should check if the latest commit’s hash is correct.

  • You cannot push over it. (But see “Mixing protocols” below.)

Read more »

词法作用域和动态作用域

2018-07-13 11:29
Posted on 2018-07-13 11:29 | Post modified: 2020-01-02 18:33 | In you-dont-know-JS
Words count in article: 61 | Reading time ≈ 1 mins

作用域是个语言无关的概念,记录下词法作用域和动态作用域的基本知识,加深下对这个概念的理解,此外,还会特别讨论下 JavaScript 的词法作用域。

Read more »

推荐几款很实用的 Chrome 插件

2018-07-05 22:33
Posted on 2018-07-05 22:33 | Post modified: 2018-07-05 22:34 | In 工具集 , chrome
Words count in article: 560 | Reading time ≈ 2 mins

个人很喜欢 Chrome 浏览器,简洁+速度快+方便,相信众多开发人员亦是如此。今天给大家推荐下我自己常用的一些 Chrome 插件,都是精挑细选留下来的,相信会大大提高你的工作效率。

在 Chrome Store 直接搜索添加安装即可(科学上网是必须的)

Momentum

高逼格,气质瞬间提升!新打开一个 Tab 时不再单调,给你清新的感觉,奉上今日份的图,自己感受下。

Read more »

TODO LIST

2018-07-05 19:35
Posted on 2018-07-05 19:35 | Post modified: 2019-07-05 19:35 | In TODO
Words count in article: 76 | Reading time ≈ 1 mins

近期脑子里的想法或者接下来要做的事情。

  • the complete guide to angular 7 | Udemy
  • Hexo 代码高亮样式 MacPanel,目前只是修改了现有 codeblock 的样式,不方便 - 可以使用钩子,模块功能化 refer to macpanel 参考
  • construct angular ui library deerlu
Read more »

vs code 常用快捷键

2018-06-29 14:21
Posted on 2018-06-29 14:21 | Post modified: 2018-06-29 19:09 | In vs code
Words count in article: 75 | Reading time ≈ 1 mins

VS Studio Code常用快捷键汇总,持续更新中…

Read more »
12345
ZChen

ZChen

46 posts
33 categories
67 tags
GitHub E-Mail
Creative Commons
© 2017 — 2020 suchenrain
世界美好,你也是。
0%