Discovering Python 3’s pathlib
转载: Discovering Python 3’s pathlib – Dante’s Python musings
The pathlib is one of the new features in Python 3 I loved immediatly when I recognized it’s advantages. The pathlib a sort of a swiss knife tool and more than capable to replace os.path because it gives object orientated programming a...
more...
Python XMLの要素・属性・内容を削除する(ElementTree)
转载:【Python】XML の要素・属性・内容を削除する (ElementTree) | 鎖プログラム
# サンプル XML
# sports.xml
1234567891011<?xml version="1.0" encoding="UTF-8" ?><sports> <sport order="001"> <name>サッカー</name>...
more...
Draw Diagrams With Markdown
转载: Draw Diagrams With Markdown
Typora supports some Markdown extensions for diagrams, once they are enabled from preference panel.
When exporting as HTML, PDF, epub, docx, those rendered diagrams will also be included, but diagrams features are not supported when exporting markdown into other file...
more...
Markdown Symbol
转载:带圆圈的数字和 markdown 常用表达式记录
Circled Number
⓪ ① ② ③ ④ ⑤ ⑥ ⑦ ⑧ ⑨ ⑩ ⑪ ⑫ ⑬ ⑭ ⑮ ⑯ ⑰ ⑱ ⑲ ⑳ ㉑ ㉒ ㉓ ㉔ ㉕ ㉖ ㉗ ㉘ ㉙ ㉚ ㉛ ㉜ ㉝ ㉞ ㉟ ㊱ ㊲ ㊳ ㊴ ㊵ ㊶ ㊷ ㊸ ㊹ ㊺ ㊻ ㊼ ㊽ ㊾ ㊿
These are specifically sans-serif
🄋 ➀ ➁ ➂ ➃ ➄ ➅ ➆ ➇ ➈ ➉
Black Circled Number
⓿ ❶ ❷ ❸ ❹ ❺ ❻ ❼ ❽ ❾ ❿⓫ ⓬ ⓭ ⓮ ⓯ ⓰ ⓱ ⓲ ⓳ ⓴
These are specifically...
more...
Form Builder本地部署运行的实现
转载:Form_Form Builder 本地部署运行的实现(案例)- 东方瀚海
# Form Builder 本地部署运行的实现
在做开发时,总是希望 Form Builder 可以在本地进行编译开发,不需要总是上传至服务器编译,以下提供了一种方式,可以在本地编译 fmb 文件,并运行,节省部分开发时间
不过这种方式只适合非基于 Template.fmb 开发的本地编译,算是一种缺点。
Step1. 在 Form 本地运行时会提提示 FRM-10142: The HTTP Listener is not running on Hostname at port 889
Step2. 启动...
more...
Resources
# DB
SQL Snippets ™: Tutorials for Oracle Developers
Database Star Blog - Database Star
60 Best Resources for Learning SQL - Database Star
Siva Academy - YouTube
TechOnTheNet - Online tutorials for Excel, SQL, Oracle, PLSQL and more!
cx_Oracle 8.3.0-dev documentation
SQL client programming -...
more...
English Learning
# Confusing Words
Word
Meaning
administer
vt. 管理;执行;给予 vi. 给予帮助;执行遗产管理人的职责;担当管理人
administration
n. 管理;行政;实施;行政机构
administrative
adj. 管理的,行政的
administrator
n. 管理人;行政官
affair
n. 事情;事务;私事;(尤指关系不长久的)风流韵事
affect
vt. 影响;感染;感动;假装 vi. 倾向;喜欢 n. 情感;引起感情的因素
affection
n. 喜爱,感情;影响;感染
affection
n....
more...
JavaScript This
# this 是什么
this 是执行当前函数的对象 (The object that is executing the current function)
以对象方法的形式调用 this 就是调用方法的对象
以普通函数的形式调用,this 在浏览器中是 window 对象,在 node 中是 global 对象 (实际也是 window /global 对象的方法)
以构造函数的形式调用,this 是构造函数创建返回的对象
回调函数也是以普通函数的形式调用
# 对象方法和普通函数中的 this
123456789101112131415161718192021const video =...
more...
Ruby Homework
最远的旅行,是从自己的身体到自己的心,是从一个人的心到另一个人的心。坚强不是面对悲伤不流一滴泪,而是擦干眼泪后微笑面对以后的生活。- 宫崎骏 《风之谷》
# number and text
Determines if a string is palindrome, such as abcba
Find all even number location letter in a string, such as "abcd" =>...
more...