Welcome to Jonic Developer Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions

0 votes
170 views
1 answer
    I am implementing NAT hole punch with python. The ip,port trading thing works in the local host, but it does not work between two internet networks. I think ... received the data? Is there any solution for this to implement NAT hole punch?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
432 views
1 answer
    求问怎么保存并退出当前命令行编辑界面?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
550 views
1 answer
    I am trying to add DocumentLink on the Paragraph which I have added using Migradoc. My Document looks like below I have added Tag to the Paragraph "API- ... table rows? I want RendererInfo becuase I want to get the LayoutInfo from that....
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
341 views
1 answer
    目前遇到了一种业务场景: 1 小程序的默认启动页,设置为页面A,当用户没有登录时,进入页面A,因为此时没有token,后端会返回403,前端会自动重定向到登录页 2 用户从登录页登录后,后端会返回当前用户的角色信息,前端会把角色信息存储在小程序的storage缓存里 3 如果是角色a,则跳转到页面A;如果是角色b,则跳转到页 ... 白的启动页C作为默认页,在这个C页面去判断用户角色,然后跳转到对应页面,但是这样也会有一个重定向的过程,体验和第一种办法差不多,有更好的办法吗?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
456 views
1 answer
    I am using below c++ code to copy a file (size is around 1.5-2 gb) from one location to another. #include <fstream> int main() { std::ifstream ... want to increase the buffer size for more better performance, How can I increase the buffer ?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
218 views
1 answer
    如题 使用Mock,而不是启动服务连接mysql服务的测试方法。...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
484 views
1 answer
    删减了一些代码, 1.点击搜索之后查询10条数据,表能正常渲染出来 2.点击表末尾按钮加载新的10条数据,替换原来的tabledata数据后控制台报错,表没有变化还是第一次的样子 <div class="search-tool"> <el-input placeholder="请输入内容" :disabled=" ... == 1001) { callback && callback(num.data); } }) } 控制台检查表数据的时候发现数据已经变化了,但是就是报错 ...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
384 views
1 answer
    表格里第一行是总览行,需要一直置顶,但是自带的sorter排序会把他加进去一起排序,假如给第一行加一个最大的权重,升序的时候又回排到最后一行,希望能保证这一行永远在第一行不变,怎么办呢?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
497 views
1 answer
    之前写ansible playbook都是在服务器上直接vim编写,但是playbook越来越多,有没有什么ansible代码补全工具可以用。 vscode 上有 atom-autocomplete-ansible pycharm上有 OrchidE,但这个是收费的。 或者写playbook有什么最佳实践?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
268 views
1 answer
    vue-cli4,按需加载时,Tree的加载有问题 import { Table, Page, Tree } from 'view-design' components: { Table: Table, Page: Page, Tree: Tree },...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
218 views
1 answer
    对相同的通道注册不同的相关事件返回同一个SelectionKey,但其特性又不一样,这是怎么实现的? public class Server { public static void main(String[] args) throws IOException, InterruptedException ... true key2.isWritable()=true keyCountB =1 set1 size=2 set2 size=1 key1==key2结果:true...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
482 views
1 answer
    如题,例如访问/aaa/bbb,scope设置为/是可以正常拦截到的,如果设置为/aaa这样就会拦截不到 代码: <!-- index.html --> <!-- 目录结构: > index.html > worker.js --> <!DOCTYPE html> < ... } </script> </head> <body> </body> </html> // worker.js self.addEventListener('fetch', console.log)...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
225 views
1 answer
    在做文章点击次数时,输出接口给前端,前端调用一次,但是接口却执行两次??为什么呢? Laravel 6.0版本...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
291 views
1 answer
    I'm trying to download some documents via SAP GUI using Python, but I get them with a wrong encoding. When I tried UTF8 manually - i got the wrong ... So how can I force SAP GUI use different encoding, use my settings downloading files?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
83 views
1 answer
    I'm making a Django app that connects to a PostreSQL database other than the database used by the Django app itself. currently, I'm writing SQL code inside ... saving my custom .sql fils? is there any special utility for this in Django?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
400 views
1 answer
    @Configuration public?class?RestTemplateConfig?{ @Bean public?RestTemplate?restTemplatMessageSdk()?{ HttpComponentsClientHttpRequestFactory?httpRequestFactory?=?new?HttpComponentsClientHttpRequestFactory ... (0,t); return?restTemplate; } }...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
137 views
1 answer
    According to the documentation https://developer.mozilla.org/ru/docs/Web/API/Element/insertAdjacentHTML the insertAdjacentElement function can only add an element object, and ... are NOT the same as you need to add the Text object!...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
429 views
1 answer
    G2 4.0 Slider 没有onchange事件了啊,3.0都有,slider变化怎么监听页面数据发生改变啊,我需要根据数据变化动态处理一些东西,现在slider没有onchange 不知道怎么处理,用 object.defineProperty(chart.current,"filteredData") 能监听到,在React hooks,执行太频繁了,节流也没办法,一直会频繁触发,...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
580 views
1 answer
    I am trying to set a button to each td text in the table that will copy the contents to your clipboard. I want to select the node contents of each text using jquery's this ... > Copy some even more text </td> </tr> </thead> </table> </html>...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
347 views
1 answer
    类似responsive viewer,但要使用不同的cookie和localstorage 如题。。。...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
465 views
1 answer
    PHP的后台,已经配置好跨域 以登录为例 不封装的axios的用法: this.axios({ method: 'POST', url: 'http://api.xxx.com/member/login', data: { mobile: that.ruleForm.mobile, password: that.ruleForm.pass ... , password: that.ruleForm.pass }) 然后就出现跨域问题了,不知道问题出在哪里,有没有懂的大神?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
197 views
1 answer
    I would like to crop an image and for that, I am using the pyvips package (if you have another package which allows me to do the work faster than my method, ... I don't know why my function does not return what I want, the red rectangle....
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
397 views
1 answer
    在使用 vue-seamless-scroll 组件的时候发现 父级页面 使用 <vue-seamless-scroll ref="seamlessScroll"><vue-seamless-scroll> 获取的 this.$refs.seamlessScroll 和在源码 mounted 打印的 this 竟然不一样... 是我理解错两个定义了吗 不应该是指向同一个组件吗,懵了 求大佬~~...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
107 views
1 answer
    I have an column id which had type int but later changed to bigint. It has both types of values. from pyspark.sql.functions import * from pyspark.sql.types ... [id], Expected: int, Found: INT64 I tried mergeSchema did not work either....
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
130 views
1 answer
    除了axios里用 axios.defaults.transformResponse = [function (data) {}] 原生ajax和fetch要怎么使用呢?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
228 views
1 answer
    假设有 10 个动态按钮,每个按钮有对应的方法名 `<button v-for="(rs, index) in btns" @click="clickFun(" + rs.method + ")">{{rs.name}}</button> methods: { clickFun(fn) { // 当前使用 eval ,但是 ... / eval('this.' + fn) }, methodA() { // dosth } }` 这种的 eval ,有什么好的替代方案 ?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
359 views
1 answer
    I'm a noob in programming. We're working with a database and login authentication works fine. I got suspicious when trying to create a new user. It didn't ... directory What should I do? Sorry if bad english. It's not my mother language....
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to Jonic Developer Community for programmer and developer-Open, Learning and Share
...