brew install ios-webkit-debug-proxy
Run the simulator. And choose an iOS 10 device. The chrome remote debugging doesn't work with iOS 11 yet.
@echo off | |
set /p Y=Enter adb.exe folder path: | |
cd %Y% | |
adb devices | |
pause | |
for %%X in ( | |
"com.android.browser" | |
"com.android.chrome" | |
"com.android.email" | |
"com.android.thememanager" |
/* Popup */ | |
.popup-inner { | |
z-index: 999; | |
width: 350px; | |
padding: 10px; | |
position: fixed; | |
bottom: 0; | |
right: 0; | |
-webkit-transform: translate(-50%, -50%); | |
transform: translate(-50%, -50%); |
.popup-inner { | |
z-index: 999; | |
width: 350px; | |
padding: 10px; | |
position: fixed; | |
bottom: 0; | |
right: 0; | |
-webkit-transform: translate(-50%, -50%); | |
transform: translate(-50%, -50%); | |
box-shadow: 0 2px 6px rgba(0, 0, 0, 1); |
##API CHANGES | |
1. Add rule function : add | |
adds a rule into the current engine and does re sync internally | |
2. Store rule function : store | |
provides the stringified rules so that it can be preserved to DB. | |
3. Load rules function : load | |
feed the stringified rules via this function. Rules will get loaded and synced appropriately. |
var Req = require("request"); | |
var Q = require("q"); | |
var cheerio = require('cheerio'); | |
var FnGetHtml = function(url) { | |
var deferred = Q.defer(); | |
Req({ | |
uri: url, | |
method: "GET" |
<?php | |
include("../wp-config.php"); | |
header('Content-type: application/json;'); | |
//we collect all the posts in this array and encode at one point | |
$post_details_array = array(); | |
$latest_news_array = array(); | |
$cat_id=array(12,13,14); |
var a = {}; | |
a.a = a; | |
var i = 0; | |
(function inspect(a) { | |
if(a.hasOwnProperty('a')) { | |
console.log(++i); |
/** method 1 : no need to recreate array **/ | |
var u = [0,0,1,1,0,1,0,1,1,1,0,0,0]; | |
for(var i=0,j=u.length-1; i<j; i++,j--) { | |
if(u[i]==1 && u[j]==0) { | |
u[i] = 0; |
var b = {c:1}; | |
var a = [b,2,3]; | |
var c = a; | |
var d = b; | |
console.log("level 1"); | |
console.log(c); | |
console.log(d); | |
console.log(a); |