I hereby claim:
- I am jiaozhu on github.
- I am jiaozhu (https://keybase.io/jiaozhu) on keybase.
- I have a public key whose fingerprint is C224 740D ABAB 2FB2 48B5 C532 6DB5 5B98 E34C E3E4
To claim this, I am signing this object:
set nobackup | |
set noswapfile | |
set number | |
set cindent | |
set autoindent | |
set shiftwidth=2 | |
set tabstop=2 | |
set softtabstop=2 | |
set expandtab | |
set ruler |
I hereby claim:
To claim this, I am signing this object:
[global] | |
### Display ### | |
# Which monitor should the notifications be displayed on. | |
monitor = 0 | |
# Display notification on focused monitor. Possible modes are: | |
# mouse: follow mouse pointer | |
# keyboard: follow window with keyboard focus | |
# none: don't follow anything |
!! The default colors are "Gruvbox": | |
*.color0: #1d2021 | |
*.color1: #cc241d | |
*.color2: #98971a | |
*.color3: #d79921 | |
*.color4: #458588 | |
*.color5: #b16286 | |
*.color6: #689d6a | |
*.color7: #a89984 | |
*.color8: #928374 |
[greeter] | |
background = /usr/share/pixmaps/wall.png | |
theme-name = Arc-Gruvbox | |
icon-theme-name = Adwaita | |
font-name = Source Code Pro 9 | |
indicators = ~~Wythe's Arch Linux Box;~spacer;~clock;~spacer;~session;~power | |
clock-format = %Y %b %d (%a) %I:%M %p |
package com.jelies.spring3tomcat7.config.quartz; | |
import org.quartz.spi.TriggerFiredBundle; | |
import org.springframework.beans.factory.config.AutowireCapableBeanFactory; | |
import org.springframework.context.ApplicationContext; | |
import org.springframework.context.ApplicationContextAware; | |
import org.springframework.scheduling.quartz.SpringBeanJobFactory; | |
/** | |
* This JobFactory autowires automatically the created quartz bean with spring @Autowired dependencies. |
If you do not have an oracle driver do steps 1 and 2 first. Otherwise skip to step 3. | |
1) Download the jdbc driver from oracle. | |
2) Install the driver into your local maven .m2 repository. Example: | |
mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0.4 -Dpackaging=jar -Dfile=ojdbc6.jar -DgeneratePom=true | |
In the above example the ojdbc6.jar version 11.2.0.4 is used. Replace the -DartifactId=ojdbc6 -Dversion=11.2.0.4 and -Dfile=ojdbc6.jar with the driver name/version you downloaded. |
import requests | |
def send_request(): | |
# My API | |
# POST https://passport.hupu.com/pc/login/member.action | |
try: | |
response = requests.post( | |
url="https://passport.hupu.com/pc/login/member.action", |
// | |
// QNUploader.swift | |
// | |
// Created by Lex on 12/1/15. | |
// | |
import Foundation | |
import Alamofire | |
private let kCDNDomain = "__YOUR_QINIU_CDN_DOMAIN__" |