Skip to content

Instantly share code, notes, and snippets.

View Ardakilic's full-sized avatar

Arda Kılıçdağı Ardakilic

View GitHub Profile
@Ardakilic
Ardakilic / nginx.conf
Created November 5, 2021 21:03 — forked from thoop/nginx.conf
Official prerender.io nginx.conf for nginx
# Change YOUR_TOKEN to your prerender token
# Change example.com (server_name) to your website url
# Change /path/to/your/root to the correct value
server {
listen 80;
server_name example.com;
root /path/to/your/root;
index index.html;
@Ardakilic
Ardakilic / firmware.md
Last active March 6, 2024 08:02
Domo Macropad birleştirme ve firmware kurulum dökümanı

Pro Micro'ya Firmware Yüklemek

Öncelikle QMK Firmware'i bilgisayarınıza kurmalısınız. Ben Linux ve macOS'te nasıl kurduğumu anlatayım:

cd $HOME
git clone --recurse-submodules [email protected]:qmk/qmk_firmware.git
cd qmk_firmware
make git-submodule
@Ardakilic
Ardakilic / php-pools.md
Created September 15, 2020 10:05 — forked from holmberd/php-pools.md
Adjusting child processes for PHP-FPM (Nginx)

Adjusting child processes for PHP-FPM (Nginx)

When setting these options consider the following:

  • How long is your average request?
  • What is the maximum number of simultaneous visitors the site(s) get?
  • How much memory on average does each child process consume?

Determine if the max_children limit has been reached.

  • sudo grep max_children /var/log/php?.?-fpm.log.1 /var/log/php?.?-fpm.log
@Ardakilic
Ardakilic / sonarr_symlink_script.sh
Created March 26, 2018 22:35
Sonarr symlink script
@Ardakilic
Ardakilic / nextcloud manuel kurulum.md
Created April 29, 2017 10:03
nextcloud manuel kurulum.md
@Ardakilic
Ardakilic / Google Translate Abbrevations.md
Created June 21, 2016 19:19
Google Translate Abbrevations

Google Translate

Abbreviation Language
af Afrikaans
ar Arabic
az Azerbaijani
be Belarusian
bg Bulgarian
@Ardakilic
Ardakilic / nginx-elasticsearch.conf
Last active June 19, 2016 15:39
elasticsearch served over nginx with proxy + Let's encrypt (certbot) for SSL
server {
listen 80;
server_name elasticsite.com;
access_log off;
error_log off;
# enforce https
return 301 https://$server_name$request_uri;
}
@Ardakilic
Ardakilic / SeoComposer.php
Created May 15, 2016 17:30
PHPKonf 2016 sunumu için, SEO composer örnek PHP Sınıfı (View Composer)
<?php namespace App\Composers;
/**
* @author Şerafettin Yarar <[email protected]>
* @web http://serafettin.net
*/
use Route;
use Illuminate\View\View;
@Ardakilic
Ardakilic / Yubikey SSH Key Windows intermediate fix commands.md
Last active March 27, 2016 13:08
Yubikey SSH Key Windows intermediate fix commands

#Yubikey (and Any Other Smartcard) SSH Connection shortcuts

In Windows envionment, not everything works out of the box especially about Yubikey. So you need to install additional tools and take additional steps.

Because of a bug, in Windows, when you unplug your smart card and re-plug, it may not run always.

These gists are simple batch commands to reset the state of gpg4Win to make your smart card available again with simple clicks, and without restarting your PC.

You may also want to create a new shortcut for gpg-connect-agent and run it on startup:

### Keybase proof
I hereby claim:
* I am ardakilic on github.
* I am arda (https://keybase.io/arda) on keybase.
* I have a public key whose fingerprint is 3C02 0B62 F05B C82D 9819 2ECC 7D5B 52F5 1FAF A649
To claim this, I am signing this object: