Skip to content

Instantly share code, notes, and snippets.

@squeuei
squeuei / wi-fi_dongles_with_atheros_ar9271.md
Last active April 13, 2018 22:57
Wi-Fi Dongles with open source driver which can be used in Japan

I've searched for USB dongles which use Atheros AR9271 because some free GNU/Linux distribution communities recommend them. Open source firmware is available so that we can use them without binary blobs. The list below should be usable for those who respect freedom and privacy. It might be usable for those who want to connect Lego Mindstorm EV3 to wireless networks too.

Standard dongles

@squeuei
squeuei / howto.md
Last active May 12, 2018 20:47
How to enable touchscreen scrolling in Firefox

How to enable touchscreen scrolling in Firefox

Instructions

On Debian (As of 2018-05-11, Firefox 60/52ESR, Debian sid):

Add a line to .xsessionrc:

export MOZ_USE_XINPUT2=1
@squeuei
squeuei / Nexys4ddr_constraints.xdc
Last active May 12, 2018 20:49
FPGAプログラミング大全 Xilinx編 Basys4 DDR用制約ファイル
## 出典:
## 小林優. FPGAプログラミング大全 Xilinx編, 秀和システム, 2016.
## ISBN: 978-4-7980-4753-9
## http://www.shuwasystem.co.jp/support/7980html/4753.html
## Nexys4 DDR constraints file
## chapter: ?
## project: ?????
@squeuei
squeuei / fedora28_opam.md
Created June 2, 2018 22:51
Fedora 28 and opam

If you installed opam on Fedora 28, you might be surprised the fact that you can't do opam switch 4.0x.x.

On Fedora 28, sudo dnf install opam installs opam 2.0 beta (as of 2018-06-02).

Official Blog says that there are some changes to be aware of, including:

opam switch create is now needed to create new switches

Therefore, what you want to do should be like this:

Introduction

eduMIP is a robotic platform developed by UCSD COORDINATED ROBOTICS LAB.

There is an article about eduMIP.

The kit includes (almost) everything to build a Mobile Inverted Pendulum. The only thing you'll need is a Beaglebone Black or its variants.

The design is open-source. CAD designs are available under the CC BY 4.0 License and software are available under the 3-Clause BSD License.

@squeuei
squeuei / graphics_library.md
Last active March 14, 2019 11:39
OCaml `Graphics` library and opam switch

Problem

For example, you installed OCaml 4.x.x compiler/environment via opam switch and tried to install graphics.

opam switch 4.x.x
# `opam switch create 4.x.x` if opam 2.0.0
eval `opam config env`
opam install graphics

You might encounter some errors like this.

@squeuei
squeuei / texlive-on-win10-2018-october-update.md
Last active April 28, 2019 15:07
TeXLive 2018 on Windows 10 2018 October Update

TeXLive 2018 on Windows 10 2018 October Update

TL;DR

If you can't compile your TeX document because of font not found, you should install your user fonts System Wide by right-clicking the font files and selecting Install for all users.

Explanation

From Windows 10 2018 October Update (1809), font files will be installed to %USERPROFILE%/AppData/Local/Microsoft/Windows/Fonts even if you copied your fonts to C:\Windows\fonts on Explorer.

When you lost Windows Boot Manager from EFI partition

Sometimes you break your Windows Boot Manager when you set your PC to a dualboot configuration.

In some case, start-up Repair won't help you because files in EFI partition are missing.

If the Windows system partition is untouched, you can copy EFI files from the partition.

Boot with Windows 10 installation media. Choose Repair your computer. Start command prompt.

@squeuei
squeuei / SN520.md
Last active December 4, 2020 12:11
How to buy a SN520 M.2 2242 NVMe SSD