分类
Develop javascript Vue

Use vuedraggable to drag across trees or nested trees

It’s super simple to config vuedraggable to Vue p […]

分类
Develop linux mysql Uncategorized 系统维护

Bash 下不能输入中文的问题

影响的可能不止bash,还可能连带mysql的console也不能输入中文并且在导入有中文的数据的时候报 &# […]

分类
Develop Site 系统维护

Memo for Nginx Configuration

Nginx is a widely used web service, another comparable […]

分类
Develop Java 算法

Leetcode: Nested List Weight Sum II

Given a nested list of integers, return the sum of all […]

分类
Develop Java ruby on rails 算法

Leetcode: Factor Combinations

Numbers can be regarded as product of its factors. For […]

分类
Develop ruby on rails 算法

Leetcode: Binary Search

Given a sorted (in ascending order) integer array nums […]

分类
Develop linux 系统维护

Release the disk space taken by deleted but open files in linux

In linux, disk spaces can be taken by files which are o […]

分类
Develop ruby on rails 算法

Leetcode: Implement Trie (Prefix Tree)

Implement a trie with insert, search, and startsWith me […]

分类
Develop Java 算法

Leetcode: Min Stack

Design a stack that supports push, pop, top, and retrie […]

分类
C++ Develop 算法

Leetcode: Merge k Sorted Lists

Merge k sorted linked lists and return it as one sorted […]

分类
Develop ruby on rails 算法

Leetcode: Encode and Decode TinyURL

TinyURL is a URL shortening service where you enter a U […]

分类
C++ Develop 算法

Leetcode: LRU Cache

Design and implement a data structure for Least Recentl […]

分类
Develop php Site

Display Posts in Modified Order in WordPress

In the theme editor, locate the index.php file. Before […]

分类
Develop 算法

Leetcode: Word Ladder II

Question Given two words (beginWord and endWord), and a […]

分类
C++ Develop ruby on rails 算法

Leetcode: Valid Number

Question Validate if a given string is numeric. Some ex […]

分类
javascript Vue

Vue JS Practices – Vue 实战心得

For the recent project, used Vue as the frontend framew […]

分类
Develop Docker

Override A File Under Mounted Volume In Docker With .dockerignore

Scenario Given the following file structure: configs ├─ […]

分类
Develop linux 系统维护

Linux find files with timestamp

Touch a tmp file with the timestamp as needed. $ touch […]

分类
Develop linux mysql 系统维护

Mysql backup and restore

Backup This is for selected database(s) backup: mysqldu […]

分类
Develop Java

Compile, Package and Run Java program in command line

Using Java IDE is simple for compile, package and run J […]

分类
Develop mysql 系统维护

Fix mysql slave replication without mysqldump

The problem. We have a double masters mysql settings as […]

分类
Develop http mysql ruby on rails

Run Docker Rails Application Which Can Access Mysql Running at same Host in Mac OS and Linux

Docker Mac Native has been released for a long time. It […]

分类
Develop

Setup IKEv2 VPN with docker

Made a repo to setup the IKEv2 VPN with docker. Just fo […]

分类
Develop ruby on rails

Step By Step of Creating a Ruby Gem

Step By Step of Creating a Ruby Gem I’m going to […]

分类
Develop iOS

How to Deploy iOS Applications into Any Device out of Apple Store – Using dropbox

This is the previous article about how to do this on se […]

分类
Develop iOS

Understand the ios app provisioning

This graph is abstracted from this great article, descr […]

分类
Develop ruby on rails

[Repost] The definition of nil, empty, blank and present in ruby on rails

分类
Develop

Stop mac from automatically pairing bluetooth audio devices

In terminal, run sudo defaults write /Library/Preferenc […]

分类
Develop 系统维护

Faster Dock in Mac OSX

This makes the animation faster defaults write com.appl […]

分类
C++ Develop 算法

Leetcode: Palindrome Number

Problem Leetcode link for this question Determine wheth […]

分类
C++ Develop 算法

Leetcode: String to Integer (atoi)

Problem Leetcode link Implement atoi to convert a strin […]

分类
C++ Develop 算法

Leetcode: Contains Duplicate II

Question Contains Duplicate II Given an array of intege […]

分类
C# Develop

EXIF information for photo

In windows, when you look at the details of a photo, th […]

分类
Develop 系统维护

Remapkey by Microsoft

Official remapkey.exe by MS. To edit the hardware keys […]

分类
Develop 算法

Leetcode: Integer to Roman

Question: Integer to Roman Given an integer, convert it […]

分类
Develop 算法

LeetCode: Reverse Integer

Previous Post This is the previous post on same questio […]

分类
Develop 算法

LeetCode: ZigZag Conversion

Previous post This is the old post on this question, us […]

分类
C# C++ Develop

Require Administration Permission in VS 2013

C++ Project Right click the Project, click Properties N […]

分类
Develop Site

ClickJacking

Example Attacker embedded your pages into another page […]

分类
Develop iOS

Distribution Items Equally in View with Auto-Layout in iOS

Taking this layout as example, we want to place 2 butto […]