Skip to content

Instantly share code, notes, and snippets.

View mertowitch's full-sized avatar
💯
Senior PHP Developer

Mertcan Ayhan mertowitch

💯
Senior PHP Developer
View GitHub Profile
@saltun
saltun / gist:439794ab032b7a894d91
Created April 29, 2014 19:53
PHP TC Kimlik Numarası Doğrulama
<meta charset="utf-8">
<?php
function tcno_dogrula($bilgiler){
$gonder = '<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<TCKimlikNoDogrula xmlns="http://tckimlik.nvi.gov.tr/WS">
<TCKimlikNo>'.$bilgiler["tcno"].'</TCKimlikNo>
<Ad>'.$bilgiler["isim"].'</Ad>
@xbeta
xbeta / README.md
Last active April 19, 2025 13:29
Macbook Pro Bluetooth + WiFi 2.4GHz interference fix for Mavericks
@Iman
Iman / clean.sh
Last active April 23, 2025 04:33
Free up disk space on Ubuntu - clean log, cache, archive packages/apt archives, orphaned packages, old kernel and remove the trash
#!/bin/sh
#Check the Drive Space Used by Cached Files
du -sh /var/cache/apt/archives
#Clean all the log file
#for logs in `find /var/log -type f`; do > $logs; done
logs=`find /var/log -type f`
for i in $logs
@xavierfoucrier
xavierfoucrier / gpg-signing.md
Last active April 24, 2025 11:07
GPG signing with Git and Github Desktop

GPG signing – git github-desktop

Here is a short guide that will help you setup your environment to create signed commits or signed tags with Git locally. This has been extensively tested on Windows with Git and the Github Desktop application: I use it every day for my professional development projects.

I you face any issue, feel free to leave a comment below.

Summary

  1. Sign commits or tags
  2. Key passphrase
  3. Disable signatures
  4. Renew a GPG key
This file has been truncated, but you can view the full file.
[
{
"name" : {
"common" : "Wallis and Futuna",
"official" : "Territory of the Wallis and Futuna Islands",
"nativeName": {
"fra": {
"official": "Territoire des îles Wallis et Futuna",
"common" : "Wallis et Futuna"
}