ๅ ใซWSL2ใงsystemdใไฝฟใใใใจใ็ขบ่ชใใฆใใใใจ
- WSL2ใง
/etc/sysctl.confใ้ใใฆใๆซๅฐพใซ่จญๅฎใ่ฟฝๅ ใใฆไฟๅญใใ
| { | |
| "remapKeys": { | |
| "inProcess": [] | |
| }, | |
| "remapShortcuts": { | |
| "global": [], | |
| "appSpecific": [ | |
| { | |
| "originalKeys": "163;65", | |
| "newRemapKeys": "36", |
| #!/bin/zsh | |
| readonly local format=( | |
| '%(if)%(HEAD)%(then)1%(else)0%(end)' # is current (0|1) | |
| '0' # is topic branch (0|1) | |
| '0' # is gone (0|1) | |
| '%(refname:short)' # branch name | |
| '%(color:bold black)%(subject)%(color:reset)' # commit message | |
| '%(color:bold black)%(upstream:track)%(color:reset)' # upstream status (e.g. [ahead 1], [behind 40], [gone]) | |
| ) |
| #cloud-config | |
| write_files: | |
| - path: /etc/sysctl.d/local.conf | |
| owner: root | |
| permission: 0644 | |
| content: | | |
| fs.inotify.max_user_watches = 524288 | |
| - path: /etc/docker/daemon.json | |
| owner: root |
| <?php | |
| require $argv[1]; | |
| $propertyNames = array_map( | |
| function ($property) { return $property->getName(); }, | |
| (new \ReflectionClass(Operation::class))->getProperties() | |
| ); | |
| echo json_encode($propertyNames) . PHP_EOL; |
| # vim:set filetype=sh: | |
| Setup::Pacman.group 'package' <<end | |
| package.catalog_sync | |
| package.upgrade | |
| end | |
| Setup::Pacman.group 'toolkit' <<end | |
| toolkit.package_install vim | |
| toolkit.package_install git |