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 | |
function getRemotePage($url){ | |
require_once(user_agents.inc.php"); | |
$user_agent = $rand_keys = array_rand($user_agents, 1); | |
$user_agent = $user_agents[$user_agent]; | |
$user_ip = long2ip(rand(0, "4294967295")); |
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 | |
$user_agents = array(); | |
$user_agents[] = 'Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/527 (KHTML, like Gecko, Safari/419.3) Arora/0.6 (Change: )'; | |
$user_agents[] = 'Avant Browser/1.2.789rel1 (http://www.avantbrowser.com)'; | |
$user_agents[] = 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.0 Safari/532.5'; | |
$user_agents[] = 'Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US) AppleWebKit/532.9 (KHTML, like Gecko) Chrome/5.0.310.0 Safari/532.9'; | |
$user_agents[] = 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.514.0 Safari/534.7'; | |
$user_agents[] = 'Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/534.14 (KHTML, like Gecko) Chrome/9.0.601.0 Safari/534.14'; |
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 | |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# | |
# heartbeat - 03/02/2014 - heartbeat.bash - v1.00 # | |
# ---------------------------------------------------------------------# | |
# This script checks some crucial LAMP server VARIABLES # | |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# | |
# TODO: - send email in case of error and SMS failure # | |
# - automatic servicies restarting (Web/Database/Mail**) # | |
# - slow mysql queries check # | |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# |
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
########## SSL Directives | |
ssl on; | |
ssl_certificate ssl-unified.crt; | |
ssl_certificate_key ssl.key; | |
# Diffie-Hellman parameter for DHE ciphersuites, recommended 2048 bits | |
ssl_dhparam dhparm.pem; | |
#ssl_session_cache shared:SSL:50m; | |
ssl_session_cache builtin:1000 shared:NginXSSl:10m; |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Pure Javascript CountDown</title> | |
<meta name="description" content="Pure Javascript CountDown"> | |
<meta name="author" content="FlopUp.Net"> | |
<style type="text/css"> |
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 | |
wget -q -O - https://mail.google.com/a/gmail.com/feed/atom --http-user=${1} --http-password="${2}" --no-check-certificate | grep -oP '(?<=<fullcount>).*?(?=</fullcount>)' |
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
#include <node.h> | |
#include <v8.h> | |
#include <stdio.h> | |
#include <X11/X.h> | |
#include <X11/Xlib.h> | |
#include <X11/Xutil.h> | |
using namespace node; | |
using namespace v8; |
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
{ | |
"targets": [{ | |
"target_name": "CutyCapt", | |
"sources": ["CutyCapt.cc"], | |
'conditions': [ | |
['OS=="linux"', { | |
'cflags': [ | |
'-fPIC', | |
'-std=c++11', | |
'<!@(pkg-config --cflags Qt5Core Qt5Svg Qt5WebKit Qt5WebKitWidgets Qt5Network)' |
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
#include <node.h> | |
#include <v8.h> | |
#include <stdio.h> | |
#include <time.h> | |
#include <errno.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <sys/types.h> |
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 | |
function ThreeDigitsInWords($Number){ | |
if ($Number == 0){ | |
return ""; | |
} | |
$InWords = ""; | |
$Units_Place = array("zero","one","two","three","four","five","six","seven","eight","nine"); | |
$Tens_Place = array(1=>"ten","twenty","thirty","forty","fifty","sixty","seventy","eighty","ninety"); |
OlderNewer