Skip to content

Instantly share code, notes, and snippets.

View kaineer's full-sized avatar
:octocat:
⌨️ 🖱️

Sergey Kluchkovsky kaineer

:octocat:
⌨️ 🖱️
View GitHub Profile
@kaineer
kaineer / debian-zoom-remove-ibus.md
Created April 9, 2025 16:25 — forked from zxchris/debian-zoom-remove-ibus.md
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 
a = input()
b = input()
print('Сколько камней ?')
r = int(input())
i = 0
o = 0
while o == 0:
c = int(input())
if not c == 2 or not c < 4:
r -= c
@kaineer
kaineer / picture.js
Last active September 14, 2016 04:29 — forked from Luardi/picture-element.js
'use strict';
var template = document.querySelector('template');
var templateContainer = 'content' in template ? template.content : template;
var newGallery = require('./gallery');
var IMAGE_LOAD_TIMEOUT = 10000;
var Picture = module.exports = function(picture, i) {
this.data = picture;