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/sh | |
FORCE=false | |
SLIENT=false | |
HELP=false | |
OPTS=`getopt -o fsh: --long force,slient,help` | |
if [ $? != 0 ] ; then echo "Failed parsing options." >&2 ; exit 1 ; fi |
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 | |
string1=$1 | |
string2=$2 | |
echo $string1 | |
echo $string2 |
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
# for use in npm scripts | |
npm install electron-packager --save-dev | |
# for use from cli | |
npm install electron-packager -g | |
#projenin olduğu yerde |
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 | |
echo "running" | |
apt-get update | |
apt-get install -y -qq apache2 | |
apt-get install -y -qq php7.0 | |
:>/etc/apache2/mods-available/dir.conf | |
echo "<IfModule mod_dir.c> |
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
ctrl+shift+u ... + enter | |
U+237B ⍻ NOT CHECK MARK | |
U+2611 ☑ BALLOT BOX WITH CHECK | |
U+2705 ✅ WHITE HEAVY CHECK MARK† | |
U+2713 ✓ CHECK MARK† | |
U+2714 ✔ HEAVY CHECK MARK† | |
U+2610 ☐ BALLOT BOX (checkbox) | |
U+2612 ☒ BALLOT BOX WITH X (square with cross) |
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
yüklemek icin: | |
sudo apt-get install postgresql postgresql-contrib | |
giris icin: (postgres adında default kullanıcı ile geliyor pass yok) | |
sudo -i -u postgres | |
psql | |
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
netstat -ntlp | |
kill that port : kill -9 xxxx | |
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 sendData(userId, url) { | |
$.ajax({ | |
type : "POST", | |
contentType : "application/json", | |
url : url, | |
data : userId, | |
dataType : 'json', | |
cache : false, | |
beforeSend: function() { | |
// loading vs |
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 exampleUseDatatables(tableId) { | |
newTable(tableId); | |
var data = []; //.. example get data with ajax | |
// ajax | |
// ... | |
//success : function(result) { | |
// reloadTableData(result, tableId); // result add table | |
//}, |
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
.center-container { | |
vertical-align: middle; | |
text-align: center; | |
} |
OlderNewer