- Install
typescript,tslib, andsvelte-checkfor dev mode
pnpm i -D typescript tslib svelte-check- Add a
tsconfig.json
| chmod +x ./runit | |
| mkdir /etc/runit/sv/docker | |
| mv ./runit /etc/runit/sv/docker | |
| ln -s /etc/runit/sv/docker /run/runit/service | |
| sv start docker |
elogind is the part of SystemD logind that can run as standalone. So we need it to run Sway without SystemD. To do that we need to build wlroots with elogind option. Then we can install and use Sway as normal from the current repo. There are other ways to achieve this without elogind here. But I tried with the elogind option and I was successful.
UPDATE: I tried again on a fresh install. The elogind option is set by default on the repo version. So you can skip the xbps-src command below and continue. wlroots should install as a dependency of sway if you follow the later commands.
git clone git://github.com/void-linux/void-packages.git
cd void-packages
./xbps-src binary-bootstrap
| package main | |
| import "fmt" | |
| func main() { | |
| // shoppingList is a map that has a map inside it | |
| shoppingList := make(map[string]map[string]int) | |
| // veggies key points to veggiesMap | |
| veggiesMap := map[string]int{"onion": 2, "orka": 3} |
| @Database(entities = arrayOf(Note::class, User::class), version = 1) | |
| @TypeConverters(Converters::class) | |
| abstract class AppDatabse : RoomDatabase() { | |
| abstract fun userDAO(): UserDAO | |
| abstract fun noteDAO(): NoteDAO | |
| } |
| Name | Version | Size (uncompressed) | Size (minified) | Size (gzipped) | URL | |
|---|---|---|---|---|---|---|
| Bootstrap | v3.3.7 | 143 KB | 117 KB | 20 KB | http://getbootstrap.com/css/ | |
| Bootstrap | v4.0.0 | 187 KB | 147 KB | 20 KB | https://v4-alpha.getbootstrap.com/ | |
| Materialize | v3.0 | 114 KB | 90 KB | 18 KB | http://materializecss.com/ | |
| Material Design Lite | v1.3.0 | 350 KB | 137 KB | 21 KB | https://getmdl.io/ | |
| mini.css | v2.1 | 47 KB | 36 KB | 7 KB | https://chalarangelo.github.io/mini.css/ | |
| Semantic UI | v2.2.6 | 730 KB | 550 KB | 95 KB | https://semantic-ui.com/ | |
| Foundation | v3.0 | 90 KB | 64 KB | 12 KB | http://foundation.zurb.com/ | |
| Pure CSS | v0.6.2 | 80 KB | 17 KB | 3.8 KB | https://purecss.io/ | |
| Picnic CSS | v6.3.2 | 55 KB | 38 KB | 7 KB | https://picnicss.com |
| import React from 'react'; | |
| import injectStyle from './path/to/injectStyle'; | |
| export default class SampleComponent extends React.Component { | |
| constructor(props) { | |
| super(props); | |
| const keyframesStyle = ` | |
| @-webkit-keyframes pulse { | |
| 0% { background-color: #fecd6d; } |
| options("/*", | |
| (request, response) -> { | |
| String accessControlRequestHeaders = request | |
| .headers("Access-Control-Request-Headers"); | |
| if (accessControlRequestHeaders != null) { | |
| response.header("Access-Control-Allow-Headers", | |
| accessControlRequestHeaders); | |
| } |