MongoDB
db.spendings.insert([{
date: ISODate("2019-04-20"),
trx: [
{
name: "food",
value: 500
},
| use bevy::prelude::*; | |
| fn main() { | |
| App::new() | |
| .insert_resource(ClearColor(Color::BLACK)) | |
| .add_plugins(DefaultPlugins.set(WindowPlugin { | |
| primary_window: Some(Window { | |
| title: env!("CARGO_PKG_NAME").to_string(), | |
| ..Default::default() | |
| }), |
| use bevy::prelude::*; | |
| fn main() { | |
| App::new() | |
| .add_plugins(DefaultPlugins) | |
| .insert_resource(AmbientLight { | |
| color: Color::default(), | |
| brightness: 0.02, | |
| }) | |
| .add_systems(Startup, setup) |
| /* | |
| [dependencies] | |
| log = "0.4" | |
| env_logger = "0.7" | |
| futures = "0.3" | |
| tokio = { version = "0.2", features = ["full"] } | |
| warp = "0.2" |
| #!/bin/env bash | |
| # https://www.aerospike.com/artifacts/aerospike-server-community/ | |
| set -o errexit | |
| set -o pipefail | |
| set -o nounset | |
| # set -o xtrace | |
| VERSION="4.9.0.4" |
MongoDB
db.spendings.insert([{
date: ISODate("2019-04-20"),
trx: [
{
name: "food",
value: 500
},
| import org.gradle.api.artifacts.maven.Conf2ScopeMappingContainer.COMPILE | |
| import org.gradle.api.artifacts.maven.Conf2ScopeMappingContainer.PROVIDED | |
| val javaVer = JavaVersion.VERSION_12 | |
| tasks { | |
| task("generatePom") { | |
| doLast { | |
| maven.conf2ScopeMappings.apply { | |
| addMapping(0, configurations.getByName("implementation"), COMPILE) |
| --- | |
| - name: append value to each string in a list | |
| hosts: all | |
| tasks: | |
| - name: db | |
| debug: | |
| msg: "{{ groups['db'] | map('extract', hostvars, 'ansible_host') | zip_longest([], fillvalue='5432') | map('join', ':') | join(',') }}" | |
| with_items: "{{ groups['db'] }}" |
| root = true | |
| [*] | |
| charset = utf-8 | |
| indent_size = 4 | |
| indent_style = space | |
| end_of_line = lf | |
| trim_trailing_whitespace = true | |
| insert_final_newline = true |
| import bot.config.ITConfig | |
| import org.junit.jupiter.api.extension.ExtendWith | |
| import org.springframework.boot.test.context.SpringBootTest | |
| import org.springframework.boot.test.context.SpringBootTest.WebEnvironment | |
| import org.springframework.test.context.ActiveProfiles | |
| import org.springframework.test.context.junit.jupiter.SpringExtension | |
| import org.springframework.boot.test.util.TestPropertyValues | |
| import org.springframework.context.ConfigurableApplicationContext | |
| import org.springframework.context.ApplicationContextInitializer | |
| import org.springframework.context.ApplicationListener |