Skip to content

Instantly share code, notes, and snippets.

View gabriel-r's full-sized avatar
🎯
Focusing

Gabriel R. gabriel-r

🎯
Focusing
View GitHub Profile
@gabriel-r
gabriel-r / editPage.js
Created April 9, 2024 12:29 — forked from pmarquees/editPage.js
Edit page (bookmarklet)
javascript:document.body.contentEditable = 'true'; document.designMode='on'; void 0
{
"application.clientReview.accepted": "Angenommen",
"application.clientReview.pending": "Neu",
"application.clientReview.rejected": "Abgelehnt",
"application.clientReview.undecided": "Offen",
"sidebar.links.campaigns": "Kampagnen",
"sidebar.links.contentPool": "Influencer Assets",
"sidebar.links.influencers": "Influencer Finder",
"sidebar.links.login": "Anmelden",
"sidebar.links.logout": "Abmelden",
[{
"application.clientReview.accepted": "Angenommen",
"application.clientReview.pending": "Neu",
"application.clientReview.rejected": "Abgelehnt",
"application.clientReview.undecided": "Offen",
"sidebar.links.campaigns": "Kampagnen",
"sidebar.links.contentPool": "Influencer Assets",
"sidebar.links.influencers": "Influencer Finder",
"sidebar.links.login": "Anmelden",
"sidebar.links.logout": "Abmelden",
@gabriel-r
gabriel-r / Google Apps Script to add line breaks in Google Form titles and descriptions.gs
Last active May 6, 2020 14:05
This has been bugging me for a long time and I've came up with a not so elegant but efficient solution based on Apps Script.
// From https://stackoverflow.com/questions/22207368/
function onOpen() {
var ui = FormApp.getUi();
ui.createMenu('Scripts')
.addItem('Replace 4+ spaces with line breaks in Title and Description', 'addLineBreaks')
.addToUi();
}
function addLineBreaks() {
@gabriel-r
gabriel-r / keybase.md
Last active September 13, 2019 15:11

Keybase proof

I hereby claim:

  • I am gabriel-r on github.
  • I am gabr13l (https://keybase.io/gabr13l) on keybase.
  • I have a public key ASAyBSEUUWpjeIrn7aJ42Lzi3l1CbATipX73eHQb0HDRJgo

To claim this, I am signing this object:

@gabriel-r
gabriel-r / Open Safari|Chrome URL in Other Browser.scpt
Last active January 17, 2023 04:09 — forked from sillygwailo/Open in Chrome from Safari.scpt
Open in Chrome from Safari and vice versa
tell application "System Events"
set activeApp to name of first application process whose frontmost is true
if "Safari" is in activeApp then
tell application "Safari"
set theURL to URL of front document
end tell
tell application "Google Chrome"
if (count of (every window where visible is true)) is greater than 0 then
tell front window to make new tab
@gabriel-r
gabriel-r / gist:b636fc76f468ad5118b5e59cebd9df05
Last active August 21, 2019 14:39 — forked from rmondello/gist:b933231b1fcc83a7db0b
Exporting (iCloud) Keychain and Safari credentials to a CSV file

Exporting (iCloud) Keychain and Safari credentials to a CSV file


WORK IN PROGRESS


The Mac OS Keychains is great if you spend your time in the Apple-verse. When you decide to mix it up or move away, you will want to take your password with you. Here's a process and the tools for exporting it's content to a CSV file in the format “example.com,user,pass”. This portable format would be pretty easy to import into Dashlane, LastPass, 1Password or whatever.

@gabriel-r
gabriel-r / Trello Slim.css
Last active February 26, 2018 18:54
More business. Less Playmobil.
/* ••• Works with Stylish ••••••• *
* ••• https://userstyles.org ••• */
/* font size (cards etc) */
html, html body, html input, html select, html textarea {
font-size: 12px;
font-family: Tahoma;
} /* instead of 14px */