01 2021 档案

摘要:从网上找到的,记录一下 CREATE FUNCTION [dbo].[fnGetDistance](@LatBegin REAL, @LngBegin REAL, @LatEnd REAL, @LngEnd REAL) RETURNS FLOAT AS BEGIN --距离(千米) DECLARE 阅读全文
posted @ 2021-01-25 09:44 iTachiLEe 阅读(179) 评论(0) 推荐(0)
摘要:window+R 输入cmd打开命令行: for /f "skip=9 tokens=1,2 delims=:" %i in ('netsh wlan show profiles') do @echo %j | findstr -i -v echo | netsh wlan show profile 阅读全文
posted @ 2021-01-13 17:46 iTachiLEe 阅读(240) 评论(1) 推荐(0)
摘要:两个数组取交集: const intersection = (a, b) => { const s = new Set(b); return [...new Set(a)].filter(x => s.has(x)); }; 用法: intersection([1, 2, 3], [4, 3, 2] 阅读全文
posted @ 2021-01-12 17:13 iTachiLEe 阅读(7765) 评论(0) 推荐(2)
摘要:#!/usr/bin/python try: from AppKit import NSWorkspace except ImportError: print "Can't import AppKit -- maybe you're running python from brew?" print 阅读全文
posted @ 2021-01-12 09:39 iTachiLEe 阅读(375) 评论(0) 推荐(0)