- 博客(7)
- 资源 (2)
- 收藏
- 关注
原创 [树莓派]远程连接
install xrdpxrdp会出现网路连接不上的情况,先更换数据源:sudo nano /etc/apt/sources.list.d/raspi.list注释了原来的源,更换为:deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi 安装完成后,开启VNC服务
2019-12-21 15:54:29 97
原创 (转)[树莓派】树莓派安装系统详细步骤
统,现在我将详细的讲述树莓派安装系统的步骤1.第一部下载你所要的树莓派系统https://www.raspberrypi.org/downloads/在这里你可以选择raspbian这个是官方的树莓派系统 ,如果你的树莓派买来时已经按好系统,那么系统也通常是这个点进去后是如下界面推荐第一个也就是我圈住的,因为第一个是有图形界面即桌面的,第二个适合使用开源系统熟练的人用。当然除了raspbian,你也可以选择,刚才网址进去向下翻
2019-12-20 18:30:27 285
原创 [MySQL]ERROR 1822 : Failed to add the foreign key constraint. Missing index for
N_PERSONS` (`GUID`) ON DELETE NO ACTION ON UPDATE NO ACTION;报错:Error Code: 1822. Failed to add the foreign key constraint. Missing index for constraint 'FAS_CABINET_FK01' in the referenced table 'COMMON_PERSONS'其中GUID在`storage`.`COMMON_PERSONS`中
2019-12-11 18:19:27 4053
原创 [MySQL]Error when foreign referencing in mySQL (Error 3780)
LE `basename`.`tablename` COLLATE=utf8_bin;发现仍然不行,这是由于1.修改数据库的collation,对修改后新建的表才会生效,已存在表不生效2.修改表的collation,对修改后新建的字段才会生效,已存在字段不生效3.修改字段的collation,对修改后新写入生效,同时对已存在的也生效也就是说即使修改了表的collation,对现有column是不生效的,所以需要新建column
2019-12-05 14:02:08 1034
原创 [LeetCode]TypeError: xxx takes 2 positional arguments but 4 were
会多了一个self的参数
2019-12-03 01:02:20 1112
原创 [LeetCode]Python: NameError:xxx is not defined
变量需要在前面加self,例如self.foo()这样
2019-12-03 00:59:24 1470
原创 [IOS]通過category來控制UIViewController的Navigation样式
eFromNib]; self.navigationItem.leftBarButtonItem = [self backButton]; NSLog(@"test test:%f",self.navigationItem.leftBarButtonItem.customView.frame.origin.x);}- (UIBarButtonItem *)backButton{ UIBarButtonItem * item =
2019-12-02 15:36:18 142
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人