- 博客(121)
- 收藏
- 关注
原创 Mac Dock栏显示/隐藏无延迟
Mac Dock栏自动/隐藏无延迟终端输入:defaults write com.apple.Dock autohide-delay -float 0 && killall Dock恢复输入:defaults delete com.apple.Dock autohide-delay && killall Dock...
2019-11-16 12:01:37 818
原创 Hyper-V+Ubuntu18.04的VHDX文件压缩
If you configured your Hyper-V virtual machines with dynamically expanding virtual disks you will find that the VHDX files backing the virtual disks always grow in size, they never shrink. This artic...
2019-06-16 12:03:02 1889
原创 vimrc
set encoding=utf-8set termencoding=utf-8set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936set nocompatible " be iMprovedfiletype off " required!set rtp+=~...
2018-09-03 15:18:48 340
原创 Ubuntu14.04 找不到网卡
查看网卡型号lspci -k | grep -i -A2 net得到网卡型号为Ehternet controller: Intel Corporation Device 15b8官网下载驱动下载驱动安装驱动tar -zxvf e1000e-3.3.4.tar.gzcd e1000e-3.3.4/srcmake installmodprobe e10...
2018-09-03 14:50:53 2931
原创 Linux 批量终止进程
Linux 批量终止进程ps -ef | grep 'taskNameToStop' | grep -v grep | awk '{print $2}' | xargs kill -9
2018-08-23 10:57:40 1016
原创 Python 文件处理及共享
Python 文件处理及共享#!/usr/bin/env pythonimport socketimport loggingfrom threading import Threadimport numpy.random as randomfrom multiprocessing import Processlogging.basicConfig( level=log...
2018-05-30 18:19:10 661
翻译 Tensorflow 实现 kMeans
#! /usr/bin/python# -*- coding: utf8 -*-import tensorflow as tffrom random import sampledef KMeansCluster(points, K, max_iters=100, first_centroids=None, predict_method=None): N, D = points...
2016-11-29 11:15:20 1507
原创 Apache Bench (ab)测试出现 Failed requests
Apache Bench (ab)测试出现 Failed requests
2016-05-29 15:02:37 3892
原创 Elementary0.3.2/Ubuntu14.04安装Android Studio
Elementary0.3.2/Ubuntu14.04安装Android Studio
2016-04-05 20:54:51 562
原创 Elementary0.3.2/Ubuntu14.04安装GooglePinYin输入法
Elementary0.3.2/Ubuntu14.04安装GooglePinYin输入法
2016-04-05 17:35:08 1152
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人