Tag Archives: Dev

Iterables vs. Generators in Python

Iterables vs. Generators in Python I’ve had some people asking me lately what the difference between a Python iteratable and a Python generator is, and when to use them. This is a short write-up to show some of the differences … Continue reading

Posted in Wisdom's Quintessence Blog | Tagged , , , , | Comments Off on Iterables vs. Generators in Python

Install lxml with python3 on an ubuntu 14 trusty

So I needed to install the lxml parser on a fresh ubuntu trusty 14.x, with python3. I did $ sudo apt-get install python3.4-dev $ sudo apt-get install libxml2-dev libxslt1-dev zlib1g-dev $ sudo pip3 install lxml This resulted in a successful … Continue reading

Posted in Wisdom's Quintessence Blog | Tagged , , , , , | Comments Off on Install lxml with python3 on an ubuntu 14 trusty

Install Tor using apt-get on ubuntu- trusty 14.x

tor.mrd—/Users/shawnmehan I went to turn on Tor on an ubuntu-64 “trusty” 14.x guest and ran into problems. There appears to be a bug that critically affects the traditional methods using gpg, so here is some information on how to avoid … Continue reading

Posted in Wisdom's Quintessence Blog | Tagged , , , , , | Comments Off on Install Tor using apt-get on ubuntu- trusty 14.x

HTML5 Mathematical Entities

Mathematical HTML entities The following is a list of all the mathematical entities available under compliant HTML5. It is meant as a reference. Where available, the entity is given, but all entities have their decimal and hexidecimal reference listed. Char … Continue reading

Posted in Wisdom's Quintessence Blog | Tagged , , , , , | Comments Off on HTML5 Mathematical Entities

Git cheatsheet for cli

#Git cheatsheet Here is a cheatsheet on git. Create Clone an existing repo $ git clone ssh:://user@my.com/repo.git Create a new local repo $ git init Local Changes Changed files in your working directory $ git status Changes to tracked files … Continue reading

Posted in Wisdom's Quintessence Blog | Tagged , , , , | Comments Off on Git cheatsheet for cli

Yahoo Financial data API

Access financial data from web api at yahoo Yahoo used to run a very rich API to financial data at , but, alas, it serves no more on most of the URLs. There is still a service, but it is … Continue reading

Posted in Wisdom's Quintessence Blog | Tagged , , , , , | Comments Off on Yahoo Financial data API

R Data Structures

All about R data structures, the big 5 = [“3″,”2”] Continue reading

Posted in Wisdom's Quintessence Blog | Tagged , , , , | Comments Off on R Data Structures

Sublime for blogging in WP

Reducing Friction in WordPress blogging So, I just found a nice post on zero-friction blogging using the all good Sublime text editor. Which is a real treat, because I used to use TextMate directly into WP, but that went away … Continue reading

Posted in Wisdom's Quintessence Blog | Tagged , , , , , | Comments Off on Sublime for blogging in WP

R profiling basics and tools

Basic profiling in R using lineprof() and microbenchmark(). Continue reading

Posted in Wisdom's Quintessence Blog | Tagged , , , , | Comments Off on R profiling basics and tools

Code syntax tool for R into HTML

So this is useful for R people. Need to place some code up in HTML, want to have syntax highlighting, don’t want to fight code and pre format tags all day in wordpress? Paste your block into pretty-r: data(tips, package=”reshape2″) … Continue reading

Posted in Wisdom's Quintessence Blog | Tagged , , , , , | Comments Off on Code syntax tool for R into HTML