Skip to content

Instantly share code, notes, and snippets.

View fatihyildizhan's full-sized avatar
🎯
Focusing

Fatih YILDIZHAN fatihyildizhan

🎯
Focusing
View GitHub Profile
@co3moz
co3moz / list.txt
Last active March 29, 2023 10:09
stargate sg-1 episode skip or not list
A) just-skip
B) crappy episode
C) maybe watch or just skip all
D) maybe watch or skip some parts
E) non-important episode but not bad one
F) important episode but skipping is sometimes required
1.3rd / S1E4 (A)
1.5th / S1E6 (C, god-dilemma stuff)
1.15th / S1E16 (C, trial stuff)
@ozgurshn
ozgurshn / SwiftUIPaywall.swift
Last active March 9, 2023 08:46
Swift UI Wrapper for RevenueCat's Swift Paywall
//
// SwiftUIPaywall.swift
// PhotoText
//
// Created by Ozgur Sahin on 8/27/20.
// Copyright © 2020 com.ozgur. All rights reserved.
//
import SwiftUI
import Purchases
@fatihyildizhan
fatihyildizhan / traefikv2-gzip-compression.txt
Last active October 4, 2023 13:51
Traefik v2 - How to enable gzip compression
### Traefik v2 docker-compose.yml
version: '3.7'
services:
traefik:
image: traefik:v2.2.7
container_name: traefik
labels:
@fatihyildizhan
fatihyildizhan / Docker 23 + Traefik 2.9.10 and v1.7 + Let's Encrypt + Github Registry V2 ghcr.io + Updated on 12 April 2023
Last active August 29, 2024 13:19
Docker 23 + Traefik 2.9.10 and v1.7 + Let's Encrypt + Github Registry V2 ghcr.io + Updated on 12 April 2023
Docker 23 + Traefik v2.9.10 and v1.7 + Let's Encrypt + Github Registry V2 ghcr.io + Updated on 12 April 2023
Content:
- Ubuntu 22.04
- Docker Engine 23.0.3
- Docker Compose 2.17.2
- Traefik v1.7.18 with dnsChallenge
- Traefik v2.9.9 with httpChallenge
--
- Github Registry V2 ghcr.io
drc-cli stop
sleep 1
rm -r .drccore
drcd -daemon
echo "step 5: sleep"
for i in {10..1}
do
echo "Waiting! Remaining ${i}s";
sleep 1
done
@gokselpirnal
gokselpirnal / gang.js
Last active April 27, 2020 18:30
thecrims-bot
var getRobberies = function(done){
console.log('%c Soygun seçiliyor.','background: black; color: white')
$.ajax({
type: "GET",
url: 'https://www.thecrims.com/api/v1/robberies',
success: function(res){
done(res.single_robberies
.filter(robbery => robbery.successprobability == 100)
.sort((a, b) => b.difficulty - a.difficulty)
.find((x, index) => index == 0))
@amimaro
amimaro / BulmaToggleModal
Last active July 29, 2024 14:04
Toggle Bulma Modal with Angular 5
Toggle Bulma Modal with Angular 5
@ozlerhakan
ozlerhakan / docker-kurulumu.adoc
Last active September 7, 2022 14:54
Docker Kurulum Adımları

Docker Kurulumu

Linux

Linux dağıtımlarında Docker kullanma noktasında aşağıdaki uygun dağıtımın docker dokümantasyonunu takip ederek kurma ve çalıştırma işlemini gerçekleştirebilirsiniz. Linux dağıtımlarının Docker CE bağlantıları:

@sheharyarn
sheharyarn / request.js
Last active August 24, 2023 14:55
Axios Request Wrapper for React (https://to.shyr.io/axios-requests)
/**
* Axios Request Wrapper
* ---------------------
*
* @author Sheharyar Naseer (@sheharyarn)
* @license MIT
*
*/
import axios from 'axios'
@samdods
samdods / UIView+NibLoading.swift
Last active July 31, 2018 21:07
This is the best way I've found to instantiate a view from a nib in Swift.
//
// UIView+NibLoading.swift
// Sam Dods on 29/10/2015.
//
import UIKit
/// Protocol to be extended with implementations
protocol UIViewLoading {}