Skip to content

Instantly share code, notes, and snippets.

View michal-lipski's full-sized avatar
🏠
Working from home

Michal Lipski michal-lipski

🏠
Working from home
View GitHub Profile
@staltz
staltz / introrx.md
Last active April 25, 2024 04:18
The introduction to Reactive Programming you've been missing
@acdha
acdha / simple_cors_server.py
Last active April 25, 2024 07:13
Python 3: serve the current directory as HTTP while setting CORS headers for XHR debugging
#!/usr/bin/env python3
# encoding: utf-8
"""Use instead of `python3 -m http.server` when you need CORS"""
from http.server import HTTPServer, SimpleHTTPRequestHandler
class CORSRequestHandler(SimpleHTTPRequestHandler):
def end_headers(self):
self.send_header('Access-Control-Allow-Origin', '*')
@v0lkan
v0lkan / silence.sh
Last active July 20, 2023 12:03
How to Have a Silent and High-Performing Western Digital MyCloud Mirror
#
# Needless to say, I (Volkan Ozcelik) take no responsibility, whatsoever,
# about what will happen to your NAS when you try these.
# When did it to mine, I observed *ENORMOUS* performance gain and a zen-like silence.
#
# +----------------------------------------------------------+
# | WHAT YOU ARE GOING TO DO CAN LIKELY VOID YOUR WARRANTY |
# | SO PROCEED WITH CAUTION |
# +----------------------------------------------------------+
#
"I feel like I belong on this team."
"On this team, I can voice a contrary opinion without fear of negative consequences."
"On this team, perspectives like mine are included in decision making."
"On this team, administrative or clerical tasks that don’t have a specific owner are fairly divided."
"People on this team accept others who are different."
"It is easy to ask other members of this team for help."
"On this team, messengers are not punished when they deliver news of failures or other bad news."
"On this team, responsibilities are shared."
"On this team, cross-functional collaboration is encouraged and rewarded."
"On this team, failure causes inquiry."