This file contains 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
// ==UserScript== | |
// @name Threads | |
// @description Userscript to load Following feed by default in threads.net | |
// @match https://www.threads.net/* | |
// ==/UserScript== | |
sessionStorage.setItem("feed_variant", "FOLLOWING"); |
This file contains 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
#!/usr/bin/env bash | |
set -e | |
# sign.sh app release_id file | |
APP=$1 | |
RELEASE_ID=$2 | |
FILE=$3 | |
SIGNATURE=$(./bin/sign_update ${FILE} | sed 's/[^"]*="\([^"]*\).*/\1/g') |
This file contains 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 | |
set -e | |
# ac_distribute owner app file | |
# Original from https://gist.github.com/ouchadam/c74fa26c639a50d68bc35ee5749f868c | |
# Environment Variables created by App Center | |
# $APPCENTER_SOURCE_DIRECTORY | |
APPCENTER_OUTPUT_DIRECTORY=$(mktemp -d) | |
# $APPCENTER_BRANCH |
This file contains 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
#! env python3 | |
from lark import Lark | |
from lark import Transformer | |
import json | |
lark = Lark(''' | |
?start: (macro | expr)* | |
?parameter: dict |
This file contains 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 | |
class ViewController: NSViewController { | |
internal lazy var outlineView: NSOutlineView = { | |
let outlineView = NSOutlineView() | |
outlineView.usesAutomaticRowHeights = true | |
let column = NSTableColumn(identifier: .init(rawValue: "TestColumn")) | |
outlineView.addTableColumn(column) |
This file contains 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
Pod::Spec.new do |s| | |
s.name = 'LicensePlist' | |
s.version = '1.8.3.1' | |
s.summary = 'A license list generator of all your dependencies for iOS applications' | |
s.homepage = 'https://github.com/waynezhang/LicensePlist' | |
s.license = { :type => 'MIT', :file => 'LICENSE' } | |
s.author = 'Masayuki Ono' | |
s.source = { :http => "#{s.homepage}/releases/download/#{s.version}/portable_licenseplist.zip" } | |
s.preserve_paths = '*' | |
s.exclude_files = '**/file.zip' |
This file contains 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
map "ctrl+u" scrollPageUp | |
map "ctrl+d" scrollPageDown | |
set nosmoothscroll |
This file contains 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
tell application "Safari" | |
set theTitle to name of current tab of front window | |
set theURL to URL of current tab of front window | |
end tell | |
tell application "Reminders" | |
tell default list | |
make new reminder with properties {name:theTitle, body:theURL} | |
end tell | |
end tell |
This file contains 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
#!/usr/local/bin/jstalk | |
var application = [JSTalk application:'Hibari']; | |
var currentTweet = [application selectedTweet]; | |
var controller = [application windowController]; | |
[[controller composeArea] setStringValue:'RT: @' + currentTweet.screenName + ': ' + currentTweet.tweetText]; | |
[controller newTweet]; |
This file contains 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
<div id='tag_cloud'> | |
{% for tag in site.tags %} | |
<a href="#{{ tag[0] }}" title="{{ tag[0] }}" rel="{{ tag[1].size }}">{{ tag[0] }}</a> | |
{% endfor %} | |
</div> | |
<ul id='tag_list'> | |
{% for tag in site.tags %} | |
<li class='tag_item' id='{{ tag[0] }}'> | |
<span class='tag_name'>{{ tag[0] }}</span> |
NewerOlder