This file contains hidden or 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
find /home/admin/web/mysite.com/public_html/ -type f -exec chmod 664 {} \; | |
find /home/admin/web/mysite.com/public_html/ -type f -exec chmod 755 {} \; | |
chgrp -R admin /home/admin/web/mysite.com/public_html/ | |
chown -R admin:admin /home/admin/web |
This file contains hidden or 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
# -*- coding: utf8 -*- | |
import time | |
import json | |
import random | |
import platform | |
from datetime import datetime | |
import requests | |
from selenium import webdriver |
This file contains hidden or 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 | |
# Vesta installation wrapper | |
# http://vestacp.com | |
# | |
# Currently Supported Operating Systems: | |
# | |
# RHEL 5, 6, 7 | |
# CentOS 5, 6, 7 | |
# Debian 7, 8 |
This file contains hidden or 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 id="singleItems" class="d-lfex justify-content-center flex-column"> | |
<script id="singleItemsTpl" type="text/x-handlebars-template"> | |
<div class="name_container"> | |
<div class="name-">{{data.first_name}} {{data.last_name}} </div> | |
</div> | |
<div class="address"><strong>Mail:</strong> {{data.email}} </div> | |
web site | |
<hr> | |
<div class="address">{{support.url}} </div> |
This file contains hidden or 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
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"io" | |
"io/ioutil" | |
"log" | |
"os" | |
"runtime" |
This file contains hidden or 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
package main | |
import ( | |
"fmt" | |
) | |
type Item struct{ | |
Id int | |
Name string | |
Qty int |
This file contains hidden or 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 | |
private function creditcard_callback($postParams, $action = "") | |
{ | |
$strMDStatus = isset($this->mdStatuses[$postParams["mdstatus"]]) ? $postParams["mdstatus"] : 7; // 7=Sistem hatası | |
if ($action == "success" && in_array($strMDStatus, array(1, 2, 3, 4))) { | |
// Tam Doğrulama, Kart Sahibi veya bankası sisteme kayıtlı değil, Kartın bankası sisteme kayıtlı değil, Kart sahibi sisteme daha sonra kayıt olmayı seçmiş cevaplarını alan işlemler için provizyon almaya çalışıyoruz | |
$strNumber = ""; // Kart bilgilerinin boş gitmesi gerekiyor | |
$strExpireDate = ""; // Kart bilgilerinin boş gitmesi gerekiyor | |
$strCVV2 = ""; // Kart bilgilerinin boş gitmesi gerekiyor |
This file contains hidden or 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 | |
/* | |
Plugin Name: Front End Registration and Login | |
Plugin URI: https://pippinsplugins.com/creating-custom-front-end-registration-and-login-forms | |
Description: Provides simple front end registration and login forms | |
Version: 1.0 | |
Author: Pippin Williamson | |
Author URI: https://pippinsplugins.com | |
*/ |
This file contains hidden or 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 | |
/* | |
Plugin Name: Custom List Table Example | |
Plugin URI: http://www.mattvanandel.com/ | |
Description: A highly documented plugin that demonstrates how to create custom List Tables using official WordPress APIs. | |
Version: 1.4.1 | |
Author: Matt van Andel | |
Author URI: http://www.mattvanandel.com | |
License: GPL2 | |
*/ |
This file contains hidden or 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
<!-- | |
Rewrites requires Microsoft URL Rewrite Module for IIS | |
Download: https://www.microsoft.com/en-us/download/details.aspx?id=47337 | |
Debug Help: https://docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/using-failed-request-tracing-to-trace-rewrite-rules | |
--> | |
<configuration> | |
<system.webServer> | |
<rewrite> | |
<rules> | |
<rule name="Imported Rule 1" stopProcessing="true"> |