Skip to content

Instantly share code, notes, and snippets.

View gcsecsey's full-sized avatar
:shipit:
On a shipping spree

Gergely Csécsey gcsecsey

:shipit:
On a shipping spree
View GitHub Profile
@gcsecsey
gcsecsey / jetpack.json
Last active December 5, 2023 10:52
WP projects workbench colors
{
"workbench.colorCustomizations": {
"titleBar.activeBackground": "#057e06",
"titleBar.inactiveBackground": "#045e05",
"titleBar.activeForeground": "#ffffff",
"titleBar.inactiveForeground": "#cccccc"
}
}
@gcsecsey
gcsecsey / README.md
Last active September 2, 2023 13:04
WooCommerce quick edit schedule product

WooCommerce quick edit schedule product

This small script updates the product date and unsets the private checkbox, scheduling the product for a specific date in the future. I made this because I couldn't find a quicker way to bulk schedule products (none of the WooCommerce bulk product editor plugins support this), but I need to do this for a lot of products at a time as we rotate seasonal products in the shop.

How to use

  • Add snippet.js as a snippet in Chrome dev tools, update the date and time

  • Go to the products list and click on the Quick Edit option

    CleanShot 2023-09-02 at 13 59 42@2x
  • Run the snippet from devtools, it will update these fields and save the product

@gcsecsey
gcsecsey / karabiner.json
Last active August 6, 2022 18:19
Karabiner-Elements Magic Keyboard mappings
{
"rules": [
{
"description": "Eject to Screenshot",
"manipulators": [
{
"from": {
"consumer_key_code": "eject"
},
"to": [
@gcsecsey
gcsecsey / wporgPlugin.js'
Created December 14, 2021 12:21
wporg plugin
‎‎​
@gcsecsey
gcsecsey / Untitled.png
Last active June 9, 2021 12:32
Cura settings
Untitled.png
@gcsecsey
gcsecsey / GSTATION local
Last active December 3, 2020 09:42
Razer Blade chocolatey install script
7zip 19.0
7zip.install 19.0
adb 30.0.4
authy-desktop 1.8.3
autodesk-fusion360 2.0.9313
autohotkey 1.1.33.02
autohotkey.install 1.1.33.02
autohotkey.portable 1.1.33.02
battle.net 0.3
bitwarden 1.23.0
@gcsecsey
gcsecsey / wsl.conf
Created September 23, 2020 18:12
wsl.conf
# sudo nano /etc/wsl.conf
# Enable extra metadata options by default
[automount]
enabled = true
root = /
options = "metadata,umask=22,fmask=11"
mountFsTab = false
### Keybase proof
I hereby claim:
* I am gcsecsey on github.
* I am gcsecsey (https://keybase.io/gcsecsey) on keybase.
* I have a public key whose fingerprint is 391C 11C6 9914 0163 23F3 C341 C51B 3F8E AA6E 099E
To claim this, I am signing this object:
@gcsecsey
gcsecsey / Keybase.md
Created July 19, 2019 15:31
Keybase.md

Keybase proof

I hereby claim:

  • I am gcsecsey on github.
  • I am gcsecsey (https://keybase.io/gcsecsey) on keybase.
  • I have a public key ASBNKxQ0PXe8rKGbd-NzuPGBLoSoXu28cagDfHQPM8bW7wo

To claim this, I am signing this object: