elixir config

Python Flask Config 配置文件

前言全局说明 Python Flask config 配置文件 一、安装flask模块 官方源: pip3 install flask==2.3.2 国内源: pip3 install flask==2.3.2 -i http://pypi.douban.com/simple/ --trusted- ......
文件 Python Config Flask

Flask-apscheduler获取或修改上下文中config数据

__init__.py 1 from flask_apscheduler import APScheduler 2 ... 3 4 scheduler = APScheduler() 5 6 7 from app import app 8 9 10 11 12 13 14 def create_ap ......

ubuntu 18.04.6 编译内核kernel提示 Can't find default configuration "arch/x86/configs/socfpga_deconfig"!

输入make socfpga_defconfig 的时候提示: ubuntu 18.04.6 编译内核kernel提示 Can't find default configuration "arch/x86/configs/socfpga_deconfig"! 解决办法: export ARCH=ar ......

gige_ip_config.py

https://github.com/basler/pypylon/blob/master/samples/gige_ip_config.py # This sample demonstrates how to use the methods RestartIpConfiguration,# Bro ......
gige_ip_config config gige ip py

seata 1.8.0 can not get cluster name in registry config 'service.vgroupMapping.default_tx_group', please make sure registry config correct

* [调式源码解决 seata 报错 can not get cluster name 问题 - 掘金](https://juejin.cn/post/7203377276557885498) seata: enabled: true application-id: ${spring.applica ......

鸿蒙开发 ERROR: Failed to find the incremental input file: C:\Users\admin\.ohos\config\auto_debug_MyApplication2_com.example.myapplication2_2850086000448618441.cer.

如图 我把项目拷贝到另一台机器报的错误,发现是签名的问题, 修改签名 操作如下: DevEco Studio 点击File ——》Project Structure——》Project ——》Signing Configs 选择 Automatically generate signature 自动 ......

webservices设置web.config供远程调用

在网站的解决方案的下方找到web.config <system.web> <webServices> <protocols> <add name="HttpGet"/> <add name="HttpPost"/> </protocols> </webServices> <system.web> 2 ......
webservices config web

swoosh elixir 方便的邮件发送&测试客户端.

swoosh提供了多中邮件平台的adapter ,可以方便的进行邮件的测试,发送,还包含了对于phoenix 的集成同时还包含了一个方便的本地邮箱预览服务 参考资料 https://github.com/swoosh/swooshhttps://hexdocs.pm/swoosh ......
客户端 邮件 客户 swoosh elixir

nerves 基于elixir 开发嵌入式系统

nerves 可以使我们基于elixir 开发嵌入式系统,而且基于erlang 强大的虚拟机能力实现可靠,高效的系统 说明 nerves 包含了不少子系统,都可以加速系统的开发,值得学习下 参考资料 https://nerves-project.org/#featureshttps://github ......
嵌入式 nerves elixir 系统

elixir erlang 简单调用学习

实际上基于elixir 的mix 进行erlang 以及elixir 的互调用开发处理是很方便的,mix 直接就包含了构建erlang代码 同时对于代码的互调用,只要使用符合语言格式要求就行了,以下是一个简单的互调用学习 项目准备 项目结构 ├── README.md ├── lib │ ├── a ......
elixir erlang

Spring cloud No spring.config.import property has been defined

* [解决 Spring Cloud 2021.0.5 版本,使用 nacos 做配置中心,报 No spring.config.import property has been defined 的问题\_add a spring.config.import=nacos: property to y ......
property defined Spring spring config

elixir config 简单说明

elixir 的config 模块,实际上就是标准的方法,只是mix 项目中在使用的时候使用了dsl 模式的,没有使用包含括号的模式调用 给人一种似乎觉得有点怪的调用模式 参考代码 只说明config 方法,实际上Config 模块还包含了其他方法 mix 中的调用 import Config co ......
elixir config

elixir 模块名一些参考资料

elixir 的模块名实际上是一个atom 类型的数据,以下是一些参考资料 参考使用 比如一个mix sup 项目 defmodule EctoDemo.Application do use Application @impl true def start(_type, _args) do chil ......
参考资料 模块 elixir 资料

elixir mix 自定义任务

elixir 的mix 比较灵活,同时也比较强大,很多时候我们可以自己定义一个任务,方便运行以及构建,不少 三方框架会提供一些方便的cli ,一般也会使用此方法比如ecto orm 框架,以下是一个简单的自定义task 学习 参考开发 目录位置 这个实际上都f放那里可以,只是有一个简单的约定,建议放 ......
任务 elixir mix

elixir mix observer 工具的使用

默认elixir mix 没有添加observer 工具的依赖直接运行会提示找不到方法 解决方法 添加几个额外的依赖 主要是observer,:wx,:runtime_tools 这几个 def application do [ extra_applications: [:logger,:obser ......
observer 工具 elixir mix

elixir defdelegate 使用

delegate 模式,在不少语言都支持,有些是隐式的(一些早期语言),有些是显式的(新语言,kotlin,swift等) elixir 也支持delegate 处理,还是比较方便的,以下是一个简单的使用 定义原始方法 default.ex defmodule Default do def logi ......
defdelegate elixir

absinthe elixir 的graphql 框架简单试用

absinthe elixir 的graphql 框架 包含的特性 graphql 草案的完整实现 插件化设计 异步字段解析以及批量解析,同时支持插件化的解析支持 安全 包含了基于GraphiQL 的playground 项目测试 基于了phoenix 框架 创建phoenix 项目 mix phx ......
框架 absinthe graphql elixir

elixir macro defoverridable 功能

基于macro 的包装函数可以使用defoverridable 可以方便进行方法的重写 参考使用 app.ex defmodule App do defmacro __using__(_options) do quote do def init do IO.puts "do init" end de ......
defoverridable 功能 elixir macro

No spring.config.import property has been defined

15:29:57.356 [main] DEBUG org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter - Application failed to start due to an exception org.sp ......
property defined spring config import

elixir apply 结合 macro 一个方便的开发技巧

此玩法实际在Phoenix elixir 项目中使用比较多,以下是一个简单的示例 示例代码 login.ex defmodule Login do def demoapp do quote do import unquote(__MODULE__) end end def dalong do IO. ......
技巧 elixir apply macro

Config:Spring Cloud分布式配置组件

Config:Spring Cloud分布式配置组件 问题总结 Spring Cloud Config? Spring Cloud Config工作原理? Spring Cloud Config 的特点? Config+Bus 实现配置的动态刷新? 问题答案 Spring Cloud Config ......
分布式 组件 Config Spring Cloud

wasmex webassenbly elixir 运行时

wasmex 是基于wasmtime 以及rust nif 开发的方便elixir 运行webassembly 的框架 与rust 的集成 与rust 集成使用的三方包 与mjml 工具类似使用了rustler_precompiled 以及rustler rust 使用的三方包 前边也说了是基于了w ......
webassenbly wasmex elixir

src/gemma.cpp:79:10: fatal error: openblas_config.h: No such file or directory

001、gemma软件编译安装报错如下: src/gemma.cpp:79:10: fatal error: openblas_config.h: No such file or directory 002、解决方法 ......

ApplicationHost.config文件被破坏导致IIS崩溃

https://www.8a.hk/index.php/news/content/4105.html 今天临近下班时,突然出现了一个重大BUG。服务器IIS崩溃了,所有的站点都打不开了。提示错误:“配置文件的XML格式不正确”。一下就惊到了,感觉自已又要加班了。 根据提示,找到了applicatio ......
ApplicationHost 文件 config IIS

elixir mjml_nif 试用

mjml_nif 是使用rustler 包装的mrml 基于了erlang 的nif 接口实现的elixir 模块,同时为了方便预编译nif的使用,使用了 rustler_precompiled,以下是一个简单的试用 项目试用 添加依赖 defp deps do [ {:mjml, "~> 3.0" ......
mjml_nif elixir mjml nif

edgecore.yaml-CRD-config

devices_v1alpha2_device.yaml apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/v ......
yaml-CRD-config edgecore config yaml CRD

rebar3 引用本地elixir 模块

前边简单说过基于rebar_mix 使用elixir模块,但是使用的模块是三方的,如果时候我们可以需要使用自己的 就可以使用本地git 项目,或者搭建自己的私服git,以下是一个简单使用 项目准备 本地elixir mix 项目 一个基于mix cli 创建的项目,同时进行git init mix ......
模块 rebar3 elixir rebar

rebar3 集成elixir 模块

社区包含了一个rebar3 的elixir mix 插件,可以方便rebar 使用elixir 模块 参考使用 rebar.config 配置 {erl_opts, [debug_info]}. {deps, [ % 添加引用 {decimal, "2.0.0"} ]}. {shell, [ {ap ......
模块 rebar3 elixir rebar

dunst config

[urgency_low] foreground = "#eceff4" background = "#1c2027" [urgency_normal] foreground = "#eceff4" background = "#1c2027" ; background = "#ff0000" [u ......
config dunst

App.Config文件复杂对象自动映射

Nerdle.AutoConfig 是什么 .Net Framework 使用 app.config XML文件作为默认的配置文件, visual studio也提供很方便的配置管理功能, 甚至可以自动将配置项映射到 Settings 类, 但这仅限于简单的数据类型, 比如 string/int 等 ......
对象 文件 Config App
共234篇  :1/8页 首页上一页1下一页尾页