Skip to content

Instantly share code, notes, and snippets.

View yubaoquan's full-sized avatar
🍬
Eating too much sugar

Jerry Yu yubaoquan

🍬
Eating too much sugar
View GitHub Profile
@yubaoquan
yubaoquan / test.js
Created September 12, 2017 11:24
test node-mailer
const nodemailer = require('nodemailer');
const mailConfig = {
secure: true,
host: 'smtp.126.com',
port: 465,
auth: {
user: 'xxxxx@126.com', // your account and password
pass: 'xxxxx'
}
@yubaoquan
yubaoquan / baidu
Created September 14, 2012 14:37
this is copied from baidu's front page
<!Doctype html><html xmlns=http://www.w3.org/1999/xhtml><head><meta http-equiv=Content-Type content="text/html;charset=utf-8"><meta http-equiv=X-UA-Compatible content=IE=EmulateIE7><title>百度一下,你就知道 </title><style type="text/css">body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td{margin:0;padding:0}html{color:#000;overflow-y:scoll;overflow:-moz-scrollbars-vertical}body,button,input,select,textarea{font-size:12px;font-family:arial,\5b8b\4f53,sans-serif}h1,h2,h3,h4,h5,h6{font-size:100%}em{font-style:normal}small{font-size:12px}ul,ol{list-style:none}a{text-decoration:none}a:hover{text-decoration:underline}legend{color:#000}fieldset,img{border:0}button,input,select,textarea{font-size:100%}table{border-collapse:collapse;border-spacing:0}img{-ms-interpolation-mode:bicubic}textarea{resize:vertical}.left{float:left}.right{float:right}.overflow{overflow:hidden}.hide{display:none}.block{display:block}.inline{display:inline}.error{color:#F00;font-size:12px}label,