Skip to content

Instantly share code, notes, and snippets.

View bowd's full-sized avatar
always.

boqdan bowd

always.
View GitHub Profile
target score for time 60 36 [5/33557]
target score for time 60 28
target score for time 60 41
target score for time 60 42
target score for time 60 27
target score for time 60 29
target score for time 60 33
target score for time 60 34
target score for time 60 40
target score for time 60 38
<script src="https://www.anyguide.com/assets/integration-v1.1.js" async></script>
<div id="iframe_wrapper"></div>
<script language="javascript" type="text/javascript">
window.__anyroadAsyncInit = function() {
window.anyroad = new AnyRoad({
container: '#iframe_wrapper',
tours: { guide: 'tour_guide_slug' },
iframe_style: { width: '100%', background: 'transparent' },
referrer: { name: 'tour_guide_slug', token: 'tour_guide_token' }
});
@bowd
bowd / index.jsx
Last active August 29, 2015 14:17 — forked from valer-cara/index.jsx
initiateTransition: function() {
// Set the state so that both screens
// will be rendered.
this.setState({
transitionStarted: true,
transitionDirection: this.state.activeScreen.get('stackIndex') > this.state.screensStackTop.get('stackIndex') ? "back" : "fwd"
});
// Schedule a cleanup so that we remove the
// previous screen after the transition occurs
/* 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);

Keybase proof

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:

@bowd
bowd / thrift_shop.feature
Created August 22, 2013 13:47
I'm learning BDD and Cucumber
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
@bowd
bowd / gist:6266853
Created August 19, 2013 08:29
my vim py lint error
"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>
/**
* @file session_file.h
* @Author Bogdan Dumitru (dumbogdan@gmail.com)
* @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:
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
Updates:
totals
{ 'b' }
tracks
{ 't', 'b', 'u' } # This is theoretically irrelevant
# because track links 1-to-1 to user
{ 't', 'b' }