git clone --single-branch --depth 1 -b BRANCH REPO
LEFT="branch-1"; \
RIGHT="branch-2"; \
<?php | |
//class FlightTree implements ArrayAccess, Traversable { | |
class FlightTree { | |
private $key; | |
private $data = NULL; | |
private $children = array(); | |
private $parent; |
var input = " + 9 0 asdas (532) 123 - 45 6 7 "; | |
var telefon = input.replace(/(^\D*9?\D*0|\D+)/ig, ''); | |
console.log(telefon); | |
// Şunu yazdırır: | |
// 5321234567 | |
// | |
// Çıktı 10 karakter ise, numara doğru kabul edilebilir. |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
// #maincontent > div > div.dl-wrapper.normal-view > div > div:nth-child(2) > div > table > tbody:nth-child(3) > tr:nth-child(1) > td.domain-name.form > p:nth-child(2) > strong | |
// #maincontent > div > div.dl-wrapper.normal-view > div > div:nth-child(2) > div > table > tbody:nth-child(3) > tr:nth-child(1) > td.expiring > p > b | |
var list = $('#maincontent > div > div.dl-wrapper.normal-view > div > div:nth-child(2) > div > table tr.item') | |
.map(function(idx, item){ | |
return { | |
'domain': $('td.domain-name.form > p:nth-child(2) > strong', item).text(), | |
'expiring': $('td.expiring > p > b', item).text() |
navigator.geolocation.getCurrentPosition(function(geopos){ | |
var coords = geopos.coords; | |
console.log('https://maps.google.com/?q='+coords.latitude+','+coords.longitude); | |
}); |
<!-- Example Usage --> | |
<div class="form-group col-sm-6"> | |
<label class="control-label">Link <sup class="alert-danger">*</sup></label> | |
<div ng-bind="item.url" onclick="selectAll(this);" class="form-control"></div> | |
</div> |
"use strict"; | |
const | |
assert = require('assert'), | |
request = require('request'), | |
config = require('../config'), | |
_ = ''; | |
const foursq = { |