Skip to content

Instantly share code, notes, and snippets.

View siniradam's full-sized avatar
🌎
Digital Nomad

Atlas Koray siniradam

🌎
Digital Nomad
View GitHub Profile
@siniradam
siniradam / cloudAliases.md
Last active May 29, 2024 09:24
Useful Full-Stack Bash Aliases

Useful aliases for front-end & back end developers

By adding the lines below to your ~/.zshrc or ~/.bashrc you can use quick aliases to perform some firebase and aws commands.

GIT

# Undo last commit (If you haven't pushed)
alias gitz="git reset --soft HEAD~"
@siniradam
siniradam / whatisnostr.md
Last active December 29, 2022 20:57
Some basic information about NOSTR Protocol.

NOSTR ELI5

Explanation of NOSTR for all newbies.


What is NOSTR

Nostr is a protocol built on websockets.

It's consisting of 2 main components.

  • Relays - a server.
@siniradam
siniradam / Awesome-Nostr-Table.md
Last active July 21, 2023 23:33
Roughly every Nostr implmentation is here, pretty much same content on https://github.com/aljazceru/awesome-nostr/blob/main/README.md with languages in table format
Name Type Language Description Link
nostr Resource overview and FAQ
@siniradam
siniradam / liveserverOnDemand.md
Last active January 18, 2023 01:06
Tutorial for creating live server for any folder on macos.

How to create a live server for any folder on osx?

With this node package you can create a live server by just right clicking

Install Live-Server Package.

Assuming you alread have node installed; You need to install live-server package globally

npm install -g live-server

@siniradam
siniradam / turkeycities.json
Created February 9, 2023 21:06
Turkey's cities and districts
{
"provinces": [
{
"id": 1,
"name": "Adana",
"area": 13844,
"population": 2263373,
"areaCode": [
322
],
@siniradam
siniradam / GoogleMap.svelte
Created February 13, 2023 01:13
Google maps component for SvelteKit.
<script>
const dispatch = createEventDispatcher();
import { onMount } from 'svelte';
import { createEventDispatcher } from 'svelte';
//import mapStyles from './map-styles'; // optional
const key = '';
@siniradam
siniradam / VSCodeFileNesting.md
Last active May 5, 2023 18:27
You can group config files like a folder to declutter your vscode file explorer, here is my take for sveltekit.

VSCode File Nesting / File Grouping

If you go to your VSCode defaultSettings.json you'll see explorer.fileNesting.patterns key, turns out VSCode can group files based on some patterns.

Here is that section;

	// Controls nesting of files in the Explorer. `explorer.fileNesting.enabled` must be set for this to take effect. Each __Item__ represents a parent pattern and may contain a single `*` character that matches any string. Each __Value__ represents a comma separated list of the child patterns that should be shown nested under a given parent. Child patterns may contain several special tokens:
	// - `${capture}`: Matches the resolved value of the `*` from the parent pattern
	// - `${basename}`: Matches the parent file's basename, the `file` in `file.ts`
@siniradam
siniradam / bootable-sierra.md
Created January 7, 2025 01:04
MacOs Sierra Installation Drive

MacOs Sierra Installation Drive

If you are having problems to create an installation media for MacOs Sierra here is the solution

  • First you need to download installation, if you have DMG File, run the PKG in DMG Image.
  • This will copy your installation to your /Applications/ folder.
  1. This command will fix the installation to make your USB Drive
@siniradam
siniradam / amazon-cpu-boost.md
Last active June 4, 2025 16:01
CPU Benchmark widget for Amazon.com listings.

Creating CPU Benchmark Link in Amazon Listings

I originally wrote this code to some other website. Tweaked a bit to use on amazon.com as well. This (most of the time) finds the CPU name in the page and creates a direct link to cpubenchmark.net so you can see in-depth information about the CPU.

Right now I'm using this with arc's boost feature.

If amazon makes changes on their web page, it might not work or there might be layout related issues.

@siniradam
siniradam / youtube-boost.md
Last active June 4, 2025 15:57
Changing Youtube's thumbnail count per row

Fixing Youtube's 3 Item in a Row quirk

I was dealing with this weird youtube problem, on my huge display youtube displays 3 huge thumnails per row. In order to fix this you can use this css code below.

You can use this with something like tamper monkey, Stylebot, or like me ARC's Boost feature.

ytd-rich-grid-renderer {