duplicates = multiple editions
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
name: {{ item.env_name }} | |
dependencies: | |
- pip: | |
- --trusted-host {{ item.trusted_host }} | |
- --extra-index-url {{ item.pypi_url }} | |
- my_internal_package | |
- another_internal_pkg |
sudo: false | |
env: | |
global: | |
- BOTO_CONFIG=/dev/null | |
- SPARK_VERSION=2.0.2 | |
matrix: | |
- TOX_ENV=py27 | |
- TOX_ENV=py3 | |
- TOX_ENV=pep8 |
Built with:
blockbuilder.org
R
htmlwidgets
In response to this StackOverflow question, I show a quick way of adding leaflet-timeline to a R
leaflet
map. See here for a live example.
# http://stackoverflow.com/questions/36554605/cant-loop-with-rs-leaflet-package-to-produce-multiple-maps
# need newest htmlwidgets from github
### | |
### Barry Rowlingson, Lancaster University | |
### | |
## needed for shapefiles: | |
require(rgdal) | |
## needed for colour mapping - not on CRAN: | |
## http://r-forge.r-project.org/projects/colourscheme/ | |
## try: |
" Vim color file -- candycode | |
" Maintainer: Justin Constantino <goflyapig-at-gmail-com> | |
" Last Change: 2006 Aug 12 | |
set background=dark | |
highlight clear | |
let g:colors_name="candycode" | |
let save_cpo = &cpo | |
set cpo&vim |
http://opinionator.blogs.nytimes.com/2013/07/13/nothing-to-do-but-embrace-the-dread/ | |
http://opinionator.blogs.nytimes.com/2012/06/30/the-busy-trap/?_r=0 | |
http://www.whyilovethisbook.co.uk/2011/09/stephen-fry-on-ulysses-james-joyce/ |
function doHash(str, seed) { | |
var m = 0x5bd1e995; | |
var r = 24; | |
var h = seed ^ str.length; | |
var length = str.length; | |
var currentIndex = 0; | |
while (length >= 4) { | |
var k = UInt32(str, currentIndex); | |
; From: http://stackoverflow.com/a/2352280/1183294 | |
; Debugger Code: | |
(defmacro dbg[x] `(let [x# ~x] (println "*** dbg:" '~x "=" x#) x#)) |
(defn lazy-seq-prime | |
([] | |
(concat [2] (lazy-seq-prime 2 (iterate inc 2)))) | |
([p nums] | |
(let [nnums (filter (fn [x] (pos? (rem x p))) nums) n (first nnums)] | |
(lazy-seq | |
(cons n (lazy-seq-prime n nnums)))))) |