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
| #!/usr/bin/env bash | |
| # | |
| # md2n.sh — Move MarkDown document into notion. | |
| # | |
| # DESCRIPTION: | |
| # Preserves code blocks and provides a copy button on each block. | |
| # Yaml blocks are suspect, so patch them up with pandoc. | |
| # | |
| # DEPENDENCIES: | |
| # - Pandoc - tried and true document converter tool. |
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 | |
| # | |
| # eso_ttc_update.sh — Update the ESO Tamriel Trade Centre pricetable on UN*X | |
| # | |
| # DESCRIPTION: | |
| # Downloads, unzips, and syncs the latest TTC PriceTable data for Elder Scrolls Online. | |
| # Safe to run from cron with minimal system impact. | |
| # | |
| # | |
| # USAGE: |
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 "Custom/Curved" { | |
| Properties { | |
| _MainTex ("Base (RGB)", 2D) = "white" {} | |
| _QOffset ("Offset", Vector) = (0,0,0,0) | |
| _Dist ("Distance", Float) = 100.0 | |
| } | |
| SubShader { | |
| Tags { "RenderType"="Opaque" } | |
| Pass | |
| { |
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 Foundation | |
| extension String { | |
| func substring(start: Int, end: Int) -> String { | |
| if (start == end || self.strlen() == 0) { | |
| return "" | |
| } | |
| let startIndex = self.index(self.startIndex, offsetBy: start) | |
| let endIndex = self.index(self.startIndex, offsetBy: end) | |
| return String(self[startIndex..<endIndex]) |
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 | |
| function usage | |
| { | |
| cat <<EOF | |
| Usage: `basename $0` [options] namespace | |
| Lists or deletes <<namespace>> branches merged with HEAD; namespace defaults to "bugfix/" |