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 | |
/** | |
* @return int|string | |
*/ | |
function atama() | |
{ | |
$a = 5; | |
$a = 'deneme'; | |
echo $a; |
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
git clone ...git {folder} | |
cd folder | |
git pull | |
git status | |
git add -A |
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
#check ffmpeg first | |
sudo apt-add-repository ppa:jon-severinsson/ffmpeg | |
sudo apt-get update | |
sudo apt-get install ffmpeg -y | |
#install curl | |
sudo apt-get install curl -y | |
#install youtube-dl | |
sudo curl https://yt-dl.org/downloads/2014.12.17.2/youtube-dl -o /usr/local/bin/youtube-dl|chmot a+x $file | |
chmod 777 /usr/local/bin/youtube-dl | |
sudo chmod 777 /usr/local/bin/youtube-dl |
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
<html> | |
<meta charset="utf8"> | |
<head> | |
<title></title> | |
<style> | |
.container | |
{ | |
background: lightblue; | |
color:white; |
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
<!-- <html> | |
<head> | |
<meta charset="utf8"> | |
<title></title> | |
</head> | |
<body> | |
<header> | |
<nav> | |
<ul> | |
<li><a href="#">link1</a></li> |
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
<html> | |
<head> | |
<title>Başlığım</title> | |
<meta charset='utf8'> | |
</head> | |
<body> | |
<a href="#son">Son</a> | |
<h1 id="baslik">başlık1</h1> | |
<h2>başlık2</h2> |
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 -type f -name "*.php" | xargs grep "echo" |
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
sudo apt-get install gnome-tweak-tool -y | |
sudo sed -ri 's/DMZ-White/DMZ-Black/g' /usr/share/icons/default/index.theme |
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 python-software-properties | |
apt-add-repository ppa:chris-lea/node.js | |
apt-get update | |
apt-get install nodejs -y |
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 | |
$degisken = 5; | |
$degisken = 'c'; | |
$degisken = "d"; | |
$degisken = "5"; | |
echo "$degisken<br/>"; | |
//echo $degisken . "<br/>"; | |
echo '$degisken<br/>'; | |
$veri= array("kemal",array("05...","05...")); | |
if($degisken == 5) |