博客园 - chunchill
uuid:24b78886-0ed1-41c2-8670-e3f31dcf42c4;id=141956
2020-02-09T08:50:05Z
chunchill
https://www.cnblogs.com/shineqiujuan/
feed.cnblogs.com
https://www.cnblogs.com/shineqiujuan/p/12287635.html
print all paths from a given source to a destination using BFS - chunchill
Given a directed graph, a source vertex ‘src’ and a destination vertex ‘dst’, print all paths from given ‘src’ to ‘dst’. Consider the following direct
2020-02-09T08:50:00Z
2020-02-09T08:50:00Z
chunchill
https://www.cnblogs.com/shineqiujuan/
【摘要】Given a directed graph, a source vertex ‘src’ and a destination vertex ‘dst’, print all paths from given ‘src’ to ‘dst’. Consider the following direct <a href="https://www.cnblogs.com/shineqiujuan/p/12287635.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shineqiujuan/p/6036594.html
MariaDB 在 Windows 下 noinstall 版本的安装和配置 - chunchill
1. 下载并解压 noinstall 压缩包,假设解压到 D:\APP\mariadb-10.0.17-winx64 目录 下载地址(MariaDB 10.0.17 Stable):llarian.net 2. 创建配置文件 my.ini (D:\APP\mariadb-10.0.17-winx64
2016-11-06T14:02:00Z
2016-11-06T14:02:00Z
chunchill
https://www.cnblogs.com/shineqiujuan/
【摘要】1. 下载并解压 noinstall 压缩包,假设解压到 D:\APP\mariadb-10.0.17-winx64 目录 下载地址(MariaDB 10.0.17 Stable):llarian.net 2. 创建配置文件 my.ini (D:\APP\mariadb-10.0.17-winx64 <a href="https://www.cnblogs.com/shineqiujuan/p/6036594.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shineqiujuan/p/5331863.html
Linux英文全称 - chunchill
su:Swith user 切换用户,切换到root用户cat: Concatenate 串联uname: Unix name 系统名称df: Disk free 空余硬盘du: Disk usage 硬盘使用率chown: Change owner 改变所有者chgrp: Change group
2016-03-29T01:58:00Z
2016-03-29T01:58:00Z
chunchill
https://www.cnblogs.com/shineqiujuan/
【摘要】su:Swith user 切换用户,切换到root用户cat: Concatenate 串联uname: Unix name 系统名称df: Disk free 空余硬盘du: Disk usage 硬盘使用率chown: Change owner 改变所有者chgrp: Change group <a href="https://www.cnblogs.com/shineqiujuan/p/5331863.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shineqiujuan/p/5178335.html
eclipse代码自动补全[转] - chunchill
一、每次输入都自动提示 设置Window->preferences->Java->Editor->Content Assist 再右下角Auto activation triggers for Java里面改为 abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQR
2016-02-02T10:58:00Z
2016-02-02T10:58:00Z
chunchill
https://www.cnblogs.com/shineqiujuan/
【摘要】一、每次输入都自动提示 设置Window->preferences->Java->Editor->Content Assist 再右下角Auto activation triggers for Java里面改为 abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQR <a href="https://www.cnblogs.com/shineqiujuan/p/5178335.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shineqiujuan/p/4717828.html
linux运行级别 - chunchill
也许大家偶然会发现/sbin里有个init命令。你知道它是如何使用的吗? 如果你不喜欢使用图形登录方式,如何能够让用户在控制台下运行startx命令呢? 有时你要维护服务器,暂时不希望别的用户登录系统,但自己仍对网络有访问权,又该怎么办呢? 其实,如果你知道了三个问题之间的关系,它们就不成问...
2015-08-10T05:57:00Z
2015-08-10T05:57:00Z
chunchill
https://www.cnblogs.com/shineqiujuan/
【摘要】也许大家偶然会发现/sbin里有个init命令。你知道它是如何使用的吗? 如果你不喜欢使用图形登录方式,如何能够让用户在控制台下运行startx命令呢? 有时你要维护服务器,暂时不希望别的用户登录系统,但自己仍对网络有访问权,又该怎么办呢? 其实,如果你知道了三个问题之间的关系,它们就不成问... <a href="https://www.cnblogs.com/shineqiujuan/p/4717828.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shineqiujuan/p/4716443.html
apache服务器安装以及使用passenger插件部署rails应用 - chunchill
小例子可以部署在rails自带的WEBrick上,逐渐往后走还得上Apache。安装apache服务器命令是sudo apt-get install apache2安装passenger插件安装完毕还不能立刻用,因为想运行rails应用的话,还要为apache服务器安装插件passenger。pas...
2015-08-09T13:42:00Z
2015-08-09T13:42:00Z
chunchill
https://www.cnblogs.com/shineqiujuan/
【摘要】小例子可以部署在rails自带的WEBrick上,逐渐往后走还得上Apache。安装apache服务器命令是sudo apt-get install apache2安装passenger插件安装完毕还不能立刻用,因为想运行rails应用的话,还要为apache服务器安装插件passenger。pas... <a href="https://www.cnblogs.com/shineqiujuan/p/4716443.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shineqiujuan/p/4711695.html
Rails中的缓存 - chunchill
最近学习Rails。看到如下代码:Your Pragmatic Catalog 对其中不是很明白。研究后有如下发现:1、配置 配置 :/...
2015-08-07T11:04:00Z
2015-08-07T11:04:00Z
chunchill
https://www.cnblogs.com/shineqiujuan/
【摘要】最近学习Rails。看到如下代码:Your Pragmatic Catalog 对其中不是很明白。研究后有如下发现:1、配置 配置 :/... <a href="https://www.cnblogs.com/shineqiujuan/p/4711695.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shineqiujuan/p/4706053.html
Ubuntu 和 Redhat / Fedora 服务管理命令对比表(附Fedora16新的服务管理工具systemctl ) - chunchill
以 apache/httpd 服务作为例子任务Red Hat/FedoraUbuntuUbuntu(with sysv-rc-conf or sysvconfig)立即启动/停止某服务service httpd startinvoke-rc.d apache startservice apache ...
2015-08-05T14:35:00Z
2015-08-05T14:35:00Z
chunchill
https://www.cnblogs.com/shineqiujuan/
【摘要】以 apache/httpd 服务作为例子任务Red Hat/FedoraUbuntuUbuntu(with sysv-rc-conf or sysvconfig)立即启动/停止某服务service httpd startinvoke-rc.d apache startservice apache ... <a href="https://www.cnblogs.com/shineqiujuan/p/4706053.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shineqiujuan/p/4706047.html
ubuntu服务管理 - chunchill
uRedhat 提供了chkconfig这个命令来管理系统在不同运行级别下的服务开启/关闭: chkconfig ServiceName on/off 并可以用chkconfig --list(两个杠) 查看当前的制定状况。Ubuntu里没有这个命令,其实也可以不用任何命令简单管理系统服务, 可以通...
2015-08-05T14:32:00Z
2015-08-05T14:32:00Z
chunchill
https://www.cnblogs.com/shineqiujuan/
【摘要】uRedhat 提供了chkconfig这个命令来管理系统在不同运行级别下的服务开启/关闭: chkconfig ServiceName on/off 并可以用chkconfig --list(两个杠) 查看当前的制定状况。Ubuntu里没有这个命令,其实也可以不用任何命令简单管理系统服务, 可以通... <a href="https://www.cnblogs.com/shineqiujuan/p/4706047.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shineqiujuan/p/4706028.html
Linux中设置服务自启动的三种方式 - chunchill
有时候我们需要Linux系统在开机的时候自动加载某些脚本或系统服务主要用三种方式进行这一操作:ln -s 在/etc/rc.d/rc*.d目录中建立/etc/init.d/服务的软链接(*代表0~6七个运行级别之一)chkonfig 命令行运行级别设置ntsysv 伪图形运行级别设置...
2015-08-05T14:28:00Z
2015-08-05T14:28:00Z
chunchill
https://www.cnblogs.com/shineqiujuan/
【摘要】有时候我们需要Linux系统在开机的时候自动加载某些脚本或系统服务主要用三种方式进行这一操作:ln -s 在/etc/rc.d/rc*.d目录中建立/etc/init.d/服务的软链接(*代表0~6七个运行级别之一)chkonfig 命令行运行级别设置ntsysv 伪图形运行级别设置... <a href="https://www.cnblogs.com/shineqiujuan/p/4706028.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shineqiujuan/p/4705866.html
Mac 安装 MySQL - chunchill
在 Mac 下用 Homebrew 安装 MySQL, 网上的教程倒是很多,不过大多数都很默契地雷同。如果稍有点定制要求,就无从下手了。我先也不免俗,从基本的开始:一、首先安装 Homebrew123$ ruby -e "$(curl -fsSL https://raw.github.com/mxc...
2015-08-05T13:15:00Z
2015-08-05T13:15:00Z
chunchill
https://www.cnblogs.com/shineqiujuan/
【摘要】在 Mac 下用 Homebrew 安装 MySQL, 网上的教程倒是很多,不过大多数都很默契地雷同。如果稍有点定制要求,就无从下手了。我先也不免俗,从基本的开始:一、首先安装 Homebrew123$ ruby -e "$(curl -fsSL https://raw.github.com/mxc... <a href="https://www.cnblogs.com/shineqiujuan/p/4705866.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shineqiujuan/p/4704071.html
开源许可证GPL、BSD、MIT、Mozilla、Apache和LGPL的区别 - chunchill
以下是上述协议的简单介绍:BSD开源协议BSD开源协议是一个给于使用者很大自由的协议。基本上使用者可以”为所欲为”,可以自由的使用,修改源代码,也可以将修改后的代码作为开源或者专有软件再发布。但”为所欲为”的前提当你发布使用了BSD协议的代码,或则以BSD协议代码为基础做二次开发自己的产品时,需要满...
2015-08-05T02:44:00Z
2015-08-05T02:44:00Z
chunchill
https://www.cnblogs.com/shineqiujuan/
【摘要】以下是上述协议的简单介绍:BSD开源协议BSD开源协议是一个给于使用者很大自由的协议。基本上使用者可以”为所欲为”,可以自由的使用,修改源代码,也可以将修改后的代码作为开源或者专有软件再发布。但”为所欲为”的前提当你发布使用了BSD协议的代码,或则以BSD协议代码为基础做二次开发自己的产品时,需要满... <a href="https://www.cnblogs.com/shineqiujuan/p/4704071.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shineqiujuan/p/4703304.html
Mac 下 PostgreSQL 的安装与使用 - chunchill
在 mac 下,可以利用homebrew直接安装 PostgreSQL:1brewinstall postgresql -v稍等片刻,PostgreSQL就安装完成。接下来就是初始数据库,在终端执行一下命令,初始配置 PostgreSQL:1initdb/usr/local/var/postgres...
2015-08-04T14:16:00Z
2015-08-04T14:16:00Z
chunchill
https://www.cnblogs.com/shineqiujuan/
【摘要】在 mac 下,可以利用homebrew直接安装 PostgreSQL:1brewinstall postgresql -v稍等片刻,PostgreSQL就安装完成。接下来就是初始数据库,在终端执行一下命令,初始配置 PostgreSQL:1initdb/usr/local/var/postgres... <a href="https://www.cnblogs.com/shineqiujuan/p/4703304.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shineqiujuan/p/4693435.html
Linux中profile、bashrc、bash_profile之间的区别和联系 - chunchill
/etc/profile:此文件为系统的每个用户设置环境信息,当用户第一次登录时,该文件被执行.并从/etc/profile.d目录的配置文件中搜集shell的设置.英文描述为:# /etc/profile# System wide environment and startup programs,...
2015-07-31T15:27:00Z
2015-07-31T15:27:00Z
chunchill
https://www.cnblogs.com/shineqiujuan/
【摘要】/etc/profile:此文件为系统的每个用户设置环境信息,当用户第一次登录时,该文件被执行.并从/etc/profile.d目录的配置文件中搜集shell的设置.英文描述为:# /etc/profile# System wide environment and startup programs,... <a href="https://www.cnblogs.com/shineqiujuan/p/4693435.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shineqiujuan/p/4693425.html
把 Mac 上的 bash 换成 zsh - chunchill
本人补充:mac版git下载地址:http://code.google.com/p/git-osx-installer/downloads/list?can=3&q=&sort=-uploaded&colspec=Filename+Summary+Uploaded+Size+DownloadCoun...
2015-07-31T15:22:00Z
2015-07-31T15:22:00Z
chunchill
https://www.cnblogs.com/shineqiujuan/
【摘要】本人补充:mac版git下载地址:http://code.google.com/p/git-osx-installer/downloads/list?can=3&q=&sort=-uploaded&colspec=Filename+Summary+Uploaded+Size+DownloadCoun... <a href="https://www.cnblogs.com/shineqiujuan/p/4693425.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shineqiujuan/p/4693404.html
MAC 设置环境变量path的几种方法 - chunchill
mac 一般使用bash作为默认shellMac系统的环境变量,加载顺序为:/etc/profile /etc/paths ~/.bash_profile ~/.bash_login ~/.profile ~/.bashrc当然/etc/profile和/etc/paths是系统级别的,系统启动就会...
2015-07-31T15:14:00Z
2015-07-31T15:14:00Z
chunchill
https://www.cnblogs.com/shineqiujuan/
【摘要】mac 一般使用bash作为默认shellMac系统的环境变量,加载顺序为:/etc/profile /etc/paths ~/.bash_profile ~/.bash_login ~/.profile ~/.bashrc当然/etc/profile和/etc/paths是系统级别的,系统启动就会... <a href="https://www.cnblogs.com/shineqiujuan/p/4693404.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shineqiujuan/p/4693396.html
Mac 可设置环境变量的位置、查看和添加PATH环境变量 - chunchill
(1)首先要知道你使用的Mac OS X是什么样的Shell,使用命令echo $SHELL如果输出的是:csh或者是tcsh,那么你用的就是C Shell。如果输出的是:bash,sh,zsh,那么你的用的可能就是Bourne Shell的一个变种。Mac OS X 10.2之前默认的是C She...
2015-07-31T15:06:00Z
2015-07-31T15:06:00Z
chunchill
https://www.cnblogs.com/shineqiujuan/
【摘要】(1)首先要知道你使用的Mac OS X是什么样的Shell,使用命令echo $SHELL如果输出的是:csh或者是tcsh,那么你用的就是C Shell。如果输出的是:bash,sh,zsh,那么你的用的可能就是Bourne Shell的一个变种。Mac OS X 10.2之前默认的是C She... <a href="https://www.cnblogs.com/shineqiujuan/p/4693396.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shineqiujuan/p/4023903.html
Claims Identity - chunchill
using System;using System.Collections.Generic;using System.Linq;using System.Security.Claims;using System.Security.Principal;using System.Text;using S...
2014-10-14T02:43:00Z
2014-10-14T02:43:00Z
chunchill
https://www.cnblogs.com/shineqiujuan/
【摘要】using System;using System.Collections.Generic;using System.Linq;using System.Security.Claims;using System.Security.Principal;using System.Text;using S... <a href="https://www.cnblogs.com/shineqiujuan/p/4023903.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shineqiujuan/p/3981377.html
svn server - chunchill
svn server:1.c:\Program Files\TortoiseSVN\bin>svnserve -d -r C:\Jasper\Repositories2.change the setting under server repository folder "svnserve.conf"...
2014-09-19T06:28:00Z
2014-09-19T06:28:00Z
chunchill
https://www.cnblogs.com/shineqiujuan/
【摘要】svn server:1.c:\Program Files\TortoiseSVN\bin>svnserve -d -r C:\Jasper\Repositories2.change the setting under server repository folder "svnserve.conf"... <a href="https://www.cnblogs.com/shineqiujuan/p/3981377.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/shineqiujuan/p/3973480.html
Java vs. C# - chunchill
JavaProgram StructureC#package hello; public class HelloWorld { public static voidmain(String[] args) { String name = "Java"; // See if an ...
2014-09-15T11:29:00Z
2014-09-15T11:29:00Z
chunchill
https://www.cnblogs.com/shineqiujuan/
【摘要】JavaProgram StructureC#package hello; public class HelloWorld { public static voidmain(String[] args) { String name = "Java"; // See if an ... <a href="https://www.cnblogs.com/shineqiujuan/p/3973480.html" target="_blank">阅读全文</a>