// 基本步骤 // 1. 打开数据库 // 2. 处理数据 // 3. 关闭数据库 //先设置全局变量 lazy var documentsPath: String = { let paths = NSSearchPathForDirectoriesInDomains(.documentDirec ...
分类:
数据库 时间:
2016-12-16 14:32:26
阅读次数:
220
一.首先需要了解 1>mac 一般使用bash作为默认shell 2>Mac系统的环境变量,加载顺序为: 1、系统级别的 /etc/profile /etc/bashrc /etc/paths 2、用户级别的 ~/.bash_profile (mac用的) ~/.bash_login ~/.prof ...
分类:
系统相关 时间:
2016-12-16 00:50:43
阅读次数:
376
Django 配置 运行 django-admin.py startproject [project-name] 命令会生成一系列文件,在Django 1.6版本以后的 settings.py 文件中有以下语句: 1 2 3 # Build paths inside the project like ...
分类:
其他好文 时间:
2016-12-11 15:42:15
阅读次数:
163
Redundant Paths Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 13712 Accepted: 5821 Description In order to get from one of the F (1 <= F ...
分类:
其他好文 时间:
2016-12-11 08:02:45
阅读次数:
194
安装java1.下载 linux 环境的jdk2.上传该压缩包到 linux 系统中并且解压tar -zxvf 压缩包名3.配置环境变量并且刷新配置export JAVA_HOME=/alidata/java/jdk1.8.0_111export PATH=$JAVA_HOME/bin:$PATHs... ...
分类:
Web程序 时间:
2016-12-10 13:46:32
阅读次数:
257
1 63. Unique Paths II 带障碍物的路径计算 思路:dp[i][j] = 0 if grid[i][j] = 1 (障碍物) 再按照无障碍物的逻辑进行计算 int uniquePathsWithObstacles(vector<vector<int>>& obstacleGrid) ...
分类:
其他好文 时间:
2016-12-05 19:39:59
阅读次数:
195
1、启动 1)程序的运行参数。 set args //指定运行时参数。(如:set args 10 20 30 ) show args //查看设置好的运行参数。 2)运行环境 path //设定程序的运行路径。 show paths //查看程序的运行路径。 set environment var ...
分类:
数据库 时间:
2016-12-04 19:37:43
阅读次数:
195
1 63. Unique Paths II 带障碍物的路径计算 思路:dp[i][j] = 0 if grid[i][j] = 1 (障碍物) 再按照无障碍物的逻辑进行计算 int uniquePathsWithObstacles(vector<vector<int>>& obstacleGrid) ...
分类:
其他好文 时间:
2016-12-04 11:45:49
阅读次数:
168
62. Unique Paths A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down ...
分类:
其他好文 时间:
2016-12-01 11:38:41
阅读次数:
243
Writes log messages to one or more files. Since NLog 4.3 the ${basedir} isn't needed anymore for relative paths. Supported in .NET, Silverlight, Compa ...
分类:
其他好文 时间:
2016-11-22 11:51:27
阅读次数:
756