- Install the app on Windows. https://www.xda-developers.com/get-samsung-notes-windows-10-app/
- Copy/paste text from Windows into your note-taking app of choice. This is a bit laborious, but probably easiest for non-techy folks or if you have a small number of notes.
# OS - Windows 10 Home (which requires Docker Toolbox since it doesn't support Hyper-V) | |
# Backup was generated from Heroku (which uses pg_dump) | |
# Backup location: C:\Users\Patrick\Desktop\tmp\latest.dump (change accordingly below) | |
# Docker image - https://hub.docker.com/_/postgres/ | |
docker run --name some-postgres -v //c/Users/Patrick/Desktop/tmp:/hostfiles/ -e POSTGRES_PASSWORD=password -d postgres | |
docker exec -it some-postgres pg_restore -U postgres -d postgres -1 /hostfiles/latest.dump | |
# Error. Copy the role name. |
// in PageSetupPanel | |
public void updateController(PageSetupController controller) { | |
// ... | |
Paper paper = this.pageFormat.getPaper(); | |
float width = 45 * 72; // My desired width is 45 inches | |
float height = 30 * 72; // My desired height is 30 inches | |
// float theMargin = (float) ((1.0 / 10.0) * 72.0); // 1/10th of an inch | |
float theMargin = 0; // 0 inches | |
float paperTopMargin = theMargin; |
This is a snippet of JS code that generates a diff on the Jira comment history tab. Currently, Jira generates a nice red/green diff when it sends you an email notification, but it only offers a before/after view of changes on the Jira website itself. Running this JS code will show a similar red/green diff on the Jira website.
Instructions (Chrome):
- Create a new bookmark. Bookmark anything, even this page, whatever.
# Untangles a few git branches into a linear history by rebasing. | |
# | |
# Setup: | |
# | |
# In your .gitconfig file, create an alias like so (first line is Windows, 2nd line unix): | |
# | |
# [alias] | |
# untangle = !ruby /c/DEV/git_untangle.rb | |
# untangle = !ruby ~/git_untangle.rb | |
# |
# json_file_path is the response body from some REST endpoint that google play music | |
# used to return the contents of a playlist as you loaded it in the web UI. | |
# So you need to have saved this before GPM shut down. | |
# | |
# output_csv_file_path will contain a CSV file in a format suitable for https://soundiiz.com/ | |
require 'JSON' | |
require 'byebug' | |
use_bpm 120 | |
live_loop :bass do | |
4.times do | |
sample :bd_haus, cutoff: 70, amp: 4 | |
sleep 1 | |
end | |
end |
There was this great chrome extension called "Popout for Google Chrome™". It gave you a button to open the current page as a popup. This is great for tiling a handful of chrome windows as if they're native applications. Google seems to have removed it from the chrome store, saying "This extension violates the Chrome Web Store policy.".
https://chrome.google.com/webstore/detail/nejkhdlfjifmhomnedomededpaeohcmi
It looks like this is literally all the source code. So I'm leaving this here, in case my current zip backup of the extension ever gets lost, and I (or someone else) wants to recreate this extension.
background.js
chrome.browserAction.onClicked.addListener(function(tab) {
chrome.windows.create({ tabId : tab.id, type: 'popup' });