id | name |
---|---|
3 | Linux |
4 | Nintendo 64 |
5 | Wii |
6 | PC (Microsoft Windows) |
7 | PlayStation |
8 | PlayStation 2 |
9 | PlayStation 3 |
11 | Xbox |
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
#user nobody; | |
worker_processes 1; | |
error_log logs/rtmp_error.log debug; | |
pid logs/nginx.pid; |
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
<?xml version="1.0"?> | |
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd"> | |
<cross-domain-policy> | |
<allow-access-from domain="*"/> | |
</cross-domain-policy> |
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
server { | |
server_name test24.company.io; | |
index index.html; | |
root /home/ubuntu/project-source/company/entry; | |
location / { | |
root /home/ubuntu/project-source/company/entry; | |
} |
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 | |
$mysqli = new mysqli('localhost','user','password','myDatabaseName'); | |
$myArray = array(); | |
if ($result = $mysqli->query("SELECT * FROM tableName")) { | |
while($row = $result->fetch_array(1)) { | |
$myArray[] = $row; | |
} |
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
# This is The best Solution I found. forked from original code writer | |
# Udacity's Intro to Programming Nanodegree. | |
# Original problem statement: | |
# Given your birthday and the current date, calculate your age | |
# in days. Compensate for leap days. Assume that the birthday | |
# and current date are correct dates. | |
# Simply put, if you were born 1 Jan 2012 and todays date is | |
# 2 Jan 2012 you are 1 day old. |
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
[{"id":1838,"name":"Painkiller: Redemption","slug":"painkiller-redemption","url":"https://www.igdb.com/games/painkiller-redemption","created_at":1355576743041,"updated_at":1541854139763,"summary":"Painkiller – Redemption continues the story of Daniel and Belial as they joined forces for the first time to end the bloody conflict between heaven and hell. You will discover all new maps, fight off literally thousands of demonic fiends, and lose yourself in the intense gameplay rounded off with an absorbing heavy metalsoundtrack. \n \nThe newest addon brings the Painkiller franchise back to its roots. Breathtaking action, thousands of monsters and exotic weapons are a solid foundation for a Painkiller game. \n \nThe game also features a tactical component; while reaching your objectives in each level, you unlock Tarot Cards, which will soon prove to be very helpful. In additional to that, collecting souls of fallen enemies will temporarily transform you into a mighty demon.","collection":236,"rating":40.0,"popular |
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
server { | |
listen 80 default_server; | |
server_name *.*; | |
client_body_timeout 5s; | |
client_header_timeout 5s; | |
location / { | |
proxy_set_header Host $host; | |
proxy_pass http://00.00.00.00/; #replace with upstream ip | |
} |
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 | |
include "simple_html_dom.php"; | |
$ch = curl_init(); | |
curl_setopt($ch, CURLOPT_URL, "https://jdwel.com/today-matches/"); | |
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); | |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); | |
curl_setopt($ch, CURLOPT_HEADER, false); | |
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); | |
$agent= 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36'; |
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 | |
// add these lines on the top of the file wp-config.php | |
define('WP_SITEURL', 'https://aasmouha.com'); | |
define('WP_HOME', 'https://aasmouha.com'); | |
define('FORCE_SSL_ADMIN', true); | |
define('FORCE_SSL_LOGIN', true); | |
if( isset($_SERVER['HTTP_CF_VISITOR']) && strpos($_SERVER['HTTP_CF_VISITOR'], 'https') ) | |
$_SERVER['HTTPS']='on'; | |
php?> |
OlderNewer