I hereby claim:
- I am valdezm on github.
- I am valdezm (https://keybase.io/valdezm) on keybase.
- I have a public key ASBMDhuyqyKO-fI13gjoVYeXGv5Mq8lfRZ33Zi8kbFj8NQo
To claim this, I am signing this object:
var myUser={ | |
username: "not_set", | |
password: "not_set", | |
u_ready: "-1", | |
p_ready: "-1", | |
setupU: function(callback){ | |
temp_user.get("1",function(obj){ | |
var username2 = obj.value.username; | |
this.username = username2; | |
//alert("this should be called before"+this.username); |
var status2=setInterval(function(){ | |
alert(myUser.getU2()+"*"); | |
},3000); |
some file: | |
var aTest={ | |
user: "nothing", | |
a: function(q){this.user = q; | |
} | |
} | |
another js file: |
getU: function(callback_A, nothing){ | |
var that = this; | |
//this.username=nothing; | |
if(this.u_ready == "-1"){ | |
this.setupU(function(user){ | |
nothing = user; | |
that.username = nothing; | |
//alert("returning username:"+nothing); | |
alert("returning this:"+this.username); |
I hereby claim:
To claim this, I am signing this object:
Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.
This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would
import json | |
import ogr | |
driver = ogr.GetDriverByName('ESRI Shapefile') | |
shp_path = r'C:\GIS\Temp\Counties.shp' | |
data_source = driver.Open(shp_path, 0) | |
fc = { | |
'type': 'FeatureCollection', | |
'features': [] |