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 | |
set -e | |
if [[ -z "$1" ]]; | |
then | |
echo "Please enter a website url" | |
exit 1 | |
else | |
if [[ -z "$2" ]]; |
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
Final benchmark results, sorted by nameserver performance: | |
(average cached name retrieval speed, fastest to slowest) | |
192.168. 0. 15 | Min | Avg | Max |Std.Dev|Reliab%| | |
----------------+-------+-------+-------+-------+-------+ | |
+ Cached Name | 0,001 | 0,003 | 0,062 | 0,009 | 100,0 | | |
+ Uncached Name | 0,060 | 0,117 | 0,305 | 0,077 | 100,0 | | |
+ DotCom Lookup | 0,062 | 0,070 | 0,085 | 0,005 | 100,0 | | |
---<-------->---+-------+-------+-------+-------+-------+ | |
GatewayPi |
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
shred —verbose —random-source=/dev/zero —iterations=5 /dev/sda |
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
rewrite ^(.*).html$ https://xxxxx.com/$2(.*) permanent; | |
rewrite ^(/.+)\.html$ $1 permanent; |
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
Telefon Numarası Regex // Phone Number | |
@"^(0[1-9](\d{2}) (\d{3}) (\d{2}) (\d{2}))$ | |
Mail Adresi Regex //E-Mail Adress | |
@"^\w+[\w-\.]*\@\w+((-\w+)|(\w*))\.[a-z]{2,3}$" | |
Tarih Formatı Regex //Date | |
@"(((0[1-9]|[12][0-9]|3[01])([/])(0[13578]|10|12)([/])([1-2][0,9][0-9][0-9]))|(([0][1-9]|[12][0-9]|30)([/])(0[469]|11)([/])([1-2][0,9][0-9][0-9]))|((0[1-9]|1[0-9]|2[0-8])([/])(02)([/])([1-2][0,9][0-9][0-9]))|((29)(\.|-|\/)(02)([/])([02468][048]00))|((29)([/])(02)([/])([13579][26]00))|((29)([/])(02)([/])([0-9][0-9][0][48]))|((29)([/])(02)([/])([0-9][0-9][2468][048]))|((29)([/])(02)([/])([0-9][0-9][13579][26])))") | |
Sadece Rakam Girişine İzin Veren Regex // Only Number |
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
create database database_name; | |
CREATE USER 'database_user'@'localhost' IDENTIFIED BY 'database_password'; | |
GRANT ALL PRIVILEGES ON * . * TO 'database_user'@'localhost'; | |
FLUSH PRIVILEGES; | |
exit |
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
function rm(a) { | |
var p = document.getElementById(a); | |
imgtag = ""; | |
ifrtag = ""; | |
ifrsrc = ""; | |
ifrtb = -1; | |
img = p.getElementsByTagName("img"); | |
ifr = p.getElementsByTagName("iframe"); | |
for (var i = 0; i < ifr.length; i++) { | |
ifrsrc = ifr[i].src; |
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
**LOG_DETAIL** retrieved from /usr/local/lsws/phpbuild/buildphp_1547140176.3.log | |
============================================== | |
Start building PHP 7.2.12 with LSAPI | |
============================================== | |
Thu Jan 10 18:11:23 CET 2019 | |
Changing to build directory /usr/local/lsws/phpbuild/php-7.2.12 | |
Configuring PHP build (2-3 minutes) |
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
remove_action('wp_head', 'rsd_link'); | |
remove_action('wp_head', 'wp_generator'); | |
remove_action('wp_head', 'feed_links', 2); | |
remove_action('wp_head', 'feed_links_extra', 3); | |
remove_action('wp_head', 'index_rel_link'); | |
remove_action('wp_head', 'wlwmanifest_link'); | |
remove_action('wp_head', 'start_post_rel_link', 10, 0); | |
remove_action('wp_head', 'parent_post_rel_link', 10, 0); | |
remove_action('wp_head', 'adjacent_posts_rel_link', 10, 0); | |
remove_action('wp_head', 'adjacent_posts_rel_link_wp_head', 10, 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
import sys | |
def mod(sayilar): | |
try: | |
en_yuksek = 0 | |
for s in sayilar: | |
if sayilar.count(s) > sayilar.count(en_yuksek): | |
en_yuksek = s | |
return en_yuksek |
OlderNewer