Skip to content

Instantly share code, notes, and snippets.

View SamirBoulil's full-sized avatar
🏠
Working from home

Samir SamirBoulil

🏠
Working from home
View GitHub Profile
04dabffce7334264f864105a862607aba0581a55d9c4f460ab6714435ba36a99c0ad19e2684e3668d1eb8752c3a42c271f8a6e3bbebff21561826cf0ccd2201756
@SamirBoulil
SamirBoulil / test.py
Created December 17, 2016 21:43
Simple Consumer & Queue implementation with python multiprocessing
# coding: utf-8
import multiprocessing as mp
def loop_a(q):
while not q.empty():
print(q.get())
if __name__ == '__main__':
q1=mp.Queue()

Keybase proof

I hereby claim:

  • I am samirboulil on github.
  • I am samirboulil (https://keybase.io/samirboulil) on keybase.
  • I have a public key whose fingerprint is A4DF 0B87 70C6 4446 AE38 C661 194E 3518 A448 7B48

To claim this, I am signing this object:

@SamirBoulil
SamirBoulil / 0_reuse_code.js
Created October 21, 2013 22:00
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console