Skip to content

Instantly share code, notes, and snippets.

View chomamateusz's full-sized avatar

Mateusz Choma chomamateusz

View GitHub Profile
@eddiesigner
eddiesigner / liebling-light-mode.css
Last active July 7, 2020 08:43
Liebling Ghost theme - Force light mode
:root,
[data-theme="light"],
[data-theme="dark"],
:root:not([data-theme="light"]) {
--background-color: #fff;
--primary-foreground-color: #4a4a4a;
--secondary-foreground-color: #000;
--primary-subtle-color: #04aeee;
--secondary-subtle-color: #f4f8fd;
--titles-color: #333;
@Justkant
Justkant / i18next-scanner.config.js
Created August 16, 2019 11:37
Scan + merge except for defaultLng, with support for removeUnusedKeys option
/* eslint-disable import/no-extraneous-dependencies */
const _ = require('lodash');
const fs = require('fs');
const eol = require('eol');
const path = require('path');
const VirtualFile = require('vinyl');
const flattenObjectKeys = require('i18next-scanner/lib/flatten-object-keys')
.default;
const omitEmptyObject = require('i18next-scanner/lib/omit-empty-object')
.default;
@Mygod
Mygod / export-ble-infos.py
Last active July 17, 2024 12:38
Export your Windows Bluetooth LE keys into Linux!
#!/usr/bin/python3
"""
Copyright 2021 Mygod
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@tonysneed
tonysneed / Mac OS X: Open in Visual Studio Code
Last active June 14, 2024 04:16
Add a command to Finder services in Mac OSX to open a folder in VS Code
- Open Automator
- File -> New -> Service
- Change "Service Receives" to "files or folders" in "Finder"
- Add a "Run Shell Script" action
- Change "Pass input" to "as arguments"
- Paste the following in the shell script box: open -n -b "com.microsoft.VSCode" --args "$*"
- Save it as something like "Open in Visual Studio Code"