Abbreviation | Language |
---|---|
af | Afrikaans |
ar | Arabic |
az | Azerbaijani |
be | Belarusian |
bg | Bulgarian |
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 namespace App\Composers; | |
/** | |
* @author Şerafettin Yarar <serafettin@serafettin.net> | |
* @web http://serafettin.net | |
*/ | |
use Route; | |
use Illuminate\View\View; |
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
server { | |
listen 80; | |
server_name elasticsite.com; | |
access_log off; | |
error_log off; | |
# enforce https | |
return 301 https://$server_name$request_uri; | |
} |
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 | |
# Based on instructions found here: http://wiki.razuna.com/display/ecp/FFMpeg+Installation+on+CentOS+and+RedHat#FFMpegInstallationonCentOSandRedHat-InstallX264 | |
if [ "`/usr/bin/whoami`" != "root" ]; then | |
echo "You need to execute this script as root." | |
exit 1 | |
fi | |
cat > /etc/yum.repos.d/centos.repo<<EOF |
- http://deb.sury.org 'dan php7.1 paketini alıyorum
- https://downloads.mariadb.org/mariadb/repositories/ mariadb stable alıyorum
- https://www.dotdeb.org/ dan güncel redis ve nginx'i alıyorum
- https://launchpad.net/~ondrej/+archive/ubuntu/php php7.1 burdan
- https://downloads.mariadb.org/mariadb/repositories/ mariadb stable alıyorum
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 | |
# Sonarr symlink post-process script | |
# Based on https://github.com/Sonarr/Sonarr/issues/967#issuecomment-228599878 | |
# With some tint modifications | |
# make syre Logs folder and file exists | |
LOGFILE="/opt/NzbDrone/Logs/sonarrsymlink.log" | |
PERMPATH="$sonarr_episodefile_path" | |
SOURCEPATH="$sonarr_episodefile_sourcepath" |
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?
sudo grep max_children /var/log/php?.?-fpm.log.1 /var/log/php?.?-fpm.log
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# by Texy and the raspberry pi community | |
# bitmap display routine by POSitality | |
# this version using the SPI pins, but not | |
# using spidev | |
# 19/1/2013 | |
import time | |
import wiringpi |
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
# 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; |
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
version: '3.9' | |
services: | |
# https://blog.thelazyfox.xyz/setup-swag-to-safely-expose-your-self-hosted-applications-to-the-internet/ | |
# populate swag/config/dns-conf/cloudflare.ini . Token does not work, global api worked ? | |
# https://github.com/linuxserver/reverse-proxy-confs/blob/master/vaultwarden.subdomain.conf.sample | |
# 2022-09-08 installed | |
swag: | |
image: lscr.io/linuxserver/swag:latest | |
container_name: swag |