Little Robot's Blog

素衣度华年

[FW] MemoryError: Unable to allocate xx MiB for an array with shape ...

A step-by-setp setup instructions

错误信息 MemoryError: Unable to allocate xx MiB for an array with shape … 系统环境 Ubuntu 18.04 LTS Python 3.8 解决方法 首先检查系统的内存过载处理模式 1 $ cat /proc/sys/vm/overcommit_memory 不出意...

Word中批量删除特定字符开头的文字

A step-by-setp setup instructions

方法 打开 Find & Replace 高级选项 勾选 wildcards,输入需要替换的内容

解决 MacOS 上 mail.app 自动弹出的一种办法

A step-by-setp setup instructions

转载 解决方法  > System Preference > Keyboard > Shortcuts > App shortcuts 点击加号添加一个新的选项 输入配置如下: Application: Mail.app // 列表中手动选择 Menu Title: Hide Mail // m...

INSTALL MODFLOW6 ON UBUNTU

A step-by-setp setup instructions

Install the Fortran compiler gfortran 1 sudo apt-get install gfortran Download the latest version and unpack it you may need to install p7zip-full to unpack the zip. 1 2 3 4 cd Downloads mkdir ...

CONNECT TO SERVER VIA SSH WITHOUT PASSWORD

A step-by-setp setup instructions

Generate ssh keygen 1 ssh-keygen -t rsa -b 4096 -C "example@email.com" Copy the pub key to the server 1 ssh-copy-id account@server

MOUNT SYNOLOGY NFS SHARED FOLDER ON LINUX

A step-by-setp setup instructions

Mount directly via terminal (need to do it every time you restart the pc) 1 2 # Mount the nfs shared folder sudo mount -t nfs 169.254.254.168:/volume1/tom /nfsfile You may need to install nfs-com...

SET THE PRIORITY OF NETWORK CONNECTION IN UBUNTU

A step-by-setp setup instructions

script 1 2 3 4 5 # Install the ifmetric sudo apt-get install ifmetric # List the metric of interface route -n Kernel IP routing table Destination Gateway Genmask Flags Me...

INSTALLING RSYNC WITH SPECIFIC VERSION ON MAC OSX

A step-by-setp setup instructions

script 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 # Compile rsync 3.0.6 # Download and unarchive rsync and its patches cd ~/Download curl -L -O http://rsync.samba.org/ftp/r...

INSTALLING CIRCOS ON MAC OSX

A step-by-setp setup instructions

1. Install Homebrew 1 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 2. Requirements before installing 1 2 perl -v which make Be sure that Perl a...