I hereby claim:
- I am proycon on github.
- I am proycon (https://keybase.io/proycon) on keybase.
- I have a public key ASBvbebQL-kGBKB23DsFOOMsWhmnFqpYBdWbv-Omnhc_oAo
To claim this, I am signing this object:
| #!/usr/bin/env python2 | |
| from pynlpl.formats import folia, fql, cql | |
| import glob | |
| import os | |
| import sys | |
| #querystring = '[ pos = "LID\(.*" ]? [ pos = "ADJ\(.*" ]? [ pos = "N\(.*" ]' | |
| #querystring = '[ pos = "LID\(.*" ]? [ pos = "ADJ\(.*" ]{2} [ pos = "N\(.*" ]' | |
| #querystring = '[ pos = "LID\(.*" ] [ pos = "ADJ\(.*" ] [ pos = "N\(.*" ]' |
| from __future__ import division | |
| from visual import * | |
| AU = 149597870700 #m | |
| scene.center = (0,0,0) | |
| scene.width = 800 | |
| scene.height = 600 | |
| scene.range = (2.1*AU,2.1*AU,2.1*AU) |
| from __future__ import print_function, unicode_literals, division, absolute_import | |
| import math | |
| import numpy | |
| def unit_vector(vector): | |
| """ Returns the unit vector of the vector. """ | |
| return vector / numpy.linalg.norm(vector) | |
| def angle_between(v1, v2): | |
| """ Returns the angle in radians between vectors 'v1' and 'v2':: |
| #!/usr/bin/env python | |
| """ | |
| @author Sunil Mallya | |
| Sample code to show a parent - child like process communication model where parent listens on a port and passes the pickled file descriptor | |
| to the child process to read the bytes off the socket. The communication in this snippet is via a Queue which is thread/process safe | |
| Just to be clear, the parent process is still accepting the connection and we are sending a live fd to the child | |
| """ | |
| import os | |
| import sys |
| #!/bin/bash | |
| green='\033[1;92m' | |
| yellow='\033[1;93m' | |
| red='\033[1;91m' | |
| blue='\033[1;31m' #"\033[1;96m" | |
| normal='\033[0m' | |
| if [ -z "$PONY" ]; then |
| package com.anaproy.homecontrol; | |
| import java.util.ArrayList; | |
| import android.app.Activity; | |
| import android.content.Intent; | |
| import android.os.Bundle; | |
| import android.speech.RecognizerIntent; | |
| import android.view.View; | |
| import android.view.View.OnClickListener; |
| Rougly 40% more compression on the data: | |
| -rw-r--r-- 1 proycon proycon 221M Oct 9 23:24 europarl7-en.txt | |
| -rw-r--r-- 1 proycon proycon 96M Oct 9 23:26 v1/europarl7-en.colibri.dat | |
| -rw-r--r-- 1 proycon proycon 59M Oct 9 23:26 v2/europarl7-en.colibri.dat | |
| Comparison with other compressions on plaintext (default settings): | |
| -rw-r--r-- 1 proycon proycon 71M Oct 10 00:11 europarl7-en.txt.gz | |
| -rw-r--r-- 1 proycon proycon 71M Oct 10 00:14 europarl7-en.txt.zip | |
| -rw-r--r-- 1 proycon proycon 49M Oct 10 00:12 europarl7-en.txt.bz2 |
| # IrScrutinizer parametric export | |
| # | |
| # Creating tool: IrScrutinizer version 1.1.1 | |
| # Creating user: Erik | |
| # CreateDate: Tue Oct 07 22:37:43 CEST 2014 | |
| # | |
| # | |
| # Manufacturer: Motorola | |
| # Model: VIP1853 | |
| # Export from IrScrutinizer |
| [ | |
| { | |
| task: "tokenisation", | |
| name: "Ucto", | |
| homepage: "https://proycon.github.io/ucto", | |
| creators: ["Maarten van Gompel, Ko van der Sloot (CLST, Radboud University Nijmegen)"], | |
| contact: { | |
| person: "Maarten van Gompel", | |
| email: "[email protected]", | |
| }, |
I hereby claim:
To claim this, I am signing this object: