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
const express = require('express'), | |
router = express.Router(), | |
favicon = require('serve-favicon'), | |
logger = require('morgan'), | |
cookieParser = require('cookie-parser'), | |
bodyParser = require('body-parser'), | |
//..... | |
validationUtils = require('./utils/validationUtils'); | |
const app = express(); |
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
<ItemGroup> | |
<!-- --> | |
<!--This is where to include / exclude source code files--> | |
<Compile Include="..\_Src\**\*.*" Exclude="..\_Src\Properties\AssemblyInfo.cs;..\_Src\bin\**\*.*;..\_Src\obj\**\*.*;..\_Src\**\*.csproj;..\_Src\**\*.user;..\_Src\**\*.vstemplate;..\_Src\readme.txt;..\_Src\**\*.lsp;..\_Src\**\*.scr"> | |
<Link>Src\%(RecursiveDir)%(Filename)%(Extension)</Link> | |
</Compile> | |
<Compile Include="Properties\AssemblyInfo.cs" /> | |
</ItemGroup> | |
http://stackoverflow.com/questions/1116465/how-do-you-share-code-between-projects-solutions-in-visual-studio |
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
$sehir_kodu = "2344116"; // İstanbul | |
$url = "http://weather.yahooapis.com/forecastrss?w=".$sehir_kodu."&u=c"; | |
$feed = file_get_contents($url); | |
preg_match('@<yweather:condition text="(.*?)" code="(.*?)" temp="(.*?)" date="(.*?)" />@', $feed, $suan_hava); | |
preg_match_all('/<img src="(.*)"\/>/Usi', $feed, $img); | |
$Suan_Hava_Sicakligi = $suan_hava[3]; | |
$Suan_Hava_Ikon_Kodu = $suan_hava[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
wget --header="Accept: text/html" --user-agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:21.0) Gecko/20100101 Firefox/21.0" --referer google.com --level=1 -r -p -k -np -H -N --adjust-extension --no-clobber -e robots=off http://www.website-to-download.com/ |
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
# textedit | |
alias te='open /applications/textedit.app' | |
# | |
# Colors colors colors | |
#alias ls='ls --color=always' | |
alias ls='ls -G' |
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
RED="\[\033[0;31m\]" | |
YELLOW="\[\033[0;33m\]" | |
GREEN="\[\033[0;32m\]" | |
NO_COLOR="\[\033[0m\]" | |
GRAY="\[\033[38;5;250m\]" | |
PS1=" \[$(tput bold)\]\[$(tput sgr0)\]$YELLOW\u\[$(tput sgr0)\]\[$(tput sgr0)\]\[\033[38;5;15m\]@\h: \[$(tput sgr0)\]$GRAY\w\[$(tput sgr0)\]\[\033[38;5;15m\] \\$ \[$(tput sgr0)\]" | |
# Add git branch if its present to PS1 |
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
/* | |
Target Server Type : MYSQL | |
Target Server Version : 50505 | |
File Encoding : 65001 | |
Date: 2015-03-05 14:23:53 | |
*/ | |
SET FOREIGN_KEY_CHECKS=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
/* | |
Türkiye İl ve İlçelerin enlem boylam bilgileri (dörtgen olarak sınır pozisyonlarıyla birlikte) kaynak : google maps (başarsoft) | |
twitter : http://twitter.com/tserpico | |
*/ | |
DROP TABLE IF EXISTS `pk_il`; | |
CREATE TABLE `pk_il` ( | |
`il_id` int(2) NOT NULL COMMENT 'plaka kodu', | |
`il_adi` varchar(255) NOT NULL, | |
`lat` double(20,8) DEFAULT NULL COMMENT 'enlem', |
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 TABLE `vergi_daireleri` ( | |
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, | |
`plaka` varchar(3) COLLATE utf8_unicode_ci DEFAULT NULL, | |
`il` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL, | |
`ilce` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL, | |
`daire` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci | |
INSERT INTO vergi_daireleri (id, plaka, il, ilce, daire) VALUES (1, '01', 'ADANA', 'Merkez', '5 Ocak Vergi Dairesi Müdürlüğü'); |