The common theme in many time-travel movies is to go back in time to find out what went wrong and fix it. Developers also have that desire to go back in time and find why the code broke and fix it. But, often, that crucial step where everything went wrong happened long ago, and the information is no longer available. The rr project lets programmers examine the entire life of a C or C++ program run
RaspberryPiのためにLinuxでディスクのイメージファイルを編集するのに使うけどすぐに忘れるのでメモ。 この記事でできること ディスクimageを一から作成できる 既存のディスクimgaeをマウントできる 1: 空のimageを作成 方法1 - truncate truncateコマンドでハードディスク上に指定したサイズ(単位はbyte)の空ファイルを作成する。 # サイズが2GiBのimageを作成 $ truncate -s 2GiB image.img 上で示した通り、サイズには接頭辞をつけることができる。よく使う単位は以下の通り。 1024B = 1K または 1KiB(キビバイト) 1024KB = 1M または 1MiB(メビバイト) 1024MB = 1G または 1GiB(ギビバイト) 1000B = 1KB(キロバイト) 1000KB = 1MB(メガバイト)
TL;DR Linux (X11) 向けのキーリマップツールをつくった Python 3 で書かれており sudo pip install xkeysnail で入れることができる uinput という Linux の低レイヤ API を利用し動作するため「多くのキーリマップツールではうまくリマッピングが動かなかった場所」でも動作する アプリケーションごとにキーバインドを変えたり、複数ストロークのキーにコマンドを割り当てたり Python の関数をキーに割り当てたりすることもできる 詳しくは https://github.com/mooz/xkeysnail で 背景 Firefox が Quantum になり、旧来の XUL ベースのアドオンは動作しなくなった。新たな拡張機能の機構である WebExtensions ではキーボードショートカットに関する API が大幅に制限され、ぼくは拙
After I had recently trouble to find some time on merging the recent changes from Hans kernel into the GPD Pocket kernel repositories, I have finally been able to sort out the configuration issues and build a kernel that works properly. The old 4.13 based kernel already fixed USB-C support but at the same time broke support on bluetooth. The new kernel out (4.14.0-11.gpd) now fixes those bluetooth
GPD Pocket は GPD WIN のカスタムカーネルが使えるようです(どの程度使えるかは不明ですが…) https://wiki.archlinuxjp.org/index.php/GPD_Win に記載のある,Hans de Goede のパッチがあたったカーネルの情報を元に,GPD Pocket(GPD WIN)用のカスタムカーネルをビルドします. このカスタムカーネルのビルドに母艦PC(Debian9)を使います.まぁ,GPD Pocket でもやってやれなくは無いとは思いますが,時間を要するとは思います. 以下は,母艦PCで作業します. # apt-get build-dep linux # apt-get install git fakeroot これで,カスタムカーネルをビルドするためのツール類がインストールされます. 次に,カスタムカーネルのソースコードを git で
今回はオープンソースの脆弱性スキャナである OpenVAS を使ってみることにする。 脆弱性スキャナというのは、ホストに既知の脆弱性が含まれないかどうかを自動でスキャンしてくれるツール。 注意: 脆弱性スキャンはポートスキャンやペネトレーションを含むため外部のサーバには実行しないこと 使った環境は次の通り。OS は Ubuntu 16.04 LTS にした。 $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.3 LTS Release: 16.04 Codename: xenial $ uname -r 4.4.0-89-generic セキュリティ用途だと Kali Linux を使うことも多いみたい。 インストール Ubuntu で OpenVA
The main convenience offered by readv, writev is: It allows working with non contiguous blocks of data. i.e. buffers need not be part of an array, but separately allocated. The I/O is 'atomic'. i.e. If you do a writev, all the elements in the vector will be written in one contiguous operation, and writes done by other processes will not occur in between them. e.g. say, your data is naturally segme
Home User Guide Downloads About VisUAL has been developed as a cross-platform tool to make learning ARM Assembly language easier. In addition to emulating a subset of the ARM UAL instruction set, it provides visualisations of key concepts unique to assembly language programming and therefore helps make programming ARM assembly more accessible. It has been designed specifically to use as a teaching
ninjaってなに Ninja, a small build system with a focus on speed make代替みたいなビルドシステムで, 小さくてスピードが速いのが特徴となっている. Chromiumとかで使われている様子. Makefileを読めるわけではなく, ninja用のビルドファイルが必要. kninja GitHub - rabinv/kninja: Ninja build file generator for the Linux kernel kninjaはLinux kernel用にkninjaのビルドファイルを生成してくれるスクリプト. はやいの? kninjaによるルール生成にはkninja.pyを使う. ルール生成のためにmakeしてから, “make -p"の情報からビルドファイルを生成する. したがって, 下のようにルール生成まで入れると1分
About What is it? - About - Quick Start - Roadmap - Status - Help - FAQ - News - Youtube Why is it? video/outline Interview Download Git repo: github local Source tarballs Binaries System Images Compilers Development docs Design goals Source code walkthrough Cleanup Code of Conduct License Statistics Contact Mailing List IRC #toybox on libera.chat Commit RSS feed Maintainer's Blog Patreon Toybox c
Embedded Linux Conference 2017 Embedded Linux size reduction techniques Michael Opdenacker free electrons michael.opdenacker@free-electrons.com free electrons - Embedded Linux, kernel, drivers - Development, consulting, training and support. http://free-electrons.com 1/1 Michael Opdenacker ▶ Michael Opdenacker ▶ Founder and Embedded Linux engineer at free electrons ▶ Embedded Linux expertise ▶ Dev
Welcome to the eLinux wiki! The purpose of this wiki is to preserve and present information about the development and use of Linux in embedded systems as well as open source projects and tools for general embedded development. To use this wiki, click on one of the portal links below. This site has slides, and links to videos, for many years of the Embedded Linux Conference and Japan Jamboree! See
Dash as /bin/sh In Ubuntu 6.10, the default system shell, /bin/sh, was changed to dash (the Debian Almquist Shell); previously it had been bash (the GNU Bourne-Again Shell). The same change will affect users of Ubuntu 6.06 LTS upgrading directly to Ubuntu 8.04 LTS. This document explains this change and what you should do if you encounter problems. The default login shell remains bash. Opening a t
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く