Skip to content

Instantly share code, notes, and snippets.

View 7185's full-sized avatar
🎮
Focusing

tibs 7185

🎮
Focusing
  • Rennes, France
  • 13:29 (UTC +02:00)
View GitHub Profile
@7185
7185 / thread_test.py
Last active August 3, 2018 09:12
a way to stop a long running thread before creating a new one
import threading
from time import sleep
tn = 0
def func(id):
tid = tn
for i in range(10):
if tn != tid:
break
tibs@merope ~/void-packages % ./xbps-src pkg -f fvwm
=> Using `/home/tibs/void-packages/hostdir/binpkgs/ibus-anthy' as local repository.
[*] Updating `https://repo.voidlinux.eu/current/musl/x86_64-repodata' ...
ERROR: [reposync] failed to fetch file `https://repo.voidlinux.eu/current/musl/x86_64-repodata': Not Found
[*] Updating `https://repo.voidlinux.eu/current/musl/nonfree/x86_64-repodata' ...
ERROR: [reposync] failed to fetch file `https://repo.voidlinux.eu/current/musl/nonfree/x86_64-repodata': Not Found
[*] Updating `https://repo.voidlinux.eu/current/x86_64-repodata' ...
[*] Updating `https://repo.voidlinux.eu/current/nonfree/x86_64-repodata' ...
[*] Updating `https://repo.voidlinux.eu/current/aarch64/x86_64-repodata' ...
[*] Updating `https://repo.voidlinux.eu/current/multilib/x86_64-repodata' ...

Keybase proof

I hereby claim:

  • I am 7185 on github.
  • I am tibs (https://keybase.io/tibs) on keybase.
  • I have a public key ASDtANxF-wRF7P5QV0q_2nCguynUXGW8Chc_hufbowQytgo

To claim this, I am signing this object:

@7185
7185 / gist:3605c62d4700d451b965
Created November 21, 2015 12:57
spotify package error
% sudo xbps-reconfigure spotify
spotify: configuring ...
looking up repository.spotify.com
connecting to repository.spotify.com:80
requesting http://repository.spotify.com/pool/non-free/s/spotify/spotify-client_0.9.4.183.g644e24e.428-1_i386.deb
spotify-client_0.9.4.183.g644e24e.428-1_i386.deb: Réussi
Error while extracting
ERROR: spotify: [configure] INSTALL script failed to execute the post ACTION: Operation not permitted
Failed to reconfigure `spotify': Operation not permitted