Skip to content

Instantly share code, notes, and snippets.

@finlaywang
finlaywang / .zshrc
Last active September 1, 2018 01:39
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:/usr/local/bin:$HOME/.composer/vendor/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/home/fin/.oh-my-zsh"
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
#ZSH_THEME="robbyrussell"
@finlaywang
finlaywang / Instructions.sh
Last active July 19, 2018 03:30 — forked from GhazanfarMir/Instructions.sh
Install PHP7.2 NGINX and PHP7.2-FPM on Ubuntu
########## Install NGINX ##############
# Install latest nginx version from community maintained ppa
sudo add-apt-repository ppa:nginx/stable
# Update packages after adding ppa
sudo apt-get update
# Install nginx
@finlaywang
finlaywang / LICENCE SUBLIME TEXT
Created July 9, 2018 02:37
Sublime Text 3 Serial key build is 3176
## Sublime Text 3 Serial key build is 3176
> * Added these lines into /etc/hosts
127.0.0.1 www.sublimetext.com
127.0.0.1 license.sublimehq.com
> * Used the license key
----- BEGIN LICENSE -----
sudo apt install gnome-shell-extension-autohidetopbar
gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize'
# To revert to the default option, simply run
# gsettings reset org.gnome.shell.extensions.dash-to-dock click-action
sudo apt install zsh git curl node npm fonts-powerline net-tools libpng-dev
chsh -s /usr/bin/zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# Install zsh-autosuggestions
taskkill /f /im OneDrive.exe
taskkill /f /im explorer.exe
if exist %SYSTEMROOT%\SysWOW64\OneDriveSetup.exe (
%SYSTEMROOT%\SysWOW64\OneDriveSetup.exe /uninstall
) else (
%SYSTEMROOT%\System32\OneDriveSetup.exe /uninstall
)
rd /s /q "%USERPROFILE%\OneDrive"
rd /s /q "%LOCALAPPDATA%\Microsoft\OneDrive"
rd /s /q "%PROGRAMDATA%\Microsoft OneDrive"
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /d "%systemroot%\system32\imageres.dll,197" /t reg_sz /f
taskkill /f /im explorer.exe
attrib -s -r -h "%userprofile%\AppData\Local\iconcache.db"
del "%userprofile%\AppData\Local\iconcache.db" /f /q
start explorer
pause
continue 2; //jump two circulation
<layout name="layout/tagPage"/>
<block name="search_form"></block>
<div class="page-content-area">
<div class="row clearfix">
<block name="table"></block>
</div>
<div class="row clearfix">
<block name="pagination"></block>
</div>
<div class="row">
{
"groups": {
"0": {
"id": 5,
"title": "------------ 阅文(Yuew)|",
"color": "",
"position": 2
},
"1": {
"id": 3,