Skip to content

Instantly share code, notes, and snippets.

@evianzhow
evianzhow / hp_saap_license.txt
Created September 3, 2017 02:11
HP Smart Array Advanced Pack Evaluation License Key
34T62-N84MB-7DQGY-G7XGT-YTQ63
@evianzhow
evianzhow / WebTerminal.md
Last active February 7, 2023 15:20
MetaTrader Web Terminal 启动参数

Original URL Sample:

https://trade.mql5.com/trade?servers=PTAus-Demo,PTAus-Live%201&trade_server=PTAus-Live%201&demo_server=PTAus-Demo&demo_type=forex,forex-usd&demo_leverage=1,33,100,300,500&startup_mode=open_demo&lang=zh&save_password=off

Decoded:

https://trade.mql5.com/trade?servers=PTAus-Demo,PTAus-Live 1&trade_server=PTAus-Live 1&demo_server=PTAus-Demo&demo_type=forex,forex-usd&demo_leverage=1,33,100,300,500&startup_mode=open_demo&lang=zh&save_password=off
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<dict>
<key>DeviceAttributes</key>
<array>
<string>IMEI</string>
<string>UDID</string>
@evianzhow
evianzhow / sams_minip_monitor.rb
Created June 13, 2022 03:11
山姆下单监控小程序版(Updated:22/4/12)
require 'net/http'
require 'net/https'
require 'json'
def t_puts(*args)
print Time.now.strftime("[%Y-%m-%d %H:%M:%S] ")
puts *args
end
# Request (POST )
#!/usr/bin/env ruby
# This script only support ASCII format
# and tick download.
require 'uri'
require 'net/http'
require 'mechanize'
agent = Mechanize.new
@evianzhow
evianzhow / exclude-list.txt
Created January 28, 2020 13:00
Common excluded Time Machine folders for react-native developers
~/.rncache
~/.npm
/Applications/Android Studio.app
/Applications/Xcode.app
~/Library/Android/sdk
@evianzhow
evianzhow / shadowsocks-server
Last active April 27, 2019 14:21
shadowsocks-server OpenWRT init.d script
#!/bin/sh /etc/rc.common
#
# Copyright (C) 2016 Jian Chang <aa65535@live.com>
# Copyright (C) 2016 Evian Zhow <evianzhow@gmail.com>
#
# This is free software, licensed under the GNU General Public License v3.
# See /LICENSE for more information.
#
START=90
@evianzhow
evianzhow / install_nodejs_and_yarn_homebrew.md
Created April 20, 2019 04:22 — forked from nijicha/install_nodejs_and_yarn_homebrew.md
Install NVM, Node.js, Yarn via Homebrew

Install NVM, NodeJS, Yarn via Homebrew

Prerequisites

  • Homebrew should be installed (Command line tools for Xcode are included).

Getting start

Install NVM and NodeJS

  1. Install nvm via Homebrew
const contList = document.querySelector('.contList');
const mailAddresses = [];
contList.querySelectorAll('ul').forEach(function(node) {
const name = node.querySelector('.firstLine').textContent.trim();
const mail_address = node.querySelector('.mailAddress').textContent.trim();
mailAddresses.push([name, mail_address]);
});
let csvContent = "data:text/csv;charset=utf-8,";
let rows = mailAddresses
rows.forEach(function(rowArray) {
/* @flow */
import MobClick from '@utils/umeng';
import { ActionConst } from 'react-native-router-flux';
import { all, takeEvery, fork } from 'redux-saga/effects';
function* watchPageEnter() {
yield takeEvery(ActionConst.FOCUS, function*(action) {
const { routeName } = action;
MobClick.onPageStart(routeName);