- Replacing the installed PHP with a custom compiled version with ZTS enabled (Pthreads requires it).
- Adding the Pthreads extension through PECL.
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
| apt-get install git build-essential libcurl3-gnutls libcurl4-gnutls-dev autoconf bison libxml2 libxml2-dbg libxml2-dev libxml2-doc libxml2-utils libxml2-utils-dbg libmemcached-dev libmcrypt-dev libcurl4-openssl-dev libgd2-xpm-dev libmysqlclient-dev zlib1g-dev libmongo-client-dev libssl1.0.0-dbg libssl-dev libssl-dev libgd2-xpm-dev libcurl3-openssl libcurl4-openssl-dev | |
| git clone https://github.com/php/php-src.git | |
| cd php-src | |
| git checkout PHP-7.0.4 | |
| cd ext | |
| git clone https://github.com/krakjoe/pthreads.git | |
| cd .. |
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 | |
| #--------------------------------------------------------------------- | |
| # crypt.sh | |
| # | |
| # basit cryptolama konsol aracı | |
| # | |
| # Script: crypt.sh | |
| # Version: 1.0.0 | |
| # Author: Yasin KARABULAK <yasinkarabulak@gmail.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 | |
| include "yaziyacevir.php" ; | |
| ?> | |
| <HTML> | |
| <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> | |
| <BODY> | |
| <form name="form" method="post" action=""> | |
| <input type="text" name="para" maxlength="15"> | |
| <input type="submit" name="Okut" value="Okut"> |
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
| Some possible implementations of the Bresenham Algorithms in C. | |
| The Bresenham line algorithm is an algorithm which determines which points in an | |
| n-dimensional raster should be plotted in order to form a close approximation | |
| to a straight line between two given points. | |
| It is commonly used to draw lines on a computer screen, as it uses only integer | |
| addition, subtraction and bit shifting, all of which are very cheap operations | |
| in standard computer architectures. | |
| It is one of the earliest algorithms developed in the field of computer graphics. | |
| A minor extension to the original algorithm also deals with drawing circles. |
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 | |
| /***************************************** | |
| * App : create / merge file chunks using php | |
| * File : file_chunks.php | |
| * Date : Wed Nov 28 16:40:42 +03 2018 | |
| * Version : 1.0.0 | |
| * Email : yasinkarabulak@gmail.com | |
| * | |
| * MIT License | |
| * Copyright (c) 2018 Yasin KARABULAK |
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
| #!/usr/bin/env bash | |
| if [ ! -z "$1" ] && [ ! -z $2 ]; then | |
| okunanKarakter=0 | |
| head=0 | |
| while read -n1 c; do | |
| asciNum=$(printf '%d' "'$c") |
mimeapps.list içine [Added Associations] altında bir satıra
aşağıdaki satırı ekle
x-scheme-handler/phpstorm=phpstorm-php.desktop
phpstorm-php.desktop içeriği
[Desktop Entry]
Type=Application
Name=PHPStorm IDE
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
| #!/usr/bin/env bash | |
| if [ -z "$1" ]; then | |
| # echo "Pick an element!" | |
| # exit | |
| baseElement="$PWD/" | |
| else | |
| baseElement="$1" | |
| fi |
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
| #!/usr/bin/env bash | |
| function getPhpVersion { | |
| PHPVERSION=$(php -r 'echo substr(phpversion(),0,3);') | |
| } | |
| getPhpVersion | |
| #~ echo $PHPVERSION | |
| #~ exit |