会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
爱知菜的技术博客
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
18
19
20
21
22
23
24
25
26
···
42
下一页
2016年2月18日
view引用其他的表或者view被更改时, 怎么刷新view的metadata
摘要: A引用了B, 也就是说B是更加底层的那个view, 现在它的schema被更改了. 那么我们要做两步: 第一步: 找出哪些view引用了它, 可以运行下图中的这段sql: SELECT distinct name FROM sys.objects so INNER JOIN sys.sql_depe
阅读全文
posted @ 2016-02-18 18:22 爱知菜
阅读(17)
评论(0)
推荐(0)
2016年1月12日
python 装饰器模式 我的理解
摘要: python和javascript类似, 可以把函数当作函数的返回值, 比如 def func(f): def subfunc(): print 'subfunc' return subfunc此外func的参数f也可以是一个函数,正是这样的结构让python可以实现装饰器模式 def deco(f
阅读全文
posted @ 2016-01-12 17:20 爱知菜
阅读(231)
评论(0)
推荐(0)
2016年1月5日
Https SSL Knowledge & how to get a self-signed certificate on ubuntu.
摘要: Https and SSL are based on encryption of Public key and Private key. The certificate is kind of the public key, while the private key is used to encry
阅读全文
posted @ 2016-01-05 17:50 爱知菜
阅读(268)
评论(0)
推荐(0)
2015年12月21日
公钥和私钥的理解
摘要: 公钥和私钥 是对应的, 公钥加密的只能用私钥解密, 私钥加密的只能用公钥来解密. 比如A 给B发信息 A有 A的私钥, B的公钥 B有 B的私钥, A的公钥(同时由此可见, 公钥和私钥是对等的,只是在使用的时候因为一个公开一个保密才有了公私之分) A将信息用B的公钥加密, 所以只有B有私钥能解密 A
阅读全文
posted @ 2015-12-21 12:36 爱知菜
阅读(223)
评论(0)
推荐(0)
2015年12月1日
iptables ipset 实用命令
摘要: iptables -t nat -L --line-numbersiptables -D INPUT 3: 通过Chain Name(INPUT) 和 line number(3)来删除规则iptables -t nat -I PREROUTING -m set --match-set myset ...
阅读全文
posted @ 2015-12-01 14:08 爱知菜
阅读(770)
评论(0)
推荐(0)
2015年11月18日
OpenWrt-Shadowsocks linux bash代码研读
摘要: Project git url: https://github.com/shadowsocks/openwrt-shadowsocks包含 ss-{local,redir,tunnel} 三个可执行文件默认启动 ss-local 建立本地 SOCKS 代理shadowsocks-libev-spec...
阅读全文
posted @ 2015-11-18 14:59 爱知菜
阅读(44)
评论(0)
推荐(0)
2015年11月15日
V.P.S 推荐
摘要: 1. Bandwagon俗称"搬瓦工"注册地址:https://bandwagonhost.com/pid=12 (Bandwagon 10G – PROMO 注意:此款VPS的年付选项在Billing Cycle的下拉菜单里 $19.99 USD Annually 字样)此款VPS性价比是最高的...
阅读全文
posted @ 2015-11-15 20:24 爱知菜
阅读(256)
评论(0)
推荐(0)
linux bash 获取 国内常见网站的IP列表
摘要: wget -O- 'http://ftp.apnic.net/apnic/stats/apnic/delegated-apnic-latest' | awk -F\| '/CN\|ipv4/ { printf("%s/%d\n", $4, 32-log($5)/log(2)) }' > /etc/i...
阅读全文
posted @ 2015-11-15 01:25 爱知菜
阅读(436)
评论(0)
推荐(0)
2015年11月12日
MDX 中 drilldownmember函数的理解和用法
摘要: MSDN中的说明比如有一个如下层次结构的Hierarchy在Cube中:第一层: world第二层: Asia,Europe,America,Africa,Oceania第三层: 中国,日本,新加坡,印度(亚洲的children), 英国(欧洲的children)...........Drilldo...
阅读全文
posted @ 2015-11-12 18:03 爱知菜
阅读(349)
评论(0)
推荐(0)
2015年11月9日
Ubuntu 13.04 安装 SSH SERVER记
摘要: 动机是我想用在windows上用putty ssh访问虚机里的Ubuntu13.04第一步是更改virtual box的设置, 在网络设置中配置一个NAT的端口映射协议。virtualbox虚拟网络适配器的网关是192.168.56.1,而虚机的ip地址是10.0.2.15。一般来说这两个地址都是默...
阅读全文
posted @ 2015-11-09 17:24 爱知菜
阅读(301)
评论(0)
推荐(0)
上一页
1
···
18
19
20
21
22
23
24
25
26
···
42
下一页
公告