Skip to content

Instantly share code, notes, and snippets.

@emres
emres / subtitles.el
Created February 21, 2011 14:23
subtitles.el - work on .srt (subripper) subtitle files
;; -*- mode: emacs-lisp; coding: hebrew-iso-8bit-unix -*-
;; subtitles.el - work on .srt (subripper) subtitle files
;; Copyright (C) 2009 Ehud karni <ehud@xxxxxxxxxxxxxx>
;; This file is NOT part of GNU Emacs, distribution conditions below.
;;
;; EHUD KARNI ינרק דוהא
;; Ben Gurion st' 14 ןוירוג ןב 'חר
;; Kfar - Sava 44 257 אבס - רפכ
;; ==================================
@Orangenhain
Orangenhain / svn-rco.rb
Created August 21, 2012 09:37
svn revision checkout -- checkout specific revision and (most importantly) checkout matching externals revision; useful if your repository has HEAD-tracking externals, but you want to compile an earlier version
#!/usr/bin/env ruby
require 'uri'
def params_valid?
lengthOkay = [2,3].include? ARGV.length
revOkay = ARGV[0].to_i.to_s == ARGV[0]
lengthOkay && revOkay
end
@tarsius
tarsius / comments-2.md
Created February 10, 2016 23:20
Magit 2.5 released
@the-spyke
the-spyke / pipewire.md
Last active October 12, 2025 21:34
Enable PipeWire on Ubuntu 22.04

Enable PipeWire on Ubuntu 22.04

This guide is only for original Ubuntu out-of-the-box packages. If you have added a custom PPA like pipewire-debian, you might get into conflicts.

Ubuntu 22.04 has PipeWire partially installed and enabled as it's used by browsers (WebRTC) for recoding the screeen under Wayland. We can enable remaining parts and use PipeWire for audio and Bluetooth instead of PulseAudio.

Starting from WirePlumber version 0.4.8 automatic Bluetooth profile switching (e.g. switching from A2DP to HSP/HFP when an application needs microphone access) is supported. Jammy (22.04) repos provide exactly version 0.4.8. So, we're good.

Based on Debian Wiki, but simplified for Ubuntu 22.04.