Home

Install F# in VsCode and Run Demo Project

Install Visual Studio Code and Ionide step1.Install .Net SDK Download .Net SDK in Windows 10 from Download .NET 5.0 SDK (v5.0.300) - Windows x64 Installer (microsoft.com) Then install .Net. step2.Install VsCode Install Visual Studio Code for Windows. step3.Install the Ionide package for VS Code. Press Ctrl+Shift+P and enter the followin...

Read more

Use python to get geodata from Google Map of a concrete city

I refer to the index of googleplaces : https://googlemaps.github.io/google-maps-services-python/docs/index.html You could also find a lot of other useful function there. Install the google maps pip install -U googlemaps Initiate Google Map Client # make sure in your env, there are necessary libs. import googlemaps import time import ...

Read more

利用AUFS和Docker搭建多个私有开发环境

利用AUFS和Docker搭建多个私有开发环境 文章的开头先提个问题: 我们平常的工作中,一般都是怎样让每个人都拿到独立开发环境的呢? 八仙过海 比如最常见的做法:每人都有自己的电脑,爱怎么弄怎么弄,同步代码就用Git之类的。 但是这样初始化的过程很慢,要装各种软件各种配置。 于是也有的是建一个中心服务器,大家用Putty这类软件SSH上去,每个人都有自己的账号。 但是这样环境不独立,而且权限控制很麻烦(毕竟每个人都想sudo) 后来就直接分发虚拟机镜像了,每个人拿到一个10G的镜像文件, 直接Load一下,环境就起来了。 但是这样每次修改环境就要更新近10G… 反正就是八仙过海,各有神通了。 利用AUFS和Docker也可以做到给每个人独立开发环境。 AUFS 根据G...

Read more

Development with Git

软件工程实践系列文章, 会着重讲述实际的工程项目中是如何协作开发软件的。 本文主要介绍如何使用 Git 来支撑整个开发流。 outline 本文包括以下内容: operation: 团队保持一致的操作 commit: 提交原子性的代码 history: 保持线性干净的历史 release: 遵循科学的发布规范 tool chain: 搭建自洽的工具链 gitlab/github: 使用现代的开发平台 ci/cd: 让系统把控代码质量 sentry/k8s: 用版本连接整个系统 conclusion o...

Read more

Read All Csv files in the same file folder

We need use the lib glob. According to it we could get all the files’ names. Then we could use pd.concat to read all the csv here. import glob path = r'./Transaction' # use your path all_files = glob.glob(path + "/*.csv") df_transaction = pd.concat((pd.read_csv(f, sep=';', encoding='iso-8859-1') for f in all_files)) df_transaction['Dato/tid p...

Read more

echarts setting size

内部图表大小是与div容器大小相关的,如果想调整图表大小,调整div就可以了 如果是想调整图表与div间上下左右留白,则设置grid属性就可以了 option = { title:'', grid:{ x:35, y:55, x2:35, y2:60, borderWidth:1 },

Read more

Configure Darknet YOLOv3 on Win10 + VS2019

Reference:https://pjreddie.com/darknet/yolo/ 这个链接是YOLO的官方网站。 想要了解更多YOLO3更新的内容的同学,可以点击https://pjreddie.com/darknet/yolo/ 下载paper阅读。 其实YOLO团队已经训练完成了很多内容,我们只需要下载就能将其应用到我们的程序中。 我的配置 CPU: i7-8565u(别吐槽我用的轻薄本=-=) GPU: GeForce MX150(同上) OS: Windows 10 家庭中文版 64bit CUDA: 10.2 CUDNN: 7.6.4 OpenCV: 3.2 此处默认读者已部署上述环境,值得一提的是如果读者有部署...

Read more

How to Build Development Environment

1. 树莓派连接 1.1.WiFi 网络配置 用户可以在未启动树莓派的状态下单独修改 /boot/wpa_supplicant.conf 文件配置 WiFi 的 SSID 和密码,这样树莓派启动后会自行读取 wpa_supplicant.conf 配置文件连接 WiFi 设备。 操作方法:将刷好 Raspbian 系统的 SD 卡用电脑读取。在 boot 分区,也就是树莓派的 /boot 目录下新建 wpa_supplicant.conf 文件,按照下面的参考格式填入内容并保存 wpa_supplicant.conf 文件。 country=CN ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_con...

Read more