I hereby claim:
- I am bogdan-dumitru on github.
- I am bogdan (https://keybase.io/bogdan) on keybase.
- I have a public key whose fingerprint is 55C2 7F95 E8AE 76FC E40B 7BDA D16A 9817 50CC 4791
To claim this, I am signing this object:
| if exists?(referrer = event[:referrer]) | |
| if ((matches = referrer.match(/([^\#]+)\#(.+)?\:(.+)?/))) && matches.size == 4 | |
| detail = "#{DETAILS}.#{escape(matches[2])}.#{escape(matches[3])}.#{PLAYS}" | |
| # Here we split the stuff in the specialised referrer | |
| # i.e. facebook.com#p:AwsomePage | |
| # And we increment the detail below, but in the REFERRER for the update | |
| # referrer is passed instead of matches[1] ( which is just the facebook.com ) | |
| buckets.each do |bucket| | |
| @referrers_per_track.update({ TRACK => track_id, BUCKET => bucket, REFERRER => referrer }, { | |
| '$inc' => { |
| Indexes for [apps/track] | |
| _id_ | |
| t_1 | |
| t_-1_b_-1_v_-1_c_-1 | |
| t_-1_b_-1_v_-1_d_-1 | |
| t_-1_b_-1_v_-1_f_-1 | |
| t_-1_b_-1_v_-1_p_-1 | |
| Indexes for [apps/track/slim] | |
| _id_ | |
| t_1 |
| Updates: | |
| totals | |
| { 'b' } | |
| tracks | |
| { 't', 'b', 'u' } # This is theoretically irrelevant | |
| # because track links 1-to-1 to user | |
| { 't', 'b' } |
| Updates: | |
| totals | |
| { 'b' } | |
| tracks | |
| { 't', 'b', 'u' } # This is theoretically irrelevant | |
| # because track links 1-to-1 to user | |
| { 't', 'b' } |
| def write(type, attributes, plan) | |
| geo = resolve_geo(attributes[:remote_addr]) | |
| listener = | |
| if attributes[:anonymous] == true | |
| -1 | |
| else | |
| ( attributes[:user_id].to_i == 0 ? nil : attributes[:user_id].to_i ) | |
| end | |
| /** | |
| * @file session_file.h | |
| * @Author Bogdan Dumitru ([email protected]) | |
| * @date July, 2012 | |
| * @brief Functions related to the processing of Ableton Live Session files (.als) | |
| * | |
| * The functions regarding processing of ALS files. This is currently devided in | |
| * three subsections with appropriate prefixes: | |
| * | |
| * (1) Regarding specifically to ALS files and entities: |
| "views.py" 63L, 2170C written | |
| Error detected while processing function pymode#lint#Check: | |
| line 16: | |
| Traceback (most recent call last): | |
| File "<string>", line 1, in <module> | |
| File "/Users/bogdan/.spf13-vim-3/.vim/bundle/python-mode/pylibs/pymode/lint.py", line 3, in <module> | |
| from pylama.main import run | |
| File "/Users/bogdan/.spf13-vim-3/.vim/bundle/python-mode/pylibs/pylama/main.py", line 9, in <module> | |
| from . import utils | |
| File "/Users/bogdan/.spf13-vim-3/.vim/bundle/python-mode/pylibs/pylama/utils.py", line 6, in <module> |
| Feature: I'm just pumped up, bought some shit from the thrift shop | |
| Scenario: I'm gonna pop some tags | |
| Given I only got 20$ in my pocket | |
| When I'm huntin | |
| And looking for a come up | |
| Then this is fucking awesome |
I hereby claim:
To claim this, I am signing this object:
| /* Node modules builder for components */ | |
| var fs = require('fs') | |
| , _ = require('lodash') | |
| , mkdirp = require('mkdirp') | |
| , path = require('path'); | |
| var NodeModulesBuilder = function(tree, base) { | |
| this.traverseCache = {}; | |
| this.buildNodeModules(tree); |