Python is an accessible, productive general purpose programming language. It is also interpreted and, at times, cannot match the raw speed and performance of compiled languages such as C, C++, and Fortran. This talk will demonstrate a practical and easy approach to working in Python, identifying runtime bottlenecks, and converting those hotspots to C. The end result is Python that can easily access compiled C code, allowing for the combination of the ease of Python with the speed and flexibility of C.
This file contains 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
example config block { | |
foo = bar | |
${tpl2} | |
} |
This file contains 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
#!/bin/bash | |
if [ -z "$1" ] || [ -z "$2" ]; then | |
echo "Usage: $0 <path_to_content_directory> <organization>/<workspace>" | |
exit 0 | |
fi | |
CONTENT_DIRECTORY=$1 | |
ORG_NAME="$(cut -d'/' -f1 <<<"$2")" | |
WORKSPACE_NAME="$(cut -d'/' -f2 <<<"$2")" |
This file contains 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
#!/bin/bash | |
if [ -z "$1" ] || [ -z "$2" ]; then | |
echo "Usage: $0 <path_to_content_directory> <organization>/<workspace>" | |
exit 0 | |
fi | |
CONTENT_DIRECTORY=$1 | |
ORG_NAME="$(cut -d'/' -f1 <<<"$2")" | |
WORKSPACE_NAME="$(cut -d'/' -f2 <<<"$2")" |
This file contains 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
Level 1 | |
→ ↑ ← ↓ → ↑ ← → ↓ ↑ ↑ ← ↑ → ← ↓ ← ← ↑ ↑ ↑ → ↓ ← ↓ → ↑ → → ← ↑ ↓ ← ← → ↓ → ↑ ← → ↓ ↑ ↑ ← ↑ → ← ↓ ← ↓ ↑ → → ← ↑ ↓ → ← ↓ ↑ → → ← ↑ ↓ → ↑ ← → ↓ ↑ ↑ ← ↑ → ← ↓ ← ← ↑ ↑ ↑ → ↓ ← ↓ → ↓ ← ↓ → ↓ ← ↓ ↑ → → ← ↑ ↓ ← ← → ↓ → ↑ ← → ↓ ↑ ↑ ← ↑ → ← ↓ ← ↓ ↑ → → ← ↑ ↓ → ↑ → → ← ↑ ↓ ← ← → ↓ → ↑ ← → ↓ ↑ ↑ ← ↑ → ← ↓ ← ↓ ↑ → → ← ↑ ← ↑ ↓ ← ← → ↓ → ↑ ← → 🍒 ↓ ↑ ↑ ← ↑ → ← ↓ ← ↓ ↑ → → ↓ → ↓ ↑ → → ← ↑ ↓ → ← ↓ ↑ → → ← ↑ ↓ → ↑ ← → ↓ ↑ ↑ ← ↑ → ← ↓ ← ← ↑ ↑ ↑ → ↓ ← ↓ → ↓ ← ↓ → ↓ ← ↓ ↑ ← ↓ → ↑ ← → ↓ ↑ ↑ ← ↑ → ← ↓ ← ← ↑ ↑ ↑ → ↓ ← ↓ → ↑ → → ← ↑ ↓ ← ← → ↓ → ← ↓ ↑ → → ← ↑ ↓ → ↑ → → ← ↑ ↓ ← ← → ↓ → ↑ ← → ← ↓ ↑ → → ← ↑ ↓ → ↑ → → ← ↑ ↓ ← ← → ↓ → ↑ ← → ↓ ↑ → → ← ↑ ↓ ← ← → ↓ → ↑ ← → ↓ ↑ ↑ ← ↑ → ← ↓ ← ↓ ↑ → → ← ↑ ↓ → ↑ → → ← ↑ ↓ ← ← → ↓ → ↑ ← → ↓ ↑ ↑ ← ↑ → ← ↓ ← ↓ ↑ → → ← ↑ ← ↑ ↓ ← ← → ↓ → | |
Level 2 | |
← ↑ ← ↑ → ← ↓ ← ← ↑ ↑ ↑ → ↓ ← ↓ → ↑ → → ← ↑ ↓ ← ← → ↓ → ↑ ← → ↓ ↑ ↑ ← ↑ → ← ↓ ← ↓ ↑ → → ← ↑ ↓ → ← ↓ ↑ → → ← ↑ ↓ → ↑ ← → ↓ ↑ ↑ ← ↑ → ← ↓ ← ← ↑ ↑ ↑ → ↓ → ← ↓ ↑ → → ← ↑ ↓ → ↑ ← → ↓ ↑ ↑ ← ↑ → ← ↓ ← ← ↑ ↑ ↑ → ↓ ← ↓ → ↓ ← ↓ → ↓ ← ↓ ↑ ← ↓ → ↑ ← → ↓ ↑ ↑ ← ↑ → ← |
This file contains 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
awk 'BEGIN {X=" \xF0\x9F";A=T=X "\x8E\x87";P=D=X "\x92\xA5";H=Y=X "\x8E\x86";B=R= X "\x95\xAF";I=X "\x8E\x82" | |
printf "\n" H A P P Y B I R T H D A Y "\n\n"}' |
This file contains 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
package main | |
import ( | |
"fmt" | |
"log" | |
"github.com/fprimex/zdesk-go" | |
"github.com/tidwall/gjson" | |
) |
This file contains 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
BEGIN { | |
string1 = "[couchdb:info,2014-04-22T22:30:04.873,ns_1@node:<0.6548.6>:couch_log:info:39]164.55.92.41 - - GET /default/_design/v6/_view/v6_sizes?group=true&group_level=1 500" | |
string2 = "[couchdb:info,2014-06-15T6:30:06.928,ns_1@node:<0.3037.5064>:couch_log:info:39]164.55.92.41 - - GET /default/_design/v6/_view/v6_sizes?group=true&group_level=1 200" | |
match(string1, /_view\/[_[:alnum:]]+/) | |
view = substr(string1, RSTART, RLENGTH) | |
print view | |
match(string2, /_view\/[[:alnum:]_]+/) | |
view = substr(string2, RSTART, RLENGTH) |
- couchbase-server-enterprise_3.0.1-windows_x86.exe
- couchbase-server-enterprise_3.0.1-windows_amd64.exe
- couchbase-server-enterprise_3.0.1-ubuntu12.04_amd64.deb
- couchbase-server-enterprise_3.0.1-ubuntu10.04_amd64.deb
- couchbase-server-enterprise_3.0.1-macos_x86_64.zip
- [couchbase-server-enterprise_3.0.1-debian7_amd64.deb](https://packages.couchbase.com.s3.amazonaws.com/releases/3.0.1/couchbase-server-enterprise_3.0.1-d
- couchbase-server_3.0.0-src.tgz.md5
- couchbase-server_3.0.0-src.tgz
- couchbase-server-enterprise_3.0.0-ubuntu10.04_amd64.deb
- couchbase-server-enterprise_3.0.0-ubuntu12.04_amd64.deb
- couchbase-server-enterprise_3.0.0-ubuntu10.04_amd64.deb.md5
- couchbase-server-enterprise_3.0.0-ubuntu12.04_amd64.deb.md5
- [couchbase-server-