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
[ | |
{ | |
"title": "Avustralya Grand Prix", | |
"location": "Melbourne, Avustralya", | |
"lat": -37.8136, | |
"lng": 144.9631, | |
"startAt": "2025-03-14T00:00:00Z", | |
"endAt": "2025-03-16T23:59:59Z" | |
}, | |
{ |
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
{ | |
"Yeni Yıl": { | |
"startAt": "2025-01-01 00:00:00", | |
"endAt": "2025-01-01 23:59:59", | |
"description": "Yeni yılınız kutlu olsun! Atatürk'ün ilke ve inkılapları doğrultusunda, yeni yılınızın sağlık, mutluluk ve başarılarla dolu geçmesini temenni ederiz. Hayvan dostlarımızı, doğayı ve toplumsal değerlerimizi korumaya özen gösterelim. Türk toplumunun tüm güzelliklerini yaşatarak, barış ve huzur içinde bir yıl geçirelim. Mutlu yıllar!" | |
}, | |
"Regaib Kandili": { | |
"startAt": "2025-01-02 00:00:00", | |
"endAt": "2025-01-02 23:59:59", | |
"description": "Regaib Kandiliniz mübarek olsun! Bu mübarek gecede dualarımızın kabul olması dileğiyle, barış ve huzur dolu bir Türkiye için dualar edelim. İyi kandiller!" |
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
<?php | |
if($_FILES["followers"]){ | |
$followers_json = file_get_contents($_FILES["followers"]["tmp_name"]); | |
$followers_json = json_decode($followers_json,true); | |
$following_json = file_get_contents($_FILES["following"]["tmp_name"]); | |
$following_json = json_decode($following_json,true); |
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
{"Adana":{"Ağız, Diş ve Çene Cerrahisi":["ADANA FATMA KEMAL TİMUÇİN AĞIZ VE DİŞ SAĞLIĞI HASTANESİ","ADANA YÜREĞİR KARŞIYAKA AĞIZ VE DİŞ SAĞLIĞI HASTANESİ"],"Aile Hekimliği":["ADANA ALADAĞ İLÇE DEVLET HASTANESİ","ADANA CEYHAN DEVLET HASTANESİ","ADANA DR. EKREM TOK RUH SAĞLIĞI VE HASTALIKLARI HASTANESİ","ADANA İMAMOĞLU DEVLET HASTANESİ","ADANA KARAİSALI DEVLET HASTANESİ","ADANA KOZAN DEVLET HASTANESİ","ADANA SEYHAN DEVLET HASTANESİ","ADANA ŞEHİR HASTANESİ","ADANA TUFANBEYLİ DEVLET HASTANESİ","ADANA YÜREĞİR DEVLET HASTANESİ"],"Algoloji":["ADANA ŞEHİR HASTANESİ"],"Amatem (Alkol ve Madde Bağımlılığı)":["ADANA DR. EKREM TOK RUH SAĞLIĞI VE HASTALIKLARI HASTANESİ"],"Anesteziyoloji ve Reanimasyon":["ADANA CEYHAN DEVLET HASTANESİ","ADANA ÇUKUROVA DEVLET HASTANESİ","ADANA DR. EKREM TOK RUH SAĞLIĞI VE HASTALIKLARI HASTANESİ","ADANA FATMA KEMAL TİMUÇİN AĞIZ VE DİŞ SAĞLIĞI HASTANESİ","ADANA İMAMOĞLU DEVLET HASTANESİ","ADANA KARAİSALI DEVLET HASTANESİ","ADANA KOZAN DEVLET HASTANESİ","ADANA SEYHAN DEVLET HASTANESİ","ADANA TU |
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
//php | |
if(isset($_FILES["upload"])){ | |
$ext = ".".end((explode(".", $_FILES["upload"]["name"]))); | |
$filename="test"; | |
$file_public_addr =yourlocaladdr.$filename.$ext; | |
$success=move_uploaded_file($_FILES["upload"]["tmp_name"],SYS_EXT.$file_public_addr); | |
if( $success){ | |
$json["uploaded"]=true; |
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
<?php | |
class jsonaddModel | |
{ | |
private $arr; | |
public function __construct(){ | |
$this->arr=[]; | |
} | |
public function add($key,$value){ | |
$tmp=$this->arr; |
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
<?php | |
/* | |
. | |
$dbmodel=new DatabaseModel; | |
$this->db=$dbmodel->connect(); | |
insert | |
$result=$this->db->insert("etkinlik")->add("baslik","baslik")->add("icerik","icerik")->add("seo","seo-adresi")->exec(); |
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
<html> | |
<head> | |
<script src="https://api-maps.yandex.ru/2.1/?lang=tr_TR" type="text/javascript"></script> | |
</head> | |
<body> | |
<div id="map" style="width: 100%; height: 850px; border:0px; margin:-9px;"></div> | |
<script type="text/javascript"> | |
ymaps.ready(function () { | |
var myMap = new ymaps.Map('map', {center: [38.873928, 35.397949],zoom: 7}), |
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
### Serkan Özdemir | |
### 30.07.2018 | |
### Kullanım; | |
### <script> //<remoteipadress>/<sharedfoldername> <linuxmountfolder> <username> <password> | |
### sh ./mountwindir.sh //10.10.10.10/sharedfolder /mnt/test <username> <password> | |
### Eğer şifre girilmez ise soracaktır. If password not entered, asked next steps. | |
#!/bin/bash | |
remote=$1 | |
local=$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
mount -t cifs //<windowsip>/<windowssharedfoldername> /<mountingpathinlinux> -o username=<hostname>/<username> -o password=<password> | |
mount -t cifs //10.10.10.10/test /mnt/windir -o username=workgroup/admin -o password=1234asd- |
NewerOlder