This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib2, json, re, requests, sys, urllib, subprocess | |
ab = re.compile("_url.*\"(.*)\"") | |
prefix = "/home/ahmad/Downloads/WHMF/" | |
for i in range(7,55): | |
for j in range(1,5): | |
url = "http://video66.org/embed.php?w=790&h=480&vid=vids3/what_happens_to_my_family_-_" + str(i) + "_clip" +str(j)+ ".mp4" | |
req = urllib2.Request(url, headers={ 'User-Agent': 'Mozilla/5.0' }) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kompleks? | |
estate | |
regency | |
perumahan | |
perum\.? | |
residences? | |
apartement? | |
apartment? | |
apt\. | |
apt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="container two"> | |
<div class="child"> | |
</div> | |
<div class="child"> | |
</div> | |
<div class="child"> | |
</div> | |
<div class="child"> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component, PropTypes } from 'react'; | |
import { | |
View, | |
ScrollView, | |
Image, | |
} from 'react-native'; | |
import { styles } from './styles'; | |
import { UIDropdown } from '../../../ui-dropdown'; | |
import { UIInputText } from '../../../ui-input-text'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { config } from '../config'; | |
import validator from 'is-my-json-valid'; | |
import cloneDeep from 'lodash/cloneDeep'; | |
const addAdditionalProperties = (schema) => { | |
if (schema.type === 'object') { | |
return Object.assign({}, schema, { | |
additionalProperties: false, | |
properties: Object.entries(schema.properties).reduce((acc, [key, value]) => { | |
if (value.type === 'object' || value.type === 'array') { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
. ../../bootstrap | |
PORT=$(basename "$(pwd)"|awk -F- '{print $2}') | |
BACKEND_PORT=$(basename "$(pwd)"|awk -F- '{print $3}') | |
TEMP_BASE_DIR=/var/tmp/${USER}-varnish-${PORT} | |
VARNISH_NAME=$TEMP_BASE_DIR | |
if [ ! -d "$TEMP_BASE_DIR" ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$$('button.js-details-target').forEach(function(element){element.click()}) |