Skip to content

Instantly share code, notes, and snippets.

Liu Xing meteormatt

Block or report user

Report or block meteormatt

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View oss.json
"Message": "Successful!",
"Code": "Success",
"Data": {
"TotalCount": 1,
"HostId": "cn",
"PageNum": 1,
"PageSize": 20,
"Instances": {
"Instance": [
View 1.js
const ALY = require('aliyun-sdk');
var oss = new ALY.OSS({
"accessKeyId": '',
"secretAccessKey": '',
"endpoint": '',
"apiVersion": "2013-10-15"
var redirUrl = oss.getSignedUrl('getObject', {
Bucket: 'meteormatt',
Key: 'Mac图标.jpg',
View youku.js
* Created by Meteor on 16/8/9.
var request = require('request');
request = request.defaults({jar: true, followAllRedirects: true});
// require('request').debug = true;
let username = '用户名';
let password = '密码';
View output.html
<!DOCTYPE html><html><head><meta charset="utf-8"><title>当前</title><link rel="stylesheet" href=""><style>@import url(',700|Inconsolata|Raleway:200');.hljs-comment,.hljs-title{color:#8e908c}.hljs-variable,.hljs-attribute,.hljs-tag,.hljs-regexp,.ruby .hljs-constant,.xml .hljs-tag .hljs-title,.xml .hljs-pi,.xml .hljs-doctype,.html .hljs-doctype,.css .hljs-id,.css .hljs-class,.css .hljs-pseudo{color:#c82829}.hljs-number,.hljs-preprocessor,.hljs-pragma,.hljs-built_in,.hljs-literal,.hljs-params,.hljs-constant{color:#f5871f}.ruby .hljs-class .hljs-title,.css .hljs-rules .hljs-attribute{color:#eab700}.hljs-string,.hljs-value,.hljs-inheritance,.hljs-header,.ruby .hljs-symbol,.xml .hljs-cdata{color:#718c00}.css .hljs-hexcolor{color:#3e999f}.hljs-function,.python .hljs-decorator,.python .hljs-title,.ruby .hljs-function .hljs-title,.ruby .hljs-title .hljs-keyword,.perl .hljs-sub,.javascript .hljs-ti
View multipart.js
var fs = require('fs');
var ALY = require('aliyun-sdk');
var async = require('async');
var BufferHelper = require('bufferhelper');
var oss = new ALY.OSS({
accessKeyId: "你的accessKeyId",
secretAccessKey: "你的secretAccessKey",
endpoint: '',
apiVersion: '2013-10-15'
meteormatt /
Last active Aug 29, 2015


~$ dig @

; <<>> DiG 9.8.3-P1 <<>> @
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40373
meteormatt / Android: Be Together. Not the same.
Created Oct 29, 2014
Android: Be Together. Not the same.
View Android: Be Together. Not the same.
Remember back in school, when you either invited the new kid over to your table or you didn't?
If you did, that was a cool move.
That was an and move.
And moves take guts, but they can mean everything.
Their and move was to put wings on a bicycle.
Now we fly.
When enough people have an and view, the world changes forever.
If you think about it, you're only here because of an and moment.
Opening yourself up isn't easy, but when you do, it's hard to forget.
Because it leads to something new, something better.
View mapping.json
message: {
properties: {
content: {
type: string
host: {
type: string
metadata: {
meteormatt / request.js
Created Jun 10, 2014
View request.js
* Created by meteor on 2014/6/10.
var request = require('request');
var fs = require('fs');
var r = request.get('');
r.on('response', function (r) {
meteormatt / 1.js
Created Jan 3, 2014
View 1.js
'use strict';
var iconv = require('iconv-lite');
var exec = require('child_process').exec;
var child = exec('dir', function (error, stdout, stderr) {
var str = iconv.encode(stdout, 'GBK');
console.log('stdout: ' + str);
// console.log('stdout: ' + stdout);
console.log('stderr: ' + stderr);
if (error !== null) {
console.log('exec error: ' + error);
You can’t perform that action at this time.