Skip to content

Instantly share code, notes, and snippets.

View calebklc's full-sized avatar
🤯
I may be slow to respond.

KwanLam Chan calebklc

🤯
I may be slow to respond.
  • Hong Kong
  • 20:11 (UTC +08:00)
View GitHub Profile
@calebklc
calebklc / One Dark.icls
Created September 22, 2016 15:12 — forked from agentgt/One Dark.icls
Intellij Atom One Dark theme
<scheme name="One Dark" version="142" parent_scheme="Default">
<option name="LINE_SPACING" value="1.0" />
<option name="EDITOR_FONT_SIZE" value="12" />
<option name="CONSOLE_FONT_NAME" value="Monospaced" />
<option name="EDITOR_FONT_NAME" value="Menlo" />
<colors>
<option name="ADDED_LINES_COLOR" value="abb2bf" />
<option name="ANNOTATIONS_COLOR" value="ffffff" />
<option name="ANNOTATIONS_MERGED_COLOR" value="ffffff" />
<option name="CARET_COLOR" value="61afef" />
@calebklc
calebklc / Awesome-PHP-Development-Environment-on-Antergos.md
Last active December 11, 2016 11:20 — forked from rhwilr/Awesome-PHP-Development-Environment-on-Arch.md
This is my awesome php development environment

Introduction

The following steps are required for a typical web developer stack for php and some front-end development. This is for a developer machine and not for a live environment!

Installation stack

@calebklc
calebklc / test.php
Created March 3, 2017 06:56
Get xml data from url
<?php
$url = 'Your url';
$xml = simplexml_load_file($url);
// Example
var_dump($xml->stationList->station[0]->no);
@calebklc
calebklc / cloudSettings
Last active July 26, 2019 08:04
Visual Studio Code Sync Settings Gist
{"lastUpload":"2019-07-26T08:01:58.766Z","extensionVersion":"v3.4.1"}
@calebklc
calebklc / vuejs_notes.md
Last active March 22, 2017 11:42
Vue.js notes

Lazy loading component

  const Component = resolve => {
    require.ensure(['./components/Component.vue'], () => {
      resolve(require('./components/Component.vue'));
    });
  }
@calebklc
calebklc / ubuntu-server-setup-16.04.md
Created March 24, 2017 10:13 — forked from marcuslilja/ubuntu-server-setup-16.04.md
Server setup for Ubuntu 16.04 on Digital Ocean

Server setup for Ubuntu 16.04 on Digital Ocean

The setup installs the following software:

  • Nginx
  • MySQL
  • PHP
  • Node
  • Composer
@calebklc
calebklc / My Manjaro Linux (GNOME) Web Development Environment Setup.md
Last active September 23, 2023 03:02
My Manjaro Linux (GNOME) Web Development Environment Setup
@calebklc
calebklc / install-tomcat-8.5.14.sh
Created July 20, 2017 12:08 — forked from Clivern/install-tomcat-8.5.14.sh
How to Install Apache Tomcat 8 on Ubuntu 16.04
#!/bin/bash
# For More Info http://clivern.com/how-to-install-apache-tomcat-8-on-ubuntu-16-04
sudo apt-get update
sudo apt-get install default-jdk
sudo apt-get install unzip
cd /opt
curl -O http://apache.mirrors.ionfish.org/tomcat/tomcat-8/v8.5.15/bin/apache-tomcat-8.5.15.zip
sudo unzip apache-tomcat-8.5.15.zip
sudo mv apache-tomcat-8.5.15 tomcat
@calebklc
calebklc / how-to-use-mermaid-in-totaljs-wiki-v2.md
Last active March 8, 2019 03:02
How to use mermaid in Total.js Wiki v2?