Skip to content

Instantly share code, notes, and snippets.

@dewdad
dewdad / karabiner_double_tap_toggle_raycast.json
Created December 28, 2022 11:10 — forked from IcedMango/karabiner_double_tap_toggle_raycast.json
Enable double tap cmd/option toggle for Raycast using karabiner
{
"title": "Raycast Karabiner Config",
"rules": [
{
"description": "Double click cmd Toggle Raycast(Hotkey: ctrl+option+cmd+Esc)",
"manipulators": [
{
"conditions": [
{
"name": "command_pressed",
@dewdad
dewdad / README.md
Created May 11, 2022 09:51 — forked from elijahmanor/README.md
Export @code Extensions to a Markdown List

You can run either of the following snippets in your terminal to generate a markdown list of your VS Code extensions.

code --list-extensions | awk '{ print "* [" $1 "](https://marketplace.visualstudio.com/items\?itemName\=" $1 ")" }'

npx https://gist.github.com/elijahmanor/7f9762a4c2296839ad33e33513e88043

NOTE: You can append | pbcopy to either of the above commands to pipe the output to your Mac's copy/paste buffer.

@dewdad
dewdad / README.md
Created May 10, 2022 20:12 — forked from Tynael/README.md
How to use npx to run gist based scripts
@dewdad
dewdad / obsidian-web-clipper.js
Created February 10, 2022 18:18 — forked from kepano/obsidian-web-clipper.js
Obsidian Web Clipper Bookmarklet to save articles and pages from the web (for Safari, Chrome, Firefox, and mobile browsers)
javascript: Promise.all([import('https://unpkg.com/turndown@6.0.0?module'), import('https://unpkg.com/@tehshrike/readability@0.2.0'), ]).then(async ([{
default: Turndown
}, {
default: Readability
}]) => {
/* Optional vault name */
const vault = "";
/* Optional folder name such as "Clippings/" */
@dewdad
dewdad / obsidian-web-clipper.js
Created February 10, 2022 18:18 — forked from kepano/obsidian-web-clipper.js
Obsidian Web Clipper Bookmarklet to save articles and pages from the web (for Safari, Chrome, Firefox, and mobile browsers)
javascript: Promise.all([import('https://unpkg.com/turndown@6.0.0?module'), import('https://unpkg.com/@tehshrike/readability@0.2.0'), ]).then(async ([{
default: Turndown
}, {
default: Readability
}]) => {
/* Optional vault name */
const vault = "";
/* Optional folder name such as "Clippings/" */
@dewdad
dewdad / obsidian-web-clipper.js
Created February 10, 2022 18:18 — forked from kepano/obsidian-web-clipper.js
Obsidian Web Clipper Bookmarklet to save articles and pages from the web (for Safari, Chrome, Firefox, and mobile browsers)
javascript: Promise.all([import('https://unpkg.com/turndown@6.0.0?module'), import('https://unpkg.com/@tehshrike/readability@0.2.0'), ]).then(async ([{
default: Turndown
}, {
default: Readability
}]) => {
/* Optional vault name */
const vault = "";
/* Optional folder name such as "Clippings/" */
@dewdad
dewdad / boxstarter_newdev_script.txt
Created May 9, 2021 08:56 — forked from joslat/boxstarter_newdev_script.txt
My boxstarter - chocolatey script
Set-ExplorerOptions -showProtectedOSFiles -showFileExtensions
Enable-RemoteDesktop
#now some OS feature setup
cinst Microsoft-Hyper-V-All -source windowsFeatures
# Installing some cool software
cinst visualstudio2019professional --package-parameters "--allWorkloads --includeRecommended --includeOptional --passive --locale en-US"
cinst resharper
cinst vscode
@dewdad
dewdad / chocolatey-git-python3.md
Created April 23, 2021 19:39 — forked from lopezjurip/chocolatey-git-python3.md
Install Chocolatey on Windows 10 | Install git and Python3 (with pip)

Install Chocolatey on Windows 10

First, you have to run Powershell as administrator. Then type the following:

Set-ExecutionPolicy Unrestricted

Accept to continue.

Then we install Chocolatey:

@dewdad
dewdad / Signupform.vue
Created August 23, 2020 16:50 — forked from andreas-it-dev/Signupform.vue
vuetify made sign up form - inspired by https://www.youtube.com/watch?v=jWoy_LQydvk
<template>
<v-container id="signinup-form" class="fill-height">
<Notification
:message="snackbarMessage"
:snackbar="snackbar"
:type="snackbarType"
/>
<v-row align="center" justify="center" no-gutters>
<v-col cols="12" sm="8" md="8" class="">
<v-card class="evelation-12 card">
@dewdad
dewdad / basic-dev.ps1
Last active July 1, 2020 21:52 — forked from flcdrg/boxstarter-bare-v3.ps1
My BoxStarter Scripts
# SQL Server - do this early to avoid issues with newer versions of VC++ 2015 redist
choco install sql-server-2017
choco install sql-server-2017-cumulative-update
choco install sql-server-management-studio
# tools
choco install git
choco install nodejs
choco install tortoisegit
choco install vscode