Skip to content

Instantly share code, notes, and snippets.

View dulgermuhammet's full-sized avatar
🏠
Working from home

Muhammet DÜLGER dulgermuhammet

🏠
Working from home
  • Turkey
View GitHub Profile
@dulgermuhammet
dulgermuhammet / README.md
Created March 6, 2024 21:01 — forked from vuon9/README.md
Powertoys - Keyboard Manager - Common macOS keys mapping

How to install

  • cd C:\Users\${username}\AppData\Local\Microsoft\PowerToys\Keyboard Manager
  • Backup file existing one of default.json
  • Download default.json and add it to the current folder

Mapped keys

key
Esc
@dulgermuhammet
dulgermuhammet / download_hls_stream.txt
Created February 19, 2024 22:46 — forked from vahidd/download_hls_stream.txt
How to download HLS streams
Take the following steps:
1- First install ffmpeg with brew:
$ brew install ffmpeg
2- Then run the following command:
$ ffmpeg -i "HLS STREAM URL" -c copy -bsf:a aac_adtstoasc output.mp4
(don't forgot to replace "HLS STREAM URL" with your stream URL and also double quote the url)
@dulgermuhammet
dulgermuhammet / update-outdated-brew-casks.sh
Created December 31, 2023 00:44 — forked from christopheranderton/update-outdated-brew-casks.sh
Upgrade outdated brew casks. One liner, and the ”official” way to do it without using different hacks or scripts. However, it does not really replace some scripts out there, as in-app updates is not seen by Homebrew.
# Upgrade / Update outdated casks installed.
# --------------------------------------------------------------------------------
# Looks for outdated casks and installs the the latest version.
# User data (like application preferences) is intact.
# Updated one liner (thanks Henrik242)
# --------------------------------------------------------------------------------
brew upgrade $(brew outdated --cask --greedy --quiet)
@dulgermuhammet
dulgermuhammet / package.json
Created December 2, 2022 16:43
Extending the WordPress Create Block Script webpack Config
{
"name": "plugin-slug",
"version": "0.1.0",
"description": "Plugin Description",
"author": "The WordPress Contributors",
"license": "GPL-2.0-or-later",
"main": "build/index.js",
"scripts": {
"build": "wp-scripts build",
"lint:css": "wp-scripts lint-style",