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
{ | |
"responses": [ | |
{ | |
"textAnnotations": [ | |
{ | |
"locale": "gl", | |
"description": "xougl\nxoUg\ner.net\n", | |
"boundingPoly": { | |
"vertices": [ | |
{ |
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
<?php | |
$jsonData = file_get_contents('http://pastebin.com/raw/1u67Dk86'); | |
$result = json_decode($jsonData, true); | |
//print_r ($result); | |
echo $result['responses']['0']['textAnnotations']['0']['description']; | |
?> |
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
<VirtualHost *:80> | |
ServerAdmin your_email_address | |
ServerName domain1.net | |
ServerAlias www.domain1.net | |
DocumentRoot /var/www/domain1 | |
<Directory /> | |
Options FollowSymLinks | |
AllowOverride None | |
Require all granted |
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
<?php | |
/** | |
* IXR - The Incutio XML-RPC Library | |
* | |
* Copyright (c) 2010, Incutio Ltd. | |
* All rights reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions are met: | |
* |
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 | |
DEBIAN_FRONTEND=noninteractive sudo apt-get update | |
DEBIAN_FRONTEND=noninteractive sudo apt-get install apache2 mysql-server php libapache2-mod-php php-mcrypt php-mysql php-cli php-cgi php-curl php-gd -y |
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 | |
DEBIAN_FRONTEND=noninteractive sudo apt-get update | |
DEBIAN_FRONTEND=noninteractive sudo apt-get upgrade -y | |
DEBIAN_FRONTEND=noninteractive sudo apt-get install --no-install-recommends ubuntu-desktop gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal unzip -y | |
DEBIAN_FRONTEND=noninteractive sudo apt-get install ubuntu-restricted-extras -y | |
DEBIAN_FRONTEND=noninteractive sudo apt-get install vnc4server -y | |
vncserver :1 |
This file has been truncated, but you can view the full file.
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
SET FOREIGN_KEY_CHECKS=0; | |
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; | |
DROP TABLE IF EXISTS `db_province_data`; | |
DROP TABLE IF EXISTS `db_postal_code_data`; | |
-- -------------------------------------------------------- | |
-- Table structure for `db_province_data` | |
-- -------------------------------------------------------- |
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/sh | |
echo "First port used for proxy? Example 10000 " | |
read FIRST_PORT | |
echo "How many proxy do you want to create? Example 500" | |
read COUNT | |
IP4=$(curl -4 -s icanhazip.com) | |
IP6=$(curl -6 -s icanhazip.com | cut -f1-4 -d':') |
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 | |
#read -p "link file GZ : " linkgz | |
read -p "IP : " serverip | |
read -p "GATEWAY : " servergw | |
cat >/tmp/net.bat<<EOF | |
@ECHO OFF | |
cd.>%windir%\GetAdmin |
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 | |
for i in 1 2 3 4 5 | |
do | |
test="$(curl -m 6 icanhazip.com)" | |
if [[ -n $test ]]; then | |
logger "Koneksi normal" | |
else | |
logger "Koneksi hilang, merestart STL" |
OlderNewer