A new digitalocean droplet… this time for a client…
A new digitalocean droplet… this time for a client…
While I was trying to use count to see the number of elements on a object,
PHP count was returning me 1.
This is how I solved it.
$total = count((array)$objecto);
While I’m sketching a new project, and trying to maximize the server work…
I might need to join several JSON objects and order them by a value (timestamp).
This is a solution that I’v found on Stackoverflow.
arr1 = [{"link":"#","prod":"Fundamentals Of Software Engineering","price":" Rs. 201 "},{"link":"##","prod":"Real-Time Systems: Theory And Practice","price":" Rs. 390 "}]; arr2 = [{"link":"#","prod":"Fundamentals Of Software Engineering","price":" Rs. 202 "},{"link":"##","prod":"Real-Time Systems: Theory And Practice","price":" Rs. 392 "}]; arr3 = [{"link":"#","prod":"Fundamentals Of Software Engineering","price":" Rs. 203 "},{"link":"##","prod":"Real-Time Systems: Theory And Practice","price":" Rs. 394 "}] ; var mergedArray = arr1.concat(arr2, arr3); var sorted = mergedArray.sort(function(a, b){ var priceA = parseFloat(a.price.replace("Rs.", "")); var priceB = parseFloat(b.price.replace("Rs.", "")); return priceA - priceB; }); console.log(sorted);
References:
Stackoverflow question: http://stackoverflow.com/questions/8869123/adding-two-json-objects-and-sorting
jsfiddle http://jsfiddle.net/diode/FzzHz/
Today I was whoising a domain… I’v found DropCatch430.com.
DropCatch430.com’s page is saying
Please Note: We are a partner of NameBright.com
OK! ‘430, nice to know…
How many DropCatchNNN.com there are?
f*ck!, I just know how to count until… but… looks like they are a few hundreds….
About 452 results (0.36 seconds)
Only on page 30th of Google Results I’v started to see other thing except DropCatchNNN.com results…
On the Google Search I also found…
DropCatch.com works similarly to NameJet and SnapNames when it comes to fully expired (aka pending delete) domain names. The names drop and the companies use their own domain registrars (as well as partners) to quickly ping the registry and pick up expired domain names.
The software behind DropCatch.com has been used to capture over 1 million domain names since 2006, including much of the HugeDomains portfolio.
Source: http://domainnamewire.com/2014/05/12/dropcatch-com-expired-domains/
Domain Name: XXXXXXXXXXXXXXX.COM Registrar: DROPCATCH.COM 430 LLC Sponsoring Registrar IANA ID: 1841 Whois Server: whois.namebright.com Referral URL: http://www.DropCatch430.com Name Server: DISCOUNT.HUGEDOMAINS.COM Name Server: DISCOUNT2.HUGEDOMAINS.COM Status: clientTransferProhibited http://www.icann.org/epp#clientTransferProhibited Updated Date: 03-may-2015 Creation Date: 18-oct-2014 Expiration Date: 18-oct-2015 For more information on Whois status codes, please visit https://www.icann.org/resources/pages/epp-status-codes-2014-06-16-en. Domain Name: XXXXXXXXXXXXXXXXX.com Registrar URL: http://www.NameBright.com Registrant Name: Domain Sales Manager Registrant Organization: HugeDomains.com Name Server: discount.hugedomains.com Name Server: discount2.hugedomains.com DNSSEC: unsigned To view the full Whois information please visit: https://www.namebright.com/Whois/XXXXXXXXXXXXXX.com Use this link for $100 off this domain name. http://www.hugedomains.com/coupon.cfm?id=whois
As with competing services, if more than one person backorders the same captured domain then it heads to auction. It’s important to note that any DropCatch.com customer can participate in auctions, not just those that backordered the domain.
Source: http://domainnamewire.com/2014/05/12/dropcatch-com-expired-domains/
Readings about How to grab an expiring domain.
As heard on Erol Alkan’s 6 Mix (August 2014)
https://www.youtube.com/watch?v=WlTW7Xl_AoQ
As heard on
NO WEAPON IS ABSOLUTE N°22 by Dj Sundae – 12/02/2015 – I’m a Cliche on Rinse France