Skip to content

Instantly share code, notes, and snippets.

@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
@guneysus
guneysus / RyuJIT-Tutorial.md
Created January 12, 2023 09:04 — forked from CarolEidt/RyuJIT-Tutorial.md
RyuJIT Tutorial

RyuJIT

The Open Source Just in Time Compiler for .NET

WHEN & WHERE

This tutorial was given at PLDI 2016. The content is available here.

ABSTRACT

This tutorial will present an introduction to RyuJIT (rē-yü-jit), an industry leading, high performance Just-in-Time compiler that supports the Microsoft .NET ecosystem. RyuJIT is also used to deliver world class performance on in house 1st party services like Office 365, Bing, and Exchange through innovative design and focus on business results. RyuJIT is shipping in the .NET 4.6 product and is now open source as part of CoreCLR.

An overview of the architecture of RyuJIT will be presented, including the internal representation (IR) and compilation phases with a focus on key design and imple

@guneysus
guneysus / PE-COFF.md
Created November 3, 2022 19:26
PE/COFF Specification Addendum

PE/COFF Specification Addendum

Deterministic PE/COFF File

PE/COFF file is deterministic if it is produced by a tool that guarantees that the entire content of the file is based solely on documented inputs given to the tool (such as source files, resource files, compiler options, etc.) rather than ambient environment variables (such as the current time, the operating system, the bitness of the process running the tool, etc.). The content of the file can be reproduced exactly (bit for bit) given the same inputs.

The value of field TimeDateStamp in COFF File Header of a deterministic PE/COFF file does not indicate the date and time when the file was produced and should not be interpreted that way. Instead the value of the field is derived from a hash of the file content. The algorithm used to calculate this value is an implementation detail of the tool that produced the file.

Debug Directory

@guneysus
guneysus / GitHub_PSModule.ps1
Created March 6, 2022 10:17 — forked from Badgerati/GitHub_PSModule.ps1
Example script for publishing a PowerShell module to the NuGet GitHub Package Registry
<# --
Register the GitHub Package Registry
-- #>
$username = '<github-username>'
$token = '<github-personal-token>'
$sourceName = 'GitHub'
$source = "https://nuget.pkg.github.com/$username/index.json"
# add the github package registry as a nuget source
@guneysus
guneysus / renew-gpgkey.md
Created February 24, 2022 21:53 — forked from krisleech/renew-gpgkey.md
Renew Expired GPG key

Renew GPG key

Given that your key has expired.

$ gpg --list-keys
$ gpg --edit-key KEYID

Use the expire command to set a new expire date: