上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 68 下一页
摘要: http://www.hostbuf.com/downloads/finalshell_install.pkg 参考: http://www.hostbuf.com/t/988.html 阅读全文
posted @ 2020-01-14 01:00 anobscureretreat 阅读(1239) 评论(0) 推荐(0)
摘要: 首先Windows操作系统需要安装git. 安装完成后,再到任意的文件夹内,点击右键.选择git bash here 打开之后,输入ssh-keygen,一路按enter键. 全部结束后,再到C:\Users\Administrator\.ssh 文件夹下,打开id_rsa.pub文件,复制文件内的 阅读全文
posted @ 2020-01-13 23:05 anobscureretreat 阅读(7137) 评论(0) 推荐(0)
摘要: pyqt https://blog.csdn.net/quantam/article/details/90267824 http://code.py40.com/pyqt5/26.html pyqt 打包为dmg https://www.zhihu.com/question/28374491/ans 阅读全文
posted @ 2020-01-13 14:49 anobscureretreat 阅读(837) 评论(0) 推荐(0)
摘要: chsh -s /bin/zsh 阅读全文
posted @ 2020-01-13 14:47 anobscureretreat 阅读(373) 评论(0) 推荐(0)
摘要: common.dart List<String> names= ['a','b']; uu.dart import 'common.dart'; class uu { List<String> utilNames=names; } Util.dart import 'common.dart'; cl 阅读全文
posted @ 2020-01-13 12:15 anobscureretreat 阅读(390) 评论(0) 推荐(0)
摘要: import time import datetime t=datetime.datetime.now() #当前日期 t1 =t.strftime('%Y-%m-%d %H:%M:%S') #转为秒级时间戳 ts1=time.mktime(time.strptime(t1, '%Y-%m-%d % 阅读全文
posted @ 2020-01-12 16:29 anobscureretreat 阅读(5419) 评论(0) 推荐(1)
摘要: 我们只需要记住textDirection就是用来控制水平方向的起始位置和排列方向verticalDirection就是用来控制垂直方向的起始位置和排列方向 然后记住MainAxisAlignment(主轴)就是与当前控件方向一致的轴CrossAxisAlignment(交叉轴)就是与当前控件方向垂直 阅读全文
posted @ 2020-01-12 00:19 anobscureretreat 阅读(321) 评论(0) 推荐(0)
摘要: import 'package:flutter/material.dart'; void main() { print("5hahahha"); runApp(new MyApp()); } class MyApp extends StatelessWidget { @override Widget 阅读全文
posted @ 2020-01-11 22:57 anobscureretreat 阅读(615) 评论(0) 推荐(0)
摘要: 出现如上报错, 注释掉android/app/build.gradle文件中的以下内容, 参考: https://stackoverflow.com/questions/54457245/a-problem-occurred-evaluating-project-app-path-may-not-b 阅读全文
posted @ 2020-01-10 00:29 anobscureretreat 阅读(5966) 评论(2) 推荐(0)
摘要: >>> import sys >>> sys.platform 'darwin' >>> 阅读全文
posted @ 2020-01-08 15:18 anobscureretreat 阅读(359) 评论(0) 推荐(0)
摘要: '__main__' 是顶层代码执行的作用域的名称。模块的 __name__ 在通过标准输入、脚本文件或是交互 式命令读入的时候会等于 '__main__'。 模块可以通过检查自己的 __name__ 来得知是否运行在 main 作用域中,这使得模块可以在作为脚本或 是通过python -m运行时条件性地执行一些代码,而在被import时不会执行。 if __name__ == "__main__ 阅读全文
posted @ 2020-01-08 15:17 anobscureretreat 阅读(270) 评论(0) 推荐(0)
摘要: 输出 阅读全文
posted @ 2020-01-08 15:16 anobscureretreat 阅读(1364) 评论(0) 推荐(0)
摘要: 输出 阅读全文
posted @ 2020-01-07 21:19 anobscureretreat 阅读(885) 评论(0) 推荐(0)
摘要: index.html server 运行后,打开浏览器 阅读全文
posted @ 2020-01-07 21:08 anobscureretreat 阅读(200) 评论(0) 推荐(0)
摘要: 输出 阅读全文
posted @ 2020-01-07 19:22 anobscureretreat 阅读(747) 评论(0) 推荐(0)
摘要: macname@bogon ~ % echo '{"json": "obj"}' | python3.7 -m json.tool { "json": "obj" } 阅读全文
posted @ 2020-01-07 17:30 anobscureretreat 阅读(574) 评论(0) 推荐(0)
摘要: macname@bogon testenv3.7 % cat file.json { "code": 200, "msg": "请求成功", "data": { "username": "abc", "mobile": "18611751121" }, "task":[{ "username": "abc1", "mobile": "1861175 阅读全文
posted @ 2020-01-07 17:27 anobscureretreat 阅读(965) 评论(0) 推荐(0)
摘要: import json a={'4': 5, '6': 7} print(json.dumps(a, sort_keys=True, indent=4)) 输出 { "4": 5, "6": 7 } 阅读全文
posted @ 2020-01-07 17:20 anobscureretreat 阅读(1950) 评论(0) 推荐(0)
摘要: 输出 阅读全文
posted @ 2020-01-07 16:17 anobscureretreat 阅读(4254) 评论(0) 推荐(1)
摘要: cat /etc/shells 显示如下: /bin/bash /bin/csh /bin/ksh /bin/sh /bin/tcsh /bin/zsh 阅读全文
posted @ 2020-01-07 15:11 anobscureretreat 阅读(396) 评论(0) 推荐(0)
摘要: import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; void main() { runApp(new MyApp( items: new List<String>.generate(10000, (i) => "Item $i"), )); } class MyApp extends S 阅读全文
posted @ 2020-01-06 23:12 anobscureretreat 阅读(248) 评论(0) 推荐(0)
摘要: import 'package:flutter/material.dart'; void main() => runApp(new MyApp()); class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { final title = 'Gesture Demo'; return ne 阅读全文
posted @ 2020-01-06 23:01 anobscureretreat 阅读(146) 评论(0) 推荐(0)
摘要: import 'dart:async'; import 'dart:convert'; import 'package:flutter/material.dart'; import 'package:http/http.dart' as http; Future<Post> fetchPost() async { final response = await http.get('https://j 阅读全文
posted @ 2020-01-06 22:47 anobscureretreat 阅读(767) 评论(0) 推荐(0)
摘要: 进入到你的flutter sdk目录中,然后找到bin/cache/lockfile文件,删除它即可。 删除之后你再运行flutter doctor,你会发现错误已经解决了。 参考: https://blog.csdn.net/qq_26287435/article/details/89537153 阅读全文
posted @ 2020-01-06 22:44 anobscureretreat 阅读(2939) 评论(0) 推荐(0)
摘要: 如图 阅读全文
posted @ 2020-01-06 01:11 anobscureretreat 阅读(571) 评论(0) 推荐(0)
摘要: 如图 阅读全文
posted @ 2020-01-06 00:29 anobscureretreat 阅读(248) 评论(0) 推荐(0)
摘要: 如图 阅读全文
posted @ 2020-01-06 00:12 anobscureretreat 阅读(980) 评论(0) 推荐(0)
摘要: 如图 阅读全文
posted @ 2020-01-05 23:59 anobscureretreat 阅读(1062) 评论(0) 推荐(0)
摘要: import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; void main() { runApp(new AnimatedListSample()); } class AnimatedListSample extends StatefulWidget { ... 阅读全文
posted @ 2020-01-05 23:47 anobscureretreat 阅读(448) 评论(0) 推荐(0)
摘要: iml是 intellij idea的工程配置文件,里面是当前projec的一些配置信息 web.xml 是当前这个project是一个web project,里面是web 工程的具体配置信息 初始参数,servlet filter 等等 iml是 intellij idea的工程配置文件,里面是当 阅读全文
posted @ 2020-01-05 00:53 anobscureretreat 阅读(888) 评论(0) 推荐(0)
摘要: mac从10.13升级到10.15.2 环境变量有些无法生效 解决方法: 加入如下内容 参考: https://support.apple.com/zh-cn/HT208050 阅读全文
posted @ 2020-01-05 00:45 anobscureretreat 阅读(485) 评论(0) 推荐(0)
摘要: 意思是 。。。 pubspec.lock的文件定义包所依赖的每个直接依赖项和间接依赖项的具体版本和其他标识信息 pubspec只列出直接依赖项和允许版本的范围,与pubspec不同,pubspec.lock文件全面地将整个依赖项对应到包的特定版本。pubspec.lock确保您可以重新创建应用程序使 阅读全文
posted @ 2020-01-05 00:05 anobscureretreat 阅读(2839) 评论(0) 推荐(0)
摘要: 运行效果 阅读全文
posted @ 2020-01-04 12:28 anobscureretreat 阅读(136) 评论(0) 推荐(0)
摘要: 运行效果 阅读全文
posted @ 2020-01-04 12:26 anobscureretreat 阅读(110) 评论(0) 推荐(0)
摘要: 这是因为一些mac用户在升级系统之后,电脑启用了SIP(System Integrity Protection),增加了rootless机制,导致即使在root权限下依然无法修改文件,在必要时候为了能够修改下面的文件,我们只能关闭该保护机制 1)重启,过程中按住 command+R,进入保护模式 2 阅读全文
posted @ 2020-01-03 21:54 anobscureretreat 阅读(3026) 评论(0) 推荐(0)
摘要: //find number of times each digit occur in a number import java.util.Scanner; public class Numbers { public static void main(String[] args) { int num; int[] arr = new int[10]; // we use hashing to sol 阅读全文
posted @ 2020-01-03 09:44 anobscureretreat 阅读(1904) 评论(0) 推荐(0)
摘要: //check whether the number is palindrome or not /* * a number is said to be palindrome if, reverse of the number is same to * that of real. for example, 121, 52025, 5885 etc.. */ import java.u... 阅读全文
posted @ 2020-01-03 09:42 anobscureretreat 阅读(694) 评论(0) 推荐(0)
摘要: #coding=utf-8 import requests import time import json url="http://xxx/companies" payload={"companyName":"test产废单位10081934","companyType":2,"companyLinkman":"小明","companyPhone":"13111112222","addr... 阅读全文
posted @ 2020-01-03 01:23 anobscureretreat 阅读(136) 评论(0) 推荐(0)
摘要: #coding=utf-8 import requests import json #获取联单编号 def get_liandan_code(url,producer_code): url=url+"/bc/orders/manual/"+producer_code r = requests.post(url) assert r.json()['code']==... 阅读全文
posted @ 2020-01-03 01:22 anobscureretreat 阅读(137) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-01-02 23:37 anobscureretreat 阅读(202) 评论(0) 推荐(0)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 68 下一页