- 博客(47)
- 资源 (6)
- 收藏
- 关注
原创 image not recognized
场景Mac OS 解压安装dmg文件时,提示信息如下:原因1. 权限不对2. 下载的文件不完整解决针对原因一,解决方式如下: 注:如果没有"任何来源"这个选项:1. 打开终端。(终端位置:Finder => 应用程序 => 使用工具 => 终端)2. sudo spctl --master-disable3. 输入开机密码,回车。(注:密码不显示,输入完密码回车即可)针对原因二,解决方
2017-10-24 08:42:13 342371 1
原创 python 计算器
运行截图源码# -*- coding: utf-8 -*-from tkinter import *__author__ = 'tianshl'__date__ = '2017/10/16'class Application(Frame): def __init__(self): Frame.__init__(self) self.grid()
2017-10-17 22:30:02 388713
原创 python 按中文排序
安装中文库sudo apt-get updatesudo apt-get install language-pack-zh-hans-basesudo dpkg-reconfigure locales使用import localelocale.setlocale(locale.LC_COLLATE, 'zh_CN.UTF8')cmp = locale.strcollcourses.sort(
2017-10-13 11:33:05 431853
原创 SSH免登录
场景A主机: 192.168.1.100B主机: 192.168.1.200预期: A使用SSH无需输入密码登录B在A主机上生成公钥/私钥tianshl:~ tianshl$ ssh-keygen -t rsa -P ''默认生成目录为: ~/.sshtianshl:~ tianshl$ cd ~/.ssh && tree.├── id_rsa...
2017-10-11 11:18:10 410310
原创 form配合iframe实现文件异步上传
hosts文件点此下载翻墙 hosts备份现有hosts (以防万一)替换现有hostsMacmv ./hosts /etc/hostsLinuxmv ./hosts /etc/hostssudo /etc/init.d/networking restart # 或重新联网Windowsc:\windows\system32\drivers\etc\hosts
2017-10-11 11:10:30 369229
原创 Mac系统nginx 安装与配置
使用brew安装nginxbrew install nginx加入开机启动sudo cp /usr/local/opt/nginx/homebrew.mxcl.nginx.plist /Library/LaunchDaemons/sudo launchctl load -w /Library/LaunchDaemons/homebrew.mxcl.nginx.plist配置文件路径/usr/loc
2017-10-10 21:45:12 354487 1
原创 Mac SecureCRT 破解
文件文件地址: https://pan.baidu.com/s/1jISgEJs 密码: 5uhq安装文件: scrt-7.3.7-1034.osx_x64.dmg破解文件: securecrt_mac_crack.pl安装1. 双击安装文件2. 点击"Agree"3. 将"SecureCRT"拷贝至 应用程序破解1. sudo perl ~/Downloads/securecrt_mac_
2017-10-10 15:19:13 241407 1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人