Skip to content

Instantly share code, notes, and snippets.

View jj1bdx's full-sized avatar
🏠
Working from home

Kenji Rikitake jj1bdx

🏠
Working from home
View GitHub Profile
@jj1bdx
jj1bdx / ubuntu-server-from-desktop.md
Created April 11, 2024 08:52
Ubuntu conversion from Desktop to Server

Ubuntu conversion from Desktop to Server

Source: https://www.technomancer.com/archives/789

# Do this as a root
# Install Ubuntu Server, after stopping unattended upgrades
systemctl disable unattended-upgrades
systemctl set-default multi-user.target
apt update && apt -y upgrade 
@jj1bdx
jj1bdx / ubuntu-texlive.md
Created March 17, 2024 06:27
Ubuntu TeXLive environment

Installing TeXLive on Ubuntu

For Ubuntu 22.04.4 LTS and TeXLive 2024

Don't

  • Do not use default given packages. They are too old and obsolete.

Remove installed packages by apt first

@jj1bdx
jj1bdx / atecc608a-i2c-notes.md
Created January 10, 2024 06:16 — forked from rrottmann/atecc608a-i2c-notes.md
ATECC608A I2C Notes

ATECC608A I2C Notes

Here be dragons

WARNING: AS THE DEVICE CAN BE CONFIGURED ONLY ONCE, PLEASE BE WARNED THAT YOU MIGHT EASILY BRICK THE CHIP! USE AT YOUR OWN RISK!

Circuit

Please make sure to use proper circuit for ATECC608A with pullups and decoupling capacitors when hooked to a MCU. A Raspberry Pi might also work without external components just using internal pullups.

@jj1bdx
jj1bdx / atan2test-summary.md
Last active December 17, 2023 04:40
VOLK v3.1.0 volk_32fc_s32f_atan2_32f() anomaly on input element 0+0j

VOLK v3.1.0 volk_32fc_s32f_atan2_32f() anomaly on input element 0+0j

VOLK v3.1.0 volk_32fc_s32f_atan2_32f() returns -NaN when input has a 0+0j element for the avx2 and avx2_fma kernels.

Note: j denotes an imaginary number, where j^2 = -1.

Summary

VOLK v3.1.0 volk_32fc_s32f_atan2_32f() returns -nan for the following kernels:

@jj1bdx
jj1bdx / disable all macos animations
Created October 23, 2023 05:30 — forked from j8/disable all macos animations
disable all macos animations for high performance
defaults write -g NSScrollViewRubberbanding -int 0
defaults write -g NSAutomaticWindowAnimationsEnabled -bool false
defaults write -g NSScrollAnimationEnabled -bool false
defaults write -g NSWindowResizeTime -float 0.001
defaults write -g QLPanelAnimationDuration -float 0
defaults write -g NSScrollViewRubberbanding -bool false
defaults write -g NSDocumentRevisionsWindowTransformAnimation -bool false
defaults write -g NSToolbarFullScreenAnimationDuration -float 0
defaults write -g NSBrowserColumnAnimationSpeedMultiplier -float 0
defaults write com.apple.dock autohide-time-modifier -float 0
@jj1bdx
jj1bdx / macos-disable-animation.sh
Created August 21, 2023 15:15
CLI settings for disabling macOS screen animation
# Source:
# https://apple.stackexchange.com/a/63477/91991
# Posted by Lri <https://apple.stackexchange.com/users/3936/lri>
# Licensed: CC-BY-SA 3.0
# opening and closing windows and popovers
defaults write -g NSAutomaticWindowAnimationsEnabled -bool false
# smooth scrolling
defaults write -g NSScrollAnimationEnabled -bool false
@jj1bdx
jj1bdx / sdrpp-local-cmake-settings.sh
Created April 13, 2023 08:04
CMake script for building sdr++ on macOS
#!/bin/sh
# CMake local script for building sdr++ <git@github.com:AlexandreRouma/SDRPlusPlus.git> on macOS
cmake .. \
-DOPT_BUILD_AUDIO_SINK=OFF \
-DOPT_BUILD_BLADERF_SOURCE=OFF \
-DOPT_BUILD_HACKRF_SOURCE=OFF \
-DOPT_BUILD_HERMES_SOURCE=OFF \
-DOPT_BUILD_M17_DECODER=OFF \
-DOPT_BUILD_METEOR_DEMODULATOR=OFF \
-DOPT_BUILD_NEW_PORTAUDIO_SINK=ON \
@jj1bdx
jj1bdx / 0-fldigi-flarq-flamp-usage.md
Last active September 23, 2022 11:17
fldigi/flarq/flamp usage explanation / 簡単な使い方説明

fldigi/flarq/flamp usage / fldigi/flarq/flamp の使い方説明

by Kenji Rikitake, JJ1BDX

Last update: 23-SEP-2022 / 2022年9月23日

Copyright (c) 2022 by Kenji Rikitake. The contents (words and figures) of this document are licensed under a Creative Commons Attribution 4.0 International license (CC-BY 4.0).

This is a bilingual document in English and in Japanese.

@jj1bdx
jj1bdx / cbc-mp3.m3u
Created June 9, 2022 03:47 — forked from nevillepark/README.md
CBC MP3 stream urls
#EXTM3U
#PLAYLIST:CBC Radio Streams
#EXTINF:-1,CBC Music (Atlantic)
http://cbcmp3.ic.llnwd.net/stream/cbcmp3_cbc_r2_hfx
#EXTINF:-1,CBC Music (Central)
http://cbcmp3.ic.llnwd.net/stream/cbcmp3_cbc_r2_wpg
@jj1bdx
jj1bdx / cbc.m3u
Created June 9, 2022 03:47 — forked from nevillepark/README.md
CBC radio stream URLs
#EXTM3U
#PLAYLIST:CBC Radio Streams
#EXTINF:-1,CBC Music (Atlantic)
https://cbcliveradio2-lh.akamaihd.net/i/CBCR2_HFX@382379/master.m3u8
#EXTINF:-1,CBC Music (Central)
https://cbcliveradio2-lh.akamaihd.net/i/CBCR2_WPG@385274/master.m3u8