Skip to content

Instantly share code, notes, and snippets.

on alfred_script(q)
tell application "iTerm2" to activate
-- CHANGE THIS VARIABLES ACCORDING TO YOUR NEEDS
-- set to null to use default profile
set iterm_profile_name to null
(*
each of these entries represent a tab slice
each slice has the following properties:
@apperside
apperside / callback-handler.js.patch
Created June 18, 2021 16:22
next-auth force linking oauth
--- node_modules/next-auth/dist/server/lib/callback-handler.js 2021-06-18 18:16:02.000000000 +0200
+++ patches/next-auth/dist/server/lib/callback-handler.js 2021-06-18 18:20:41.000000000 +0200
@@ -150,6 +150,11 @@
if (userByEmail) {
// throw new _errors.AccountNotLinkedError();
+ /**
+ * If found by email, link user.
+ * THIS IS NOT SAFE as stated here https://github.com/nextauthjs/next-auth/pull/1002
+ * but improves user experience
@apperside
apperside / designer.html
Created January 27, 2015 11:49
designer
<link rel="import" href="../ace-element/ace-element.html">
<link rel="import" href="../chart-js/chart-js.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;