I hereby claim:
- I am bitbutter on github.
- I am tomaszkaye (https://keybase.io/tomaszkaye) on keybase.
- I have a public key whose fingerprint is 5767 A274 4C66 82C9 40D1 BD50 87D1 D067 6D41 04E0
To claim this, I am signing this object:
| #!/usr/bin/env ruby | |
| # This script lives in [working directory]/git_helpers/ | |
| # It gets called from a git pre-commit hook. | |
| # It automatically adds timestamp information to max/msp object ids | |
| # if they don't already have a timestamp. | |
| # A start towards intelligent .maxpat merges in git-managed max/msp projects. | |
| require 'find' | |
| require 'fileutils' | |
| Verifying myself: My Bitcoin username is +tomasz_kaye. https://onename.io/tomasz_kaye |
| using UnityEngine; | |
| using System.Collections; | |
| using System.IO; | |
| /* | |
| Usage: | |
| 1. Attach this script to your chosen camera's game object. | |
| 2. Set that camera's Clear Flags field to Solid Color. | |
| 3. Use the inspector to set frameRate and framesToCapture |
I hereby claim:
To claim this, I am signing this object:
| using UnityEngine; | |
| using System.Collections; | |
| public class PerlinShake : MonoBehaviour, IShaker { | |
| public float duration = 0.5f; | |
| public float speed = 1.0f; | |
| public float magnitude = 0.1f; | |
| public bool test = false; |
| #add to C:\Users\username\AppData\Roaming\espanso\scripts\ | |
| import json | |
| import sys | |
| sys.stdout.reconfigure(encoding='utf-8') | |
| import io | |
| import os | |
| import traceback | |
| def is_json_file(file): | |
| filename, file_extension = os.path.splitext(file) | |
| # Split the filename of the latest downloaded file into the base filename and file extension |
| #add to C:\Users\username\AppData\Roaming\espanso\match\base.yml | |
| - trigger: kindle_json_to_tanapaste | |
| replace: "{{output}}" | |
| vars: | |
| - name: output | |
| type: script | |
| params: | |
| args: | |
| - python | |
| - "%CONFIG%/scripts/kindle_json_to_tanapaste.py" |
| # append this to [username]/AppData/Roaming/espanso/match | |
| - trigger: kindle_import_book_from_clippings | |
| replace: "{{output}}" | |
| vars: | |
| - name: booktitles | |
| type: script | |
| params: | |
| args: | |
| - python |
| import sys | |
| sys.stdout.reconfigure(encoding='utf-8') | |
| from datetime import datetime | |
| # Open the clippings file and read its contents | |
| with open("E:/documents/My Clippings.txt", "r", encoding="utf-8") as f: | |
| contents = f.read() | |
| # Split the contents into separate notes | |
| notes = contents.split("==========\n") |
| import json | |
| import sys | |
| sys.stdout.reconfigure(encoding='utf-8') | |
| import io | |
| import os | |
| import traceback | |
| from datetime import datetime | |
| import re | |
| booktitle = os.environ['ESPANSO_BOOKTITLE'] | |
| clippings_file = "E:/documents/My Clippings.txt" |