Skip to content

Instantly share code, notes, and snippets.

View kmrtylmz's full-sized avatar
👨‍💻

Mert Yılmaz kmrtylmz

👨‍💻
  • Turkey
View GitHub Profile
@kmrtylmz
kmrtylmz / list-of-curl-options.txt
Created November 9, 2024 03:01 — forked from eneko/list-of-curl-options.txt
List of `curl` options
$ curl --help
Usage: curl [options...] <url>
--abstract-unix-socket <path> Connect via abstract Unix domain socket
--alt-svc <file name> Enable alt-svc with this cache file
--anyauth Pick any authentication method
-a, --append Append to target file when uploading
--basic Use HTTP Basic Authentication
--cacert <file> CA certificate to verify peer against
--capath <dir> CA directory to verify peer against
-E, --cert <certificate[:password]> Client certificate file and password

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@kmrtylmz
kmrtylmz / index.html
Created May 9, 2024 17:45
oldschool toggeler in CSS3
<fieldset>
<div class='legend'><span>power switchs</span></div>
<div class='checkboxGroup'>
<label class='checkboxControl'>
<input type='checkbox' />
<div>ΟΙ</div><b></b>
<span class='indicator'></span>
</label>
<label class='checkboxControl'>
<input type='checkbox' />
@kmrtylmz
kmrtylmz / install_oci8_ubuntu20_php7.4.md
Created October 19, 2023 08:49 — forked from eSkiSo/install_oci8_ubuntu20_php7.4.md
Install OCI8 (Oracle) in Ubuntu 20 with PHP 7.4
@kmrtylmz
kmrtylmz / 0- install nodejs and redis.sh
Created August 19, 2023 22:50 — forked from moaalaa/0- install nodejs and redis.sh
How to run PM2 with laravel queue and laravel echo server
# Node Js
curl -sL https://rpm.nodesource.com/setup_14.x | sudo bash -
sudo yum install nodejs
node --version
npm --version
# Redis
@kmrtylmz
kmrtylmz / tcpdump cheat sheet
Created July 13, 2023 02:54 — forked from githubfoam/tcpdump cheat sheet
tcpdump cheat sheet
----------------------------------------------------------------------------------------------------
tcpdump -s 0 #capture entire etherner header and IP packet
tcpdump -ni tap55ec3c7f-91 ip6 #locate the ICMPv6 packets
tcpdump -s0 -n -i any -w /tmp/$(hostname)-smbtrace.pcap #if the SMB client or SMB server is a Unix host,Troubleshooting Server Message Block (SMB)
tcpdump -D #Print the list of the network interfaces available on the system and on which tcpdump can capture packet
tcpdump -X -vvv -n -i eth0
@kmrtylmz
kmrtylmz / .htaccess
Created March 16, 2023 07:31 — forked from nasrulhazim/.htaccess
Laravel .htaccess with Security & Optimisation
# Directory Listing
Options -Indexes
<IfModule mod_security.c>
# Server Information Disclosure
ServerTokens Prod
ServerSignature Off
SecServerSignature " "
</IfModule>
@kmrtylmz
kmrtylmz / pjsip.conf
Created November 24, 2022 08:47 — forked from pfactum/pjsip.conf
; === GLOBAL OPTIONS ===
[global]
type=global
keep_alive_interval=30
; === GENERIC TEMPLATES ===
[generic-endpoint](!)
type=endpoint
disallow=all
allow=g729,alaw
@kmrtylmz
kmrtylmz / html-head-boilerplate.html
Created September 19, 2022 14:22 — forked from nunosans/html-head-boilerplate.html
HTML Head Boilerplate & Reference
<!doctype html>
<html>
<head>
<!-- Priority tags. These must come first. -->
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge; chrome=1"> <!-- Render Chrome if available or using latest version of Internet Explorer (Recommended). -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<!-- Document Title -->
<title>Page Title</title>
<!-- Allows control over where resources are loaded from. Place as early in the document as possible, only applies to content below this tag. -->