Skip to content

Instantly share code, notes, and snippets.

View norrland's full-sized avatar

Andreas Eriksson norrland

  • GleSYS
  • Falkenberg
View GitHub Profile
@zxchris
zxchris / debian-zoom-remove-ibus.md
Last active April 9, 2025 16:25
Zoom for Debian - Removing ibus dependency

Patching zoom_amd64.deb to remove ibus dependency

Installing ibus on Debian has a tendency to stop the keyboard working, particularly in KDE system dialogue boxes and search feilds. ibus is not really required, so patching the deb to prevent the install from also installing ibus as a required dependecy solves the problem:

S=$(mktemp -d)
dpkg -x zoom_amd64.deb $S
dpkg -e zoom_amd64.deb $S/DEBIAN
sed -i -E 's/(ibus, |, ibus)//' $S/DEBIAN/control 
dpkg -b $S zoom_amd64-no-ibus.deb 
package main
import (
"context"
"encoding/json"
"flag"
"os"
"time"
"github.com/c7/graphql"
@icepol
icepol / server.conf
Created September 9, 2014 23:37
Respond to the OPTIONS request direct from the NGINX.
server {
listen 80;
server_name www.server.name;
location / {
# set default content type here
# add_header may cause double header
types {}
default_type text/html;