Skip to content

Instantly share code, notes, and snippets.

@FilipDominec
FilipDominec / owon_wave.py
Last active May 31, 2024 13:22 — forked from aniline/owon_wave.py
Make a wave file from owon oscilloscope wave dump. It just does one channel. Not tested with numerous other combinations. Note that slow "running-wave" records fail to be properly saved due to Owon firmware bug.
#!/usr/bin/env python
#
# Makes a wav file out of owon oscilloscope waveform save file.
# Tested with SDS6062 only.
#
# Used:
# http://bikealive.nl/owon-bin-file-format.html and
# http://bikealive.nl/tl_files/EmbeddedSystems/Test_Measurement/owon/OWON%20Oscilloscope%20PC%20Guidance%20Manual.pdf
#
@sriramster
sriramster / sr-ydis.el
Created June 3, 2014 10:03
Disable Yanking
;; No need to set arg's & optional's args to nil. Just doing it, #debug purpose
(defadvice kill-whole-line (around screwdriver-kill-wl (&optional arg))
(setq arg nil)
(message "disable kill-whole-line"))
(defadvice kill-rectangle (around screwdriver-kill-rectangle (start end &optional fill))
(setq start nil)
(setq end nil)
(message "disable kill-rectangle"))
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active November 15, 2024 09:51
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@andreyvit
andreyvit / tmux.md
Created June 13, 2012 03:41
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a