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
#!/usr/bin/python3 | |
class Cost: | |
def __init__(self, w : int = 0, s : int = 0, m : int = 0, hqm : int = 0): | |
self.w = w | |
self.s = s | |
self.m = m | |
self.hqm = hqm | |
if self == ZeroCost(): |
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
yac@remy % flake8 --select F811 a.py | |
(.venv-py35) -------------------------------------------------------------------------------- | |
~ | |
yac@remy % flake8 --select F811 a.py | |
(.venv-py35) -------------------------------------------------------------------------------- | |
~ | |
yac@remy % flake8 --select F811 b.py | |
(.venv-py35) -------------------------------------------------------------------------------- | |
~ | |
yac@remy % flake8 --select F811 c.py |
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
bd2f6d98f5c0# ./show.zsh | column -t | |
repo full-ratio full-deviace lang-ratio lang-deviace | |
https://github.com/alex/alchimia.git 0.238324 -0.273806 0.248605 -2.265116 | |
https://github.com/docker/compose.git 0.168305 0.128875 0.137873 0.657356 | |
https://github.com/pallets/flask.git 0.391819 -1.156562 0.182091 -0.509657 | |
https://github.com/marshmallow-code/marshmallow.git 0.190714 -0.000002 0.151035 0.309968 | |
https://github.com/PyCQA/pylint.git 0.185302 0.031123 0.162780 -0.000002 | |
https://github.com/mvantellingen/python-zeep.git 0.133201 0.330761 0.106354 1.489215 | |
https://github.com/kennethreitz/requests.git 0.731202 -3.108359 0.202279 -1.042467 | |
https://github.com/sqlalchemy/sqlalchemy.git 0.159708 0.178318 0.136062 0.705143 |
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 timeit | |
setup=""" | |
import logging | |
logging.basicConfig(filename='/dev/null') | |
depth = %d | |
loggers = [ |
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 timeit | |
setup = ''' | |
iter = 1 | |
#iter = 10**6 | |
class Attr: | |
def __init__(self): | |
self.x = 1 | |
self._range = range(iter) |
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
k = float(input("choose a positive parameter, k:")) | |
n = int(input("choose the lenght of the sequence:")) | |
x = float (input("choose the first term of the sequence, x:")) | |
for i in range(n): | |
if i == 0: | |
a = x | |
else: | |
a = k * a * (1-a) | |
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
#!/usr/bin/env python | |
import sys | |
from math import sqrt | |
from collections import namedtuple | |
Input = namedtuple('Input', ['x', 'k', 'n']) | |
def logseq(x, k, 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
Section "Monitor" | |
Identifier "eDP1" | |
Option "DPMS" "true" | |
Option "PreferredMode" "1366x768" | |
EndSection | |
Section "Monitor" | |
Identifier "DP1" | |
Option "DPMS" "true" | |
Option "PreferredMode" "1920x1080" |
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
yac@remy % man git-log | grep -q -- fooba | |
/bin/nroff: line 134: 29559 Bad system call (core dumped) PATH="$GROFF_RUNTIME$PATH" groff -mtty-char $T $opts ${1+"$@"} | |
man: command exited with status 159: /usr/lib/man-db/zsoelim | /usr/lib/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE | preconv -e UTF-8 | tbl | nroff -mandoc -rLL=116n -rLT=116n -Tutf8 |
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
travis-ci | |
ubuntu | |
macOS | |
circleci | |
ubuntu | |
macOS | |
jenkins | |
unclear but docker based |
NewerOlder