View README.md

Total of pip packages downloaded separated by Python versions

From June 26, 2016 (python 3.5.2 release) to Aug. 31, 2016.

Python versions from 2.6 to 3.5

downloads_by_versions

Without 2.7

View moda_media.py
#!/usr/bin/python
# -*- coding: utf-8 -*-
# http://docs.python.org/tutorial/datastructures.html
l = [ 1, 10, 4, 2, 4, 3, 3, 1, 1, 3]
print l
promedio = sum(l)/len(l)
View state.js
let createContext = function(firstState) {
let context = {
count: 100,
next: firstState,
};
return function(message) {
context = context.next(message, context);
return context;
};
};
View ToggleNumber.vim
nn <silent> <leader>vn :call ToggleNumber()<CR>
fun! ToggleNumber() "{{{
if exists('+relativenumber')
:exec &nu==&rnu? "setl nu!" : "setl rnu!"
else
setl nu!
endif
endf "}}}
View AdjustWindowHeight.vim
au FileType qf call AdjustWindowHeight(3, 10)
function! AdjustWindowHeight(minheight, maxheight)
let l = 1
let n_lines = 0
let w_width = winwidth(0)
while l <= line('$')
" number to float for division
let l_len = strlen(getline(l)) + 0.0
let line_width = l_len/w_width
let n_lines += float2nr(ceil(line_width))
View func_pointers.c
#include <assert.h>
int sum(int a, int b)
{
return a + b;
}
int multi(int a, int b)
{
return a * b;
View pyenv_pipenv.md
View main.py
#!/usr/bin/python
# -*- coding: utf-8 -*-
import logging
import time
from jaeger_client import Config
from opentracing.propagation import Format
if __name__ == "__main__":
log_level = logging.DEBUG
logging.getLogger('').handlers = []
View README.md

Solar System distances from Earth in light-minute

object minutes
Sun 8.3
Mercury 5.1
Venus 2.3
Mars 4.4
Jupiter 35.0
Saturn 70.9