Skip to content

Instantly share code, notes, and snippets.

jimmywarting /
Last active July 22, 2024 15:13
Cors proxies
Exposed headers
Service SSL status Response Type Allowed methods Allowed headers

As far as I can tell, you can't do it conveniently. That is, git-rebase does not give you an option to preserve the committer date. Unless you give the --ignore-date (or its alias, --reset-author-date) option, it will always preserve the author date. However, there is no way to make git-rebase preserve the committer date, unless some manual script is crafted.

The best you can do is to make the committer date equal to the author date. Recently (in 2020 Q4), git-rebase --interactive has gained the ability to use the --committer-date-is-author-date flag with the interactive rebase. Before that, there was no way of influencing the committer date at all with the interactive rebase. Note that this flag does not preserve the committer date. It merely makes the committer date equal to the author date.

You might be thinking "well, isn't that effectively preserving the committer date, since normally the committer date is always equal to the author date?". Normally, you would be correct. However, there

export const getThumbnail = (id, size = 300) =>
export const getIcon = (mimeType) =>
export const getFile = (id) => `${id}`;
const downloadFile = (id) =>
lolzballs /
Created March 22, 2015 00:21
Hello World Enterprise Edition
public class HelloWorld{
private static HelloWorld instance;
public static void main(String[] args){
bernaction / autoclaim.user.js
Last active July 22, 2024 15:08
auto claim faucet
// ==UserScript==
// @name Autoclaim Faucet
// @version 0.57
// @match*
// @match*
// @author
// @require
// @require
// @grant none
// @description Auto clicker faucet button on and
416rehman / recoil.lua
Last active July 22, 2024 15:07
Logitech G502 Programmable No Recoil Lua Script
--------------------------------------------- HOW TO USE ---------------------------------------------
--- This script comes with 2 modes, Pattern Profiles and Variable Recoil.
--- 1. Pattern Profiles: This mode allows you to set a pattern with a name and specific recoil values.
--------------------- name: The name of the pattern. This is what you will use to switch between patterns.
--------------------- stages: The recoil stages contain the recoil values for each stage of the pattern.
----------------------------- Horizontal: The horizontal recoil value for the stage.
----------------------------- Vertical: The vertical recoil value for the stage.
----------------------------- fire_delay: The delay between each shot in the pattern.
----------------------------- end_after: The amount of time in ms to use the current stage for before moving to the next stage. If not set, or no next stage, the pattern will loop.
--------------------- <Example>: {name = "test", stages = {{horizontal = 0, vertical = 1, fire_
ynwd /
Last active July 22, 2024 15:07
Technical Documentation Template

Technical Documentation Template

First of all, you need to understand you are not writing documentation for you, nor for your current team. You are writing documentation for the future developers that were not there when you first wrote this code. Worst of it, they might think it is bad code for many reasons and won’t understand why you wrote this way.

Taken from: How to write good software technical documentation

Table of contents

pesterhazy /
Last active July 22, 2024 15:06
Building an offline realtime sync engine

So you want to write a sync system for a web app with offline and realtime support? Good luck. You might find the following resources useful.

Overview articles

ObserverOfTime /
Last active July 22, 2024 15:05
Install BetterDiscord on Linux

Install BetterDiscord on Linux

This Gist contains simple instructions on how to install, update, and uninstall BetterDiscord on Linux.

For more thorough documentation, take a look at betterdiscordctl's README.

Do NOT submit issues here as I don't check the comments. You should submit them here instead.