This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Component from '@glimmer/component'; | |
import {action} from '@ember/object'; | |
import {tracked} from '@glimmer/tracking'; | |
export default class extends Component { | |
@tracked selected = []; | |
@action select(event) { | |
this.selected = [...this.selected, event.target.value]; | |
event.target.value = ""; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/g/q/qaul.net (lk|✚1…2)> env RUST_BACKTRACE=1 cargo run --bin multinode-test ./webgui/dist/ > file.txt | |
warning: unused import: `dir::Dirs` | |
--> alexandria/src/core/api.rs:4:5 | |
| | |
4 | dir::Dirs, | |
| ^^^^^^^^^ | |
| | |
= note: `#[warn(unused_imports)]` on by default | |
warning: unused variable: `root` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Component from '@glimmer/component'; | |
import { tracked } from '@glimmer/tracking'; | |
import {action} from '@ember/object'; | |
export default class extends Component { | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Component from '@glimmer/component'; | |
import { tracked } from '@glimmer/tracking'; | |
import { action } from '@ember/object'; | |
export default class extends Component { | |
@tracked tags = []; | |
@action addTag(event) { | |
if(event.data === " ") { | |
this.tags = [...this.tags, event.target.value]; | |
event.target.value = ""; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Component from '@glimmer/component'; | |
import { tracked } from '@glimmer/tracking'; | |
import { action } from '@ember/object'; | |
export default class RegisterForm extends Component { | |
googleRecaptcha = null; | |
siteKey = "6LcXwhMTAAAAAJiSMkIowZCFwaTBB9chfSHzfeRL"; | |
@tracked username; | |
@tracked password; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Component from '@glimmer/component'; | |
import ENV from '../../config/environment'; | |
import { tracked } from '@glimmer/tracking'; | |
import { action } from '@ember/object'; | |
export default class RegisterForm extends Component { | |
googleRecaptcha = null; | |
siteKey = ENV.gRecaptcha.siteKey; | |
@tracked username; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Component from '@glimmer/component'; | |
import { tracked } from '@glimmer/tracking'; | |
import { action } from '@ember/object'; | |
export default class RegisterForm extends Component { | |
googleRecaptcha = null; | |
siteKey = "6LdeLOYUAAAAAK2DmVLyVf0huk0nD3Sdp1WrpQ5P"; | |
@tracked username; | |
@tracked password; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
isSelected: Ember.computed('selectedDirs.[]', 'path', function() { | |
return this.get('selectedDirs') | |
.some(d => this.get('path').startsWith(d)); | |
}) | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Suggestion of a new input structure for empress (slides) | |
I'm proposing to use `yaml` files instead of markdown files as primary structure for writing slides. | |
## Reasoning for empress-slides | |
When writing slides usually many slides are written at once. Also slides are by definition a special kind of presentation, so the way how it is presented is crucial. So presentation decisions have to be made at authoring time. | |
For example I may split content on two slides, or do a side-by-side comparsion. While I can do basically everything with `html` inside markdown this should never be necessary for the author. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
const { computed } = Ember; | |
class FakeProxy extends Ember.Object { | |
constructor(target) { | |
super({}); | |
this._target = target; | |
} | |