Thread pools on the JVM should usually be divided into the following three categories:
- CPU-bound
- Blocking IO
- Non-blocking IO polling
Each of these categories has a different optimal configuration and usage pattern.
| To create a new Device ID (and reset configuration) after cloning a VM with Syncthing, just remove the content of this folder: | |
| - Unix-like: $HOME/.config/syncthing | |
| - Mac: $HOME/Library/Application Support/Syncthing | |
| - Windows XP: %AppData%/Syncthing | |
| - Windows 7+: %LocalAppData%/Syncthing |
| 7/27/1978 | |
| When I was 18... 18 years old, I saw for the first time in my life... I saw an image of clarity. I saw a comic strip... a three panel comic strip that, though simple as it seemed, changed me... changed my being, changed who I am... Made me who I am... | |
| Enlightened me... | |
| The strip, Garfield, the comic strip was new... no more than maybe a month and a half since inception, since... since coming into existence... and there it was before me in print, I saw it... a comic strip... What was it called? | |
| Garfield. |
| # -*- coding: utf-8 -*- | |
| import scrapy | |
| import re | |
| import unicodedata | |
| from scrapy.crawler import CrawlerProcess | |
| from urllib.parse import urlparse | |
| class WikiSpider(scrapy.Spider): | |
| name = 'wiki_company' |
| (Dijkstra and plain A* are generally not included here as there are thousands of | |
| implementations, though I've made an exception for rare Ruby and Crystal versions, | |
| and for Thor, Mapzen's enhanced A*. ) | |
| A* Ruby https://github.com/georgian-se/shortest-path | |
| A* Crystal https://github.com/petoem/a-star.cr | |
| A* (bidirectional with shortcuts) C++ https://github.com/valhalla/valhalla | |
| NBA* JS https://github.com/anvaka/ngraph.path | |
| NBA* Java https://github.com/coderodde/GraphSearchPal | |
| NBA* Java https://github.com/coderodde/FunkyPathfinding |
| Go to github | |
| Create new repository [don't need to initialize with the readme (can add later)] | |
| Go to R Studio | |
| File -> New Project -> Version Control -> Git | |
| Ctrl+V repository URL from GitHub | |
| File -> New -> Markdown, enter Title, etc. | |
| In the Markdown window, change "output=html_document" to "output=github_document" | |
| Knit the document for the first time, will prompt you to save | |
| Save as Title.rmd | |
| In the "git" tab of the R studio Environment window, you will notice that the knit produced: |
| // Place your key bindings in this file to overwrite the defaults | |
| [{ | |
| "key": "ctrl+a", | |
| "command": "editor.action.selectAll" | |
| }, | |
| { | |
| "key": "ctrl+x", | |
| "command": "editor.action.clipboardCutAction" | |
| }, | |
| { |
| #!/bin/sh | |
| FILENAME=$(basename $0) | |
| DEBUG="true" ## if true, verbose debug output is activated | |
| DEBUG="false" | |
| ERRORFOLDER="unknown_destinations" ## if found as a sub-directory, all non-matching files are moved there | |
| SIMULATE="true" ## if true, no files are moved | |
| SIMULATE="false" | |
| warn_and_exit() | |
| { |
| #!/bin/bash | |
| # You'll need to have sox, pavucontrol and alsa-utils installed, and the snd_aloop kernel module loaded. | |
| # You can configure your system to load it on startup or load it manually with "sudo modprobe snd_aloop" | |
| # Once this is script is running, you need to start recording audio in the application of your | |
| # preference, open pavucontrol, go to the recording tab and change the recording source of that application | |
| # to "Monitor of Loopback ..." | |
| time=5 |