This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
// I'm tired of extensions that automatically: | |
// - show welcome pages / walkthroughs | |
// - show release notes | |
// - send telemetry | |
// - recommend things | |
// | |
// This disables all of that stuff. | |
// If you have more config, leave a comment so I can add it!! | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Notify.swift | |
// | |
import Foundation | |
class Notify { | |
static let shared = Notify() | |
func send(event: NSNotification.Name) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Author: xezrunner (github.com/xezrunner) | |
# Inspired by Jonathan Blow's nocheckin setup with SVN (twitch.tv/j_blow) (youtube.com/@jblow888) | |
# Credit: DustinGadal on r/Jai: reddit.com/r/Jai/comments/jp0vjy/nocheckin_behavior_in_gitsourcetree/gbfhzd1 | |
# Required programs/utilities: git, grep, xargs, wc | |
# To install, move and rename to <repo>/.git/hooks/pre-commit (or merge) | |
# The file name has to be "pre-commit" for Git to use it. Compatible with Github Desktop GUI. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* MacEditorTextView | |
* Copyright (c) Thiago Holanda 2020-2021 | |
* https://twitter.com/tholanda | |
* | |
* MIT license | |
* Modified by https://github.com/cjwcommuny for TextKit 2 | |
*/ | |
import Combine |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shader_type canvas_item; | |
uniform bool apply = true; | |
uniform float amount = 1.0; | |
uniform sampler2D offset_texture : hint_white; | |
void fragment() { | |
vec4 texture_color = texture(TEXTURE, UV); | |
vec4 color = texture_color; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"time" | |
"fmt" | |
"net/http" | |
"github.com/gorilla/mux" | |
) | |
func main() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Cocoa | |
open class ScrollingTextView: NSView { | |
// MARK: - Open variables | |
/// Text to scroll | |
open var text: NSString? | |
/// Font for scrolling text | |
open var font: NSFont? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fetch( | |
"https://outlineapi.com/v3/parse_article?source_url=" + | |
encodeURIComponent(window.location) | |
) | |
.then(res => res.json()) | |
.then(body => { | |
if (body.error) { | |
return alert(`Outline Bookmarklet Error: ${body.error}`); | |
} | |
window.location.href = `https://outline.com/${body.data.short_code}` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'mickkay.wol.Spell' | |
tetris = {} | |
tetris.delay = 10 | |
tetris.origin = Vec3(453985, 80, -888253) | |
tetris.width = 10 | |
tetris.height = 20 | |
tetris.rotationCenter = Vec3(0,-1,0) | |
local upperCenter = tetris.origin + Vec3(tetris.width//2 + 1, tetris.height-1, 0) |
NewerOlder