Process | Questions |
---|---|
Product/Project Management |
|
Development |
|
Source Code Management |
|
Release |
|
QA |
|
Monitoring | Are we alerted to all critical issues?Are we warned before issues b |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew cask install connectiq | |
brew cask install java | |
git clone [email protected]:dennybiasiolli/garmin-connect-iq.git | |
cd garmin-connect-iq | |
openssl genrsa -out developer_key.pem 4096 && \ | |
openssl pkcs8 -topk8 -inform PEM -outform DER -in developer_key.pem -out developer_key.der -nocrypt && \ | |
rm developer_key.pem | |
bash $(readlink $(type monkeyc)) \ | |
-d fr735xt \ | |
-o AnalogDigital.prg \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from datetime import datetime, timedelta | |
TODAY = datetime.now().date() | |
def years_ago(date, years=25): | |
try: | |
date_past = date.replace(year=date.year-years) | |
except ValueError: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://hub.docker.com/r/voroninman/quakejs-server/ | |
FROM node:latest | |
WORKDIR /quakejs | |
RUN git clone https://github.com/inolen/quakejs.git . | |
RUN npm install | |
RUN ln -s /quakejs/base/baseq3/server.cfg /server.cfg | |
EXPOSE 27960 | |
ENTRYPOINT node build/ioq3ded.js +set fs_game baseq3 +set dedicated 2 +exec server.cfg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from hashlib import md5 | |
from collections import Counter | |
BETA_ROLL_OUT_PERSANTAGE = 10 | |
def hash_func(key): | |
return sum(map(ord, md5(key).hexdigest())) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Category(object): | |
def __init__(self, slug=None): | |
self.slug = slug | |
def __repr__(self): | |
return self.slug | |
categories = [ | |
Category(slug='b'), | |
Category(slug='d'), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Download and save PostgreSQL documentation as a single | |
HTML-page replacing URLs with HTML anchors. | |
To convert the resulting HTML file to an e-book use | |
appropriate online services. | |
Be carful opennig it in a browser. The resulting HTML | |
could be heavy. | |
""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re;p=lambda n:not re.match(r'^1?$|^(11+?)\1+$','1'*n) | |
d=lambda s:s==s[::-1] | |
def golf(n): | |
while 1: | |
n+=1 | |
if p(n)*d(str(n)):return n |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from functools import reduce | |
checkio = lambda number: reduce(lambda x, y: x * y, | |
filter(lambda digit: digit, | |
map(int, str(number)))) | |
assert checkio(1) == 1, 'The simplest one' | |
assert checkio(10) == 1, 'With zero' | |
assert checkio(234) == 24, '234' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import xml.etree.cElementTree as et | |
def main(file_path): | |
f = open(file_path, 'r') | |
iter = et.iterparse(f) | |
print '<html><meta charset="utf8">' | |
for event, elem in iter: |
NewerOlder