Skip to content

Instantly share code, notes, and snippets.

View HillCat's full-sized avatar
💭
work in china

HillCat

💭
work in china
View GitHub Profile

Install Zsh and Oh-my-zsh on CentOS 7

Based on this article

ALL INSTALLATIONS ASSUME YES WHEN PROMPTED, that's what -y does

This script can be copy paste to ssh as is. No hands installation. :-)

yum install zsh -y
@jdalley
jdalley / CacheHelper.cs
Last active May 8, 2019 16:51
MemoryCache Helper
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Caching;
using System.Text;
using System.Threading.Tasks;
namespace TestProj.Helpers
{
/// <summary>
@indyfromoz
indyfromoz / aspnet-mvc.gitignore
Created November 19, 2012 06:44
.Gitignore for ASP.NET MVC
###################
# compiled source #
###################
*.com
*.class
*.dll
*.exe
*.pdb
*.dll.config
*.cache