Posts

amazon ec2 - Domain and subdomain setup in AWS Route 53 DNS Service -

i trying point domain.com , sub.domain.com same ec2 instance's elastic ip. here's how zone file looks like: domain.com - record - elastic_ip_address www.domain.com - alias - domain.com sub.domain.com - alias - domain.com. there soa , ns records domain.com i have tried making sub.domain.com record pointing same ip , no luck whatsoever. dns resolution failing sub.domain.com strange thing resolution not failing www.domain.com as such, visiting domain.com , www.domain.com function not sub.domain.com any idea going on? there more 1 way this, think want like: domain.com - record - elastic_ip_address www.domain.com - cname - domain.com. sub.domain.com - cname - domain.com. cname records non-alias.

osx - Signing a Package in MAC -

i have c++ code build on netbeans (8.0.1) on mac osx 10.10. now want package binary i'm using packagemaker. once build on packagemaker finishes asks sign it, clicked 'allow'. then open terminal , checked if package signed successfully, , got: codesign -v g16.pkg g16.pkg: code object not signed @ all. i login apple developer "certificates, identifiers & profiles" page , have: 2 developer id application certificate 4 developer id installer 1 mac app distribution 1 mac development 1 mac installer distribution in keychain have 1 certificate under "my certificate" , 6 under "certificate". so questions are: what differences between certificate? which certificate need use? what do wrong? please me!!! :) codesign signing of applications (not installers). should use productsign sign pkg files. certificate should using " developer id installer ". (full name of certificate shown in keychain) produ...

git - How can I see which branch contains a certain commit, when working with atlassian jira and stash -

we switched feature branch workflow git. our infrastructure based on atlassian tools jira, bamboo , stash. works pretty smooth , 3 tools share status. can create branch named jira ticket , trace complete workflow through jira , bamboo until released. but there seems 1 important missing feature: have situation jira ticket has plenty of subtasks or linked tickets. there no seperate branch referened tickets, commits go directly parent branch. lose traceability of subtasks; there seems no way in jira see in branch referenced ticket has been resolved. need know branch contains commits tickets. when have information, can deploy branch qs , present list of new features/fixes have been resolved in branch. do have similar problems or how solve this? i'm not sure follow question entirely, list branch(es) contains commit, git branch --contains <commit> .

php - PHPmyadmin upgrade / Loading forever while access any db -

i trying upgrade phpmyadmin on hosted server. have asked hosting provider company said me that, manually need upgrade phpmyadmin using, server's command line using following command: /usr/local/cpanel/bin/updatephpmyadmin my concern can write thing on hosted server. ? i new php developer , first experience hosting site. on host server when ever try access db "loading" remain forever. phpmyadmin version on hosted server 4.0.10.7 (lasted 1 4.4.10) some people claiming same issue resolved upgrading phpmyadmin latest version. think upgrading phpmyadmin might solve issue well. any appreciated. for have faced issue, it might possible in channel/whm password have used special character (i have used "pound" symbol not accepted in system. think should stick use standard symbol printed on keyboard.) i have change password , working. hope information other well. thanks

objective c - NSEvent addGlobalMonitorForEventsMatchingMask:NSLeftMouseDownMask call two times -

i'm adding event nsleftmousedownmask function: mouselefclick = [nsevent addglobalmonitorforeventsmatchingmask:nsleftmousedownmask handler:^(nsevent *leftmousedown) { nslog(@"!!"); }]; when press first time it's call right when press second time function it's call 2 times , other clicks it's going right except second one. please me! thx!

go - Correct use of XML annotations, fields and structs in custom UnmarshalXML function -

consider following struct: type mystruct struct { name string meta map[string]interface{} } which has following unmarshalxml function: func (m *mystruct) unmarshalxml(d *xml.decoder, start xml.startelement) error { var v struct { xmlname xml.name //`xml:"mystruct"` name string `xml:"name"` meta struct { inner []byte `xml:",innerxml"` } `xml:"meta"` } err := d.decodeelement(&v, &start) if err != nil { return err } m.name = v.name mymap := make(map[string]interface{}) // ... mxj magic here ... - temp := v.meta.inner prefix := "<meta>" postfix := "</meta>" str := prefix + string(temp) + postfix //fmt.println(str) mymxjmap, err := mxj.newmapxml([]byte(str)) mymap = mymxjmap // fill mymap //m.meta = mymap m.meta = mymap["meta"].(map[string]interface...

how to draw a text on a circle in SWIFT -

Image
i have no clue how start , not have code. research far pointed out, there no standard functionality , has coded our self ? any hint or confirmation ? update using coretextarcview, suggested ashish. thanks helping. sample project suggested works me. can see blue circle text on it. integrating project, have problems. did following i added files "coretextarcview.h" , "coretextarcview.m" project. can see them in explorer left. in bridgingheader.h added import : #import "coretextarcview.h" i added codesample : var arctext : coretextarcview = coretextarcview(frame: cgrectmake(50, 50, 200, 200), font: uifont.systemfontofsize(15), text: "hello radious arc text", radius: 85, arcsize: 130.0, color: uicolor.redcolor()) arctext.backgroundcolor = uicolor.clearcolor() self.view.addsubview(arctext) -> compile errors in coretextarcview.m : /users/user/desktop/prototypes/coretextarcview.m /users/user/desktop/prototypes/coretextarcvie...