Notes and Useful Info

Install WriteFreely with Apache and MySQL – WriteFreely / Installation – Discuss Write.as

Expanded, updated WriteFreely docs | WriteFreely links and about info | Data Format for WriteFreely Import — Matt's Dev Log |

to log in to WF you’ll need to create an admin account through the command-line interface, just like how you used it to start your instance. The command is as follows: writefreely --create-admin username:password

A Guide to Using Code Blocks on a WriteFreely Blog Page

v0.12.0 doc | WriteFreely on Docker, by Robjloranger | WF install getting started (install) | Install WF with Apache and MySql | WF build articles |

Most detailed WriteFreely install instructions I've seen yet

The apache2 reverse proxy instructions for trilium are perhaps how it would be done for a WriteFreely install.

Deploy WF vis Dokku | johanv on WF and Dokku | Dokku tutorial | Dokku on github | Dokku site | self-hosting dokku and bitwarden | CapRover |

Matt: WF doesn’t officially support installation on a path like /abab. Recommended way to install would be to do it on abab.example.com, instead. source

WriteFreely et al instances Fediverse | fed WF instances | wf WriteFreely instances | WriteFreely blog | WF Roadmap | write.as usage notes | Wordsmith.social | Qua | Qua.info | Qua reader | Privacytools.io instance reader |

Add /read to the end of a wf url to show an rss feed of all blog posts.

Differences between write.as and writefreely | very detailed WF review

Convert MySql database to Sqlite3, robloranger

About WriteFreely | WriteFreely blog | snap.as | Self-hosting (with sqlite or MySql/MariaDB) with WriteFreely | Where to host WriteFreely | Upgrading WriteFreely from v0.7.x + Download the latest release for your operating system. Stop running your writefreely service, replace all files in your installation with the ones in the archive, and then start your writefreely service again. + Make sure your database is backed up, and update it with writefreely --migrate. + No additional steps are needed to upgrade from v0.7.x. Follow the instructions in each previous # release if you're upgrading from an earlier version. [source]

Examples of write.as/writefreely blogs: Arnov highly scientific, math, plotting, python, bayesian analysis 5 stars: Scott Nesbitt's OpenSourceMusings blog Nate Dickson, beautifully designed Rob's Dev Log | MySql to Sqlite3 | install WF on Ubuntu 19.04 | paste server | Security: Harden SSH The New Oil Dino's Journal Created with WriteFreely blog.cjeller.site DigitalGyoza ianbgibson.com dlkr.blog | dlkr.art | dlkr.services | carrotcake studio aris.papatheodorou.net write.jonwatson.ca/blog lhl hub.fosstodon.org write.as/matt | Matt's In the Open about write.as QuietHabits Andrew Kemendo Using data from the Kepler mission to scientifically imagine star systems Jag Talon, a blog about learning and web development badrihippo Deacon Patrick Mind Your Head Co-op, Deacon Patrick TechZerker triptych

snap.as examples Deacon Patrick

Read more...

D1579 updated to Windows 10 1809 on 3/12/2019. Removed old windows and other files with Disk Cleanup -— New Macrium backup. Check desired settings that might have been changed by 1809 update. See about Recovery Drive – was anything changed by MS? Start menu => Delivery Optimization => Allow from other PCs => Off Turn Dark Mode on/off: Start => Settings => Personalization => Colors => bottom of page: Change your Default App Mode (light or dark)

https://www.windowscentral.com/windows-10-october-2018-update-review a new, universal snipping bar that's accessible using the Windows key, Shift, and S.

Microsoft's new clipboard experience in the October 2018 Update is arguably one of this release's biggest new features, even though it's off by default...This new clipboard function can be accessed at any time using the WIN + V key combination, and once invoked you will be able to scroll through everything you've copied in that session. In addition to merely remembering everything you've copied, it also has the capability of syncing that copied data to the cloud, allowing you to sync data across all of your devices that are logged in with the same Microsoft Account.

https://www.computerworld.com/article/3307851/microsoft-windows/review-windows-10-october-2018-update-delivers-modest-but-useful-tweaks.html Storage Sense

https://www.makeuseof.com/tag/windows-10-clipboard-paste/

https://www.makeuseof.com/tag/new-improved-windows-10-notepad/ Previously, when you started searching in the middle of a text file in Notepad, the search would go to the end of the file or the beginning of the file (depending on the selected direction), but not search the whole file. In the new improved Notepad, Microsoft added an option to wrap the search around so you can search the whole text file from wherever the cursor is in the file. When you press Ctrl + F and enter a word or phrase in the Find what box, check the Wrap around box to search the whole file.

Notepad still uses Windows Carriage Return (CR) and Line Feed (LF) (CRLF) line endings by default. But Microsoft finally added support in Notepad in Windows 10 1809 for line endings in Unix and Linux (LF) and Mac (CR). So text files created on Unix, Linux, or Mac will now display correctly when opened in Notepad. When you edit and save text files created on Unix, Linux, or Mac, Notepad preserves the type of line breaks from the operating system it was created in.

Hashtags: #windows

Read more...

5 Ways to Undo Mistakes with Git: Discarding Some of Your Local Changes, Resetting a Specific File to a Previous State, Recovering a Lost Revision with the Reflog, Recovering a Deleted Branch, Moving a Commit to a Different Branch

Removing a git commit and force pushing to remove it from history; simonw TILs

How to push to a repo to maintain only one commit – useful if you would otherwise have a whole bunch of data-hogging commits that aren't necessary to keep. From simonw: The latest til.db file is now stored in https://github.com/simonw/til-db – every time I push a new copy of the file there I use git commit --amend to rewrite history followed by git push --force – so that repo only ever contains a single commit which is the commit that added the file. [source]

How to change git master to main note the caveats in the thread

How to remove a pushed commit Committed and pushed incorrect file otd-tweets-by-mcnees (forgot the html extension). I could have dealt with the unpushed change but was in a rush and instead went ahead and committed/pushed corrected version otd-tweets-by-mcnees.html But later I wanted to remove that bad commit/push. Here's how I did it, using procedure from the above web page: git revert e98adc579131244c56913e0d5afbd5ba395bc6c8 Then git status said local repo was ahead of remote by 1 and that a push was needed. So I did the git push. The file then did not show up in the jrdmb/jrdmb github repo.

How to Squash the First Two Commits in a Git Repository — Marius Schulz

Github account security log

Learn to change history with git rebase; git rebase in depth | How does Git Rebase work and compare with Git Merge and Git Interactive Rebase | What is Git Rebase and How Is it Different than Merging? | Change a Git Commit in the Past with Amend and Rebase Interactive – Nick Janetakis | Top 20 git commands and examples caltlgin git wiki tips and commans ref Git: Clear local and remote repo and start over | Git HowTo: revert commit already pushed to remote repository; delete earlier commits | Git and GitHub: How to Revert a Single File | Wiki on git GitHub: Everything you need to know

Git Alternatives Launchpad

Git articles/Tutorials How to Host Your Blog for Free with Jekyll and GitHub Pages | How writers can use github, nice setup/config info | GitHub Project Management | 15 git commands you may not know Especially see #15 on optimizing local repo with 'git gc' jermity Git Notes Glossary with Step Procs | Getting Started | Tutorials | BitBucket 101 | Pro Git online eBook | Learning Git online eBook | How to place the git folder out of your working tree |

Read more...

MathB.in | TeXMe |

MathJax is available in write.as blog posts only, not anonymous posts. great MathJax reference MathJax turns 3.0 online LaTeX editor; codingGround | 2nd LaTeX coding example |

MathJax tutorial and quick reference | mathjax.org | PhysicsForums Reference | LaTeX math | Free LaTeX book PDF format | Niko tweet on LaTeX spacing with a good PDF on it

Get LaTeX source from browser developer Elements tab: https://imgur.com/Th8Gj

When \(a \ne 0\), there are two solutions to \(ax^2 + bx + c = 0\) and they are $$(x = {-b \pm \sqrt{b^2-4ac} \over 2a})$$ You can test this online using jsbin.com

Read more...

bash: define character ranges by enclosing them in brackets ([]). Let’s say you want to look for folder names that start with either D or M. Type: ls [DM]* Say you’re in a folder filled with subfolders named after each year. To copy the folders for the previous five years into ~/backup, use: cp -r 201[56789] /home/USERNAME/backup You can even simplify them further with a dash (–): cp 201[5-9] /home/USERNAME/backup Bash will iterate from 5 to 9 to include the numbers between them. [source]

Read more...

This fixed the clock time problem with both Windows and CloudReady each setting the time differently: https://wiki.archlinux.org/index.php/time#UTC_in_Windows (I used the QWORD option and it worked)

READ THIS: https://www.disk-partition.com/windows-10/recovery-partition-after-upgrading-to-windows-10-4348.html
Very important info about the several small recovery partitions that can get created when upgrading Windows. Every time when you upgrade Windows to the next version, the upgrade program will create a recovery partition if it detects that there is insufficient space on your recovery partition (GPT disk) or system reserved partition (MBR disk). There is why there are many recovery partitions after upgrading to each major version of Windows 10. Also see: https://www.partitionwizard.com/partitionmagic/windows-1803-creates-recovery-partition.html

Read more...