Skip to content

Instantly share code, notes, and snippets.

View Oshibuki's full-sized avatar
🎯
专注

HarbingerOfDawn Oshibuki

🎯
专注
View GitHub Profile
@Oshibuki
Oshibuki / subs.md
Created October 6, 2023 02:10 — forked from tatsumoto-ren/subs.md
Japanese Subtitles
@Oshibuki
Oshibuki / mbwarlord.js
Created May 18, 2023 22:34
mbwarlord equipment price get
let items = Array.from(document.getElementsByClassName("item_block"))
let result = []
items.forEach(i=>{
try {
let name = i.querySelector('.item_title').innerText
pricetag = i.querySelector('.gold') || i.querySelector('.item_cost_expensive')
let price =parseInt(pricetag.innerText)
worthtag = i.querySelector('.attr_value')
let worth =parseInt(worthtag.innerText)
result.push([name,price,worth])
@Oshibuki
Oshibuki / selector.html
Created March 8, 2023 09:04
geographical sub-region html form selector use bootstrap4
<div class="form-group">
<select class="form-control" id="regionSelector">
<option disabled value="">Please select one region</option>
<option value="NAF">Northern Africa</option>
<option value="EAF">Eastern Africa</option>
<option value="MAF">Middle Africa</option>
<option value="SAF">Southern Africa</option>
<option value="WAF">Western Africa</option>
@Oshibuki
Oshibuki / parsing.py
Created February 21, 2020 10:16
fix download for edx.org in edx-dl at 2020/2/21
# -*- coding: utf-8 -*-
"""
Parsing and extraction functions
"""
import re
import json
from datetime import timedelta, datetime
@Oshibuki
Oshibuki / ZuFang_.idea_ZuFang.iml
Created March 10, 2017 06:02
高德API+Python解决租房问题
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="jdk" jdkName="Python 2.7.13 (G:\Python27\python.exe)" jdkType="Python SDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
<component name="TestRunnerService">
<option name="PROJECT_TEST_RUNNER" value="Unittests" />
</component>