Skip to content

Instantly share code, notes, and snippets.

View onfe's full-sized avatar
🦊
I'm also Onfe on GitLab!

Edward onfe

🦊
I'm also Onfe on GitLab!
View GitHub Profile
@onfe
onfe / multi.py
Last active April 18, 2018 09:10
An example of multi-threading in python using the threading module
import threading
import time
def calc_square(numbers):
print('calc square numbers')
for n in numbers:
time.sleep(0.2)
print('square: ', n*n)

Keybase proof

I hereby claim:

  • I am onfe on github.
  • I am onfe (https://keybase.io/onfe) on keybase.
  • I have a public key ASAtHhybCZnJ1gVMNCdJ0V2XbF-xAUsZJrzI80ZAWoXjqgo

To claim this, I am signing this object:

@onfe
onfe / code-of-conduct.md
Created October 1, 2019 21:35
The Code of Conduct for the Computer Science Community in The University of Sheffield.

Code of Conduct

For the most part, we're all students trying to learn skills and have a nice time. We want as many people to have a nice time as possible.

TL;DR - Everyone should feel welcome. We don't tolerate abuse, from anyone, to anyone. See something or experience something bad? Let a mentor, leader, committee member or staff member know.

As Computer Scientists we want to learn, socialise and have fun, and it's very hard to do those things in an unwelcoming environment.