Skip to content

Instantly share code, notes, and snippets.

View kelby's full-sized avatar
💭
lalala...

kelby

💭
lalala...
View GitHub Profile
@kelby
kelby / config.js
Last active December 8, 2018 05:53
nodejs 代码抓取 dota2 实时数据
// Configure and rename to "config.js"
// Create an empty file called "sentry" in same directory
// Have steamguard code = "" to start
// Fill in the steamguard code after receiving it
// After successfully logging in, return steamguard code to ""
var config = {};
config.steam_name = ""; // KelbyLee
config.steam_user = ""; // KelbyLee
config.steam_pass = ""; // ...
@kelby
kelby / fmz-strategies-square.rb
Created January 23, 2019 03:05
发明者-策略广场数据列表
require 'headless'
require 'watir'
require 'csv'
require 'nokogiri'
browser ||= Watir::Browser.new :chrome, headless: true
CSV.open("fmz-strategies-square.csv", "wb") do |csv|
11.times do |page_number|
page_url = "https://www.fmz.com/square/-1/#{page_number + 1}?lang=zh_CN"
@kelby
kelby / test.md
Created February 13, 2019 05:29
测试 google 图片能否长久使用

测试 google 图片能否长久使用

测试图片

测试图片2

图片集1

图片集2

@kelby
kelby / 4.md
Last active September 6, 2022 08:28
space-id no one numbers

---- 乘法:备选 ----

1303
1404
1505
1606
2204
2306
2408
2510