随笔分类 - 学习笔记
用于归类学习知识
摘要:http://www.doczj.com/doc/8036cf8c83d049649b665835-3.html2021/11/12 15:08:24 IP Address 172.16.26.208 Port number 2404: T ->U 68 04 07 00 00 00 发送→激活传输
阅读全文
摘要:sudo apt-get install gdebi-core wget https://download2.rstudio.org/server/trusty/amd64/rstudio-server-1.2.5019-amd64.deb sudo gdebi rstudio-server-1.2
阅读全文
摘要:Scratch3.0源码研究及集成: 准备工作可参考:https://blog.csdn.net/tank_ft/article/details/104038256 不同的地方在于,本版本是基于Scratch自带的登录按钮来触发,所以没有用到上面参考博客里提到的自定义登录按钮。下面我把相关步骤,以及
阅读全文
摘要:让控件支持拖拽动作A.setDragEnable(True) 设置A可以拖动B.setAcceptDrops(True) 设置B可以接受拖动B需要满足两个事件1.dragEnterEvent 将A拖到B触发2.dropEvent 在B的区域放下A时发生触发具体实现代码如下所示:import sys,
阅读全文
摘要:每天凌晨2点 0 0 2 * * ?和每天隔一小时 0 * */1 * * ? 例1:每隔5秒执行一次:*/5 * * * * ? 例2:每隔5分执行一次:0 */5 * * * ? 在26分、29分、33分执行一次:0 26,29,33 * * * ? 例3:每天半夜12点30分执行一次:0 30
阅读全文
摘要:上一次研究了百度的全民小视频的自动化发布, 这次,把 抖音, 火山,全民, 快手, 西瓜, 秒拍, 美拍,好看, 腾讯微视, 爱奇艺等主流小视频平台的后台发布, 全都实现了自动化账号切换,视频发布。工具下载地址: 链接:https://pan.baidu.com/s/1qbUXvobTrn5aonm
阅读全文
摘要:利用wait的阻塞机制, 就能够实现暂停和恢复了, 再配合循环判断标识位, 就能实现退出了 #!/usr/bin/env python # coding: utf-8 import threading import time class Job(threading.Thread): def __in
阅读全文
摘要:# coding=utf-8 import sys from PyQt5.QtCore import * from PyQt5.QtWidgets import * from PyQt5.QtGui import * class Table(QWidget): def __init__(self,p
阅读全文
摘要:from PyQt5.QtWidgets import QComboBox,QLineEdit,QListWidget,QCheckBox,QListWidgetItem class ComboCheckBox(QComboBox): def __init__(self,items):#items=
阅读全文
摘要:解决方法: 1. 修改build.gradle 里面的repositories 2. 如果原来是没问题的,那么就运行下flutter clean 然后再run 就没问题了
阅读全文
摘要:以下是SplashPage页面用到的开源组件 SharedPreferences 工具类 SpUtil 引导Banner Swiper 倒计时工具类TimerUtil 一个App通常都会有SplashPage页面,在这页面包含启动页、引导页(app简介说明)、闪屏广告页(点广告页跳转到相应H5页面)
阅读全文
摘要:解决 androidStudio Settings->Plugins下载插件,插件列表加载不出来 点击设置,勾选Auto-detect proxy settings,输入网址 https://plugins.jetbrains.com/ 在进行搜索,如下,可以看到对应的安装列表。
阅读全文
摘要:初学flutter,初学前端,尝试在dart中直接使用HttpClient时,直接报出Platform not supported,查资料发现他还不支持浏览器。 通过查阅资料发现可以借助axios 与 dart:js 之间的互相调用来实现。目前还不清楚有没有其它更好的方式。实例代码: main.da
阅读全文
摘要:说明 flutter_full_pdf_viewer 可以实现从网络上下载 pdf 文件并且显示出来。 包地址:flutter_full_pdf_viewer: ^1.0.6 使用方法 1.在 pubspec.yaml 文件中添加如下的包: dependencies: # pdf 阅读器 flutt
阅读全文
摘要:1、创建一个路径。例如我创建是: /Users/chenghui/ 然后创建一个文件夹: development 把下载好的Fluter 解压到当前目录下: development /Users/chenghui/development 2、当你看官网的时候,Mac环境配置 许多小伙伴都是卡在了配置
阅读全文
摘要:前言 最近项目中很多地方有一个相同的需求,那就是点击一个按钮的时候在按钮的某一个方向弹出一个视图,这个视图需要带有一个箭头指向,就像下图一样。要实现这个功能,就要用到UIPopoverPresentationController这个类了。 WechatIMG38.jpeg 简介 一个带有箭头的弹出视
阅读全文
摘要:iOS开发中界面跳转有两种方式,上下跳转和左右跳转。 上下跳转_TO: let secondViewController = SecondViewController() self.presentViewController(secondViewController, animated: true,
阅读全文
摘要:1.首先推出选择拍照还是相册的alert,代码如下: UIAlertController *alert = [UIAlertController alertControllerWithTitle:nil message:nil preferredStyle: UIAlertControllerSty
阅读全文
摘要:相关知识: https://blog.csdn.net/BUG_delete/article/details/103699563 'AppDelegate' is only available in iOS 13.0 or newer The correct code is let appDeleg
阅读全文
摘要:+ (BOOL)getIsIpad { NSString *deviceType = [UIDevice currentDevice].model; if([deviceType isEqualToString:@"iPhone"]) { //iPhone return NO; } else if(
阅读全文