Setting up snap Nextcloud on Ubuntu

Tutorials / Linux Notes

2019.12.05

Setting up snap Nextcloud on Ubuntu

Nextcloud, a fork of ownCloud, is a open-source file sharing server that allows you to store your personal content, like documents and pictures, in a centralized location, much like Dropbox. It also returns the control and security of your sensitive data back to you, thus eliminating the use of a third-party cloud hosting service. Here, I'm going to walk through the installing and configurations on Ubuntu 18.04 using the snappy packaging system.

A Beginner's Guide to SCSS

Web Notes / Tutorials

2019.11.07

A Beginner's Guide to SCSS

Basically, SCSS is the most popular CSS pre-processor now people use. It's just a more recent version of the original Sass syntax. All Sass/SCSS code compiles back to standard CSS so that the browsers can understand it. All browsers currently don't have direct support for SCSS or any other CSS pre-processor, nor does the standard CSS specification provide alternatives for similar features, not yet.

Get Random Number Using Liquid

Code Snippet / Tutorials

2019.11.01

Get Random Number Using Liquid

Generate random numbers in Liquid was once possible with built-in rand(), but it has been taken out because it's easy to replicate in JavaScript and doesn't benefits to server side caching. However, you can actually get a random number in Liquid through a simple trick: making use of both the date & modulo Liquid filters.

临时关闭 Mac SIP 修改自带词典字体

Tutorials

2019.03.16

临时关闭 Mac SIP 修改自带词典字体

最近用词典比较多,而 Mac 自带词典不得不说非常好用,还能自己编译、安装一些第三方的词典。稍有遗憾的是,自带词典的字体目前(Mojave)不能任意修改,需要临时关闭 SIP (System Integrity Protection, 系统完整性保护) 才能添加自定义 CSS。

TRENDING