I realized that I had to type Control-P twice when I connected to a docker container and was using a command line.
I’ve created a docker config file under root home directory:
// ~root/.docker/config.json - don't type this { "detachKeys": "ctrl-@" } I am not using control-@. This solved the problem.
setup-environment script
OEROOT=sources/poky if [ -e sources/oe-core ]; then OEROOT=sources/oe-core fi ... cd $OEROOT . ./oe-init-build-env $CWD/$1 > /dev/null # if conf/local.conf not generated, no need to go further if [ ! -e conf/local.conf ]; then clean_up && return 1 fi However, this seems not working as intended. Instead, I see the following message on console:
Your configuration files at build have not been touched. which is at the end of the script:
I used docker for building Yocto linux images and it used up the space.
# docker info ... Data Space Used: 107.4 GB Data Space Total: 107.4 GB Data Space Available: 0 B ... The thin pool (?) is 100GB (107.4GB) and it is full.
I found this dicussion on github.
You need to increase the pool allowed for your containers. To do this , you will need to remove your var/lib/docker which will destroy all your containers and images.
I don’t quite like the layout. The left-side panel is taking too much space to me.
The basic structure of the page was like this:
Make the author column very narrow. Move the author column to the right. I’ve switched it to use flexbox layout.
I’ve edited themes/hugo-minimalist-theme/static/css/styles.css.
.container { display: flex; } .author { flex-grow: 0; margin-right: 40px; margin-left: 20px; } .content { flex-grow: 1; margin-left: 40px; margin-right: 20px; } It is not quite there yet, but I like it better than the original.
I was interested in dealing with PDF files in JavaScript. I found Mirusan on github.
NOTE: I couldn’t get it work on my mac. It is just a note.
Work log It has some python code and it requires python3.
However, I didn’t have python3 on my system.
Get python3 on a Mac. brew install python3 By using pip3 command, install packages against python3.
pip3 install -r requirements.txt requirements.txt looks like this:
I wanted to get a list of components from EasyEDA.
According to the documentation, I should be able to export it by clicking Export Bom button, but I didn’t see it on the UI.
The first issue was that the menu buttons were somehow collapsed for me. By clicking these narrow dot line, you can get the menu expanded.
Still I didn’t see the Export Bom button.
I needed to have a lot wider window to see it.
Summary Probing a ground level point with an EasyEDA simulation causes an error. This can be fixed by not probing the ground level.
Detail I tried to run a circuit simulation against very simple test circuit and I got the following error:
Circuit: gooduntitled Doing analysis at TEMP = 27.000000 and TNOM = 27.000000 Warning: v1: no DC value, transient time 0 value used Warning: singular matrix: check nodes volprobe2 and volprobe2 Note: Starting dynamic gmin stepping Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Warning: singular matrix: check nodes volprobe2 and volprobe2 Warning: Dynamic gmin stepping failed Note: Starting source stepping Warning: singular matrix: check nodes volprobe2 and volprobe2 Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful gmin step Note: One successful source step Warning: singular matrix: check nodes volprobe2 and volprobe2 Warning: singular matrix: check nodes volprobe2 and volprobe2 Warning: source stepping failed Transient solution failed - Last Node Voltages ------------------ Node Last Voltage Previous Iter ---- ------------ ------------- volprobe1 0 0 volprobe2 0 0 v1#branch 0 0 doAnalyses: iteration limit reached tran simulation(s) aborted Error(parse.
Previously I was using Ghost for blog.gaku.net. From time to time, the server process went down. It was a bit overkill to just host bunch of pages. I am moving to a static site generator this time.
Fixing First, check /etc/nginx. blog.gaku.net’s config was /etc/nginx/site-enabled/ghost-blog.nginx.
# backend Thin servers upstream ghost-blog { server 127.0.0.1:2368; } server { listen 80; server_name blog.gaku.net; location / { proxy_pass http://ghost-blog; proxy_set_header Host $host; proxy_set_header X-base-uri '/'; } } Created a new config
I didn’t like the Hugo theme that Quick Start tutorial used. I have switched to hugo-minimalist-theme.
config.toml is longer with [params] section. The page is broken if I didn’t have that section. content/posts needed to be renamed to content/post.