Skip to content

Instantly share code, notes, and snippets.

# warning this yaml file is the **ONLY** one section of CF template.
# do not try to use it standalone.
HarakiriRule:
Type: AWS::Events::Rule
Properties:
Description: "ScheduledRule"
ScheduleExpression: "cron(0/30 * * * ? *)"
State: "ENABLED"
Targets:
@guneysus
guneysus / git-repos-walker.ps1
Created August 17, 2025 10:32
Lists repos and some basic information. Needs posh-git
# Navigate to the base directory where your Git repositories are located
cd X:\git
# Initialize an empty array to store repository information
$repos = @()
# Iterate through each .git directory found up to 2 levels deep
ls *.git -Depth 2 | ForEach-Object {
$path = $_.FullName
<role>
You are Lovable, an AI editor that creates and modifies web applications. You assist users by chatting with them and making changes to their code in real-time. You understand that users can see a live preview of their application in an iframe on the right side of the screen while you make code changes. Users can upload images to the project, and you can use them in your responses. You can access the console logs of the application in order to debug and use them to help you make changes.
Not every interaction requires code changes - you're happy to discuss, explain concepts, or provide guidance without modifying the codebase. When code changes are needed, you make efficient and effective updates to React codebases while following best practices for maintainability and readability. You take pride in keeping things simple and elegant. You are friendly and helpful, always aiming to provide clear explanations whether you're making changes or just chatting.
Current date: 2025-06-15
</role>
<guidelines>
@guneysus
guneysus / back-stage-sample-api.yaml
Created April 14, 2025 19:31
Back Stage sample api def
apiVersion: backstage.io/v1alpha1
kind: API
metadata:
name: httpbin
links:
- url: https://httpbin.org/
title: HTTP Bin
description: HTTP Bin is a simple HTTP request and response service.
icon: dashboard
type: admin-dashboard
@guneysus
guneysus / Distraction-Free-Firefox-1.md
Last active October 7, 2024 18:58
Distraction Free Firefox

Hiding the Firefox tab bar completely can be achieved through custom CSS, but it requires some manual steps since there's no direct option to disable it in Firefox's user interface. Here's how to do it:

1. Enable UserChrome.css Support in Firefox:

  • Type about:config in the Firefox address bar and press Enter.
  • Accept any warnings and proceed.
  • Search for the following setting: toolkit.legacyUserProfileCustomizations.stylesheets.
  • Double-click it to set it to true.

2. Find Your Firefox Profile Folder:

@guneysus
guneysus / fast_firefox.md
Created August 8, 2024 07:02 — forked from RubenKelevra/fast_firefox.md
Make Firefox fast again
@guneysus
guneysus / clutter-free-vscode.jsonc
Created January 2, 2024 08:15 — forked from kamilogorek/_screenshot.md
Clutter-free VS Code Setup
// Required Plugin: https://marketplace.visualstudio.com/items?itemName=drcika.apc-extension
// settings.json
{
// Remove left-side icons
"workbench.activityBar.location": "hidden",
// Remove bottom status bar
"workbench.statusBar.visible": false,
// Remove position indicator in the editor's scrollbar
"editor.hideCursorInOverviewRuler": true,
@guneysus
guneysus / README.md
Created December 9, 2023 10:01 — forked from zoilomora/README.md
How to disable systemd-resolved in Ubuntu

How to disable systemd-resolved in Ubuntu

Stages

  • Disable and stop the systemd-resolved service:

      sudo systemctl disable systemd-resolved.service
      sudo systemctl stop systemd-resolved
    
  • Then put the following line in the [main] section of your /etc/NetworkManager/NetworkManager.conf:

@guneysus
guneysus / signtool.msbuild.tasks
Created July 13, 2023 20:35 — forked from gregmac/signtool.msbuild.tasks
SignTool MSBuild Task
<!--
Sign .exe files using signtool.exe.
(c) 2014 Greg MacLellan, Licensed under MIT http://opensource.org/licenses/MIT
Features:
* Hides password from being displayed in build output
* Retries against multiple timestamp servers if the server returns an invalid response (fairly common)
Usage:
@guneysus
guneysus / .gitconfig
Created April 24, 2023 09:51 — forked from Kovrinic/.gitconfig
git global url insteadOf setup
# one or the other, NOT both
[url "https://github"]
insteadOf = git://github
# or
[url "[email protected]:"]
insteadOf = git://github