A common and reliable pattern in service unit files is thus:
NoNewPrivileges=yes
PrivateTmp=yes
PrivateDevices=yes
DevicePolicy=closed
ProtectSystem=strict
(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 |
#!/boot/bzImage | |
# Linux kernel userspace initialization code, translated to bash | |
# (Minus floppy disk handling, because seriously, it's 2017.) | |
# Not 100% accurate, but gives you a good idea of how kernel init works | |
# GPLv2, Copyright 2017 Hector Martin <[email protected]> | |
# Based on Linux 4.10-rc2. | |
# Note: pretend chroot is a builtin and affects the current process | |
# Note: kernel actually uses major/minor device numbers instead of device name |
#! /bin/bash -ex | |
# Convert Landsat 8 GeoTIFF images into RGB pan-sharpened JPEGs. | |
# | |
# Requirements: | |
# * gdal http://www.mapbox.com/tilemill/docs/guides/gdal/ | |
# * Dan Stahlke's https://github.com/gina-alaska/dans-gdal-scripts | |
# * convert (image-magick) | |
# | |
# Reference info: |
-- betterchapters.lua | |
-- seeks forward until a black screen appears. | |
-- default keybinding: b | |
-- Keybind names: skip_scene | |
script_name = mp.get_script_name() | |
detect_label = string.format("%s-detect", script_name) | |
detecting = false | |
threshold = 0.9 | |
detection_span = 0.05 | |
negation = false |
--[[ | |
mpv 5-bands equalizer with visual feedback. | |
Copyright 2016 Avi Halachmi ( https://github.com/avih ) | |
License: public domain | |
Default config: | |
- Enter/exit equilizer keys mode: ctrl+e | |
- Equalizer keys: 2/w control bass ... 6/y control treble, and middles in between | |
- Toggle equalizer without changing its values: ctrl+E (ctrl+shift+e) |