Skip to content

Instantly share code, notes, and snippets.

View PaladinTyrion's full-sized avatar
:shipit:
Focusing

PaladinTyrion PaladinTyrion

:shipit:
Focusing
  • Freedom
  • Beijing, China
View GitHub Profile
@yangl
yangl / bosun.conf
Created April 20, 2017 06:59
bosun配置例子
notification sdk.otps.connrate.uxin.ding60 {
get = http://192.168.0.3:5000/ding?secret=fskd2endprx&phone=13751744327|18928495951|13736157898|18618324918|18576761242|13428967565|13428967565|18676663045|18673390570|15202240237|15118845510|15013718265&content=【有信接通率低于60%预警】有信品牌接通率低于60%
}
notification sdk.otps.connrate.uxin.mail60 {
email = polaris.wang@uxin.com,Dora.song@uxin.com,yang.tang@uxin.com,Andy.bian@uxin.com,tyler.liu@uxin.com,lao.cheng@uxin.com,winter.chen@uxin.com,zack.zeng@uxin.com,Vincent.Zhong@uxin.com,evan.feng@uxin.com,Joker.Li@uxin.com,Will.Jiang@uxin.com
}
template sdk.otps.connrate.uxin {
@shionryuu
shionryuu / gorm模型定义.md
Created October 27, 2014 11:07
gorm模型定义

gorm模型定义

示例

type User struct {
    Id           int64
    Birthday     time.Time
    Age          int64
    Name         string  `sql:"size:255"`
@jdeng
jdeng / cluster
Last active June 17, 2020 02:52
clustering by fast search and find of density peak
// generate [0..n-1]
auto seq = [](size_t n) -> std::vector<size_t> {
std::vector<size_t> v(n);
for (size_t i=0; i<n; ++i) v[i] = i;
return v;
};
auto index = seq(n);
// n * n distance matrix
std::vector<D> dists(n * n);
@vertexclique
vertexclique / cracking.md
Last active April 8, 2024 18:24
Cracking guide for Sublime Text 3 Build 3059 / 3065 ( Mac / Win x86_64 / Windows x86 / Linux x64 / Linux x86 )

MacOS

Build 3059

MD5: 59bab8f71f8c096cd3f72cd73851515d

Rename it to: Sublime Text

Make it executable with: chmod u+x Sublime\ Text

@erikreagan
erikreagan / mac-apps.md
Created August 4, 2012 19:18
Mac developer must-haves

Mac web developer apps

This gist's comment stream is a collection of webdev apps for OS X. Feel free to add links to apps you like, just make sure you add some context to what it does — either from the creator's website or your own thoughts.

— Erik