- 90天读书分享76——家为什么会伤人
韧2018
图片发自App今天分享的书籍是《家为什么会伤人》,作者是武志红,著名的心理学家,畅销书作家。本书是讲述中国家庭的文化的一些缺陷造成的种种不良后果,我将分享书中家庭和婚姻中的误区和正确的做法。由于我们在家庭和婚姻中没有采取正确做法,走入了误区,会给婚姻和家庭带来巨大的伤害,而且这种伤害会可能会对子女造成影响,会不断延续下去,造成悲剧的反复发生。现在来看看婚姻中存在误区:第一个误区是不以夫妻关系为家庭
- 【LeetCode 算法笔记】739. 每日温度
Sardar_
算法leetcode笔记
目录问题描述暴力解法栈问题描述给定一个整数数组temperatures,表示每天的温度,返回一个数组answer,其中answer[i]是指对于第i天,下一个更高温度出现在几天后。如果气温在这之后都不会升高,请在该位置用0来代替。示例1:输入:temperatures=[73,74,75,71,69,72,76,73]输出:[1,1,4,2,1,1,0,0]示例2:输入:temperatures=
- 老子76
程三板2
第七十六章[原文]人之生也柔弱,其死也坚强。草木之生也柔脆,其死也枯槁。故坚强者死之徒,柔弱者生之徒。是以兵强则灭,木强则折。强大处下,柔弱处上。[译文]人活着的时候身体是柔软的,死了以后身体就变得僵硬。草木生长时是柔软脆弱的,死了以后就变得干硬枯槁了。所以坚强的东西属于死亡的一类,柔弱的东西属于生长的一类。因此,用兵逞强就会遭到灭亡,树木强大了就会遭到砍伐摧折。凡是强大的,总是处于下位,凡是柔弱
- 【一起读书】时间这么短,如何快速获取你想要的答案?
冰凝诗与画
年前通过大花的一篇文章(自从把小孩当植物养后,整个人都好多了),加入了小号互抽群,看着大家都在日更,突然觉得不能再荒废时光了。春节也过完了,新年目标也立下了,最起码今年读的书要比去年多吧(2018年一整年读完76本书,我从中获得了什么),文章也要多写,才能练好自己的笔杆子。所以从今天开始,每天都会不定时更新,最关键的是希望大家都能领悟到阅读的魅力,一起阅读吧!今天先分享一本听到的书《快速阅读术》,
- 营造鼓励提问的氛围----问题引领数学学习9
卌行
今天继续在营造鼓励提问的课堂文化后,沿着这一思路,该书还提供了几个策略:(P76-82)1.用问题本将问题固化下来。这是书中提供的两个学段的学生问题本。这是很好的方法,还可以再进一步,直接变成学生的问题手账本。也就是说,孩子自己去设计格式,老师只做最保底的要求,如必须有:我学习什么内容时,提出了哪些问题,通过学习,解决了哪些问题。在这个基础上,学生可以记录下自己提出的问题,以及自己觉得特别好的问题
- 8月15日,不同寻常的一天
小凯聊天室
回望76年前的今天,裕仁天皇宣布日本无条件投降,中国人民从此站起来了,不再受到列强们的欺辱,国家主权实现了独立,中国人的腰杆子直起来了。历史不应忘记,吾辈应当自强!1.抗日战争早已成为过去式,新时代下为什么我们还要记住它?答:抗日战争虽然早已结束,但是抗日精神应该永远存在我们的内心里面,不容消散。难道君已经忘记南京大屠杀的惨案了吗?忘记了七七事变了吗?忘记日本人在中国的横行霸道了吗?爱国,这是每一
- 你被卷了吗?地产人
地产人观察日记
最近有点儿文思泉涌,更文积极性大增,主要是有自己想说的话题!内卷,本是一个社会学术语,现在用来代指非理性的内部竞争!最开始这个词频繁的用在互联网行业中,近一段时间开始蔓延到各行各业。01学历内卷在2020年地产行业人才报告中,地产行业本科学历人才占比67.06%,硕士及以上学历人才占11.4%。而在2018年的同类数据中,地产行业本科以上学历占比76%,本科学历64%,硕士学历10%,博士及博士后
- 剽悍一只猫:剽悍牛人100条(十一)
要瘦的孙小米
76.我们应该对外展示什么?自己的认知优势、人格魅力以及成功案例。77.宁做榴莲,不做香蕉。你得有个性,切莫去迎合所有人。世界这么大,有一部分人非常非常非常喜欢你就够了。如果有人骂你臭,正常。78.进四出六。赚了100,留下40,拿出60,跟对的人(比如帮过你的人、团队成员等等)共享,这样你就能长期赚到钱。79.做阻力小的事。对用户进行筛选,你的服务阻力会小,更有可能跟用户共赢;做自己擅长的事情,
- 点淘app邀请码是多少?(2024附点淘邀请码填写会随着点淘平台的发展而焕发生机)
桃朵十三
随着移动互联网的快速发展,越来越多的电商平台应运而生。点淘邀请码是点淘邀请码邀请码或【LRM8XZH9】【LRM8XZH9】【LRYTO3FS】【1247737368】【LRM8XZH9】、【1247737368】和【1045168054】。【1045168054】【LRM8XZH9】【LRM8XZH9】【LRYTO3FS】和【1484027154】请注意,只有在下载点淘邀请码后CY5K不Q76D
- 2018-05-26
信念_2ed7
姓名:袁文敬公司:昆明林顿利商贸有限公司【日精进打卡第34天】【知~学习】《六项精进》4遍共88遍《大学》2遍共76遍《稻盛和夫自传》{}【经典名句分享】人生不是一场物质的盛宴而是一次灵魂的修炼【行~实践】一、修身1、听歌、阅读书籍2、锻炼身体3、保持一个良好的心态,不要有感性的烦恼,每天反省4、世界上最大的距离就是知与行的距离二、齐家:(对家庭和家人)三、建功(对工作){积善}:发愿从2018年
- 活着就要感谢
小苏_susy
【姓名】张书【公司】浙江鲍斯高服饰有限公司【组别】448期谦虚二组472期反省一组志工【日期】2018年12月13日【日精进打卡第76天】【知~学习】《六项精进》2遍共174遍《大学》2遍共149遍《活法》P009-012《京瓷哲学》《经营十二条》P59-64【经典名句分享】只有感觉到自己是幸运的,才会对周围抱有感谢之心。【行~实践】一、修身:(对自己个人)1、坚持每天读书2.坚持多喝水3.坚持每
- 《IP思维》76
农牧学堂一付海涛
《IP思维》(第76节)#学习《IP思维》助你躺赢未来#打造个人影响力,输出优质的内容是关键。首先,最基础的条件是必须对本领域有充分的认知,且必须有超过大部分人的行业洞察以及不断扩大行业体系、知识边际;其次,打破同质化,建立标识性。行业内大多数人都持相同观点或看法的事情,最好不要去掺和,你的每一个想法都来源于自己的深度思考;第三,切勿为了蹭热点刷存在感,热点蹭的不好,容易人设崩塌,损毁在粉丝心中的
- 心遇邀请码是多少2024新版邀请码奖励揭秘(附心遇app免费邀请码获取方法)确定有效
桃朵十三
嘿,小伙伴们!你们还在为找不到那个特别的TA而烦恼吗?别担心,我有个好消息要告诉你!那就是心遇,一款专注于陌生人社交的创新软件!你填写心遇邀请码【AXWGQB】后还有奖励哦!心遇可不是一般的交友软件,它能让你在网络世界中找到那个和你心灵相通的TA。心遇邀请码是心遇邀请码邀请码或【AXWGQB】【AXWGQB】【AXWGQB】。请注意,只有在下载心遇邀请码后CY5K不Q76D的10天内填写心遇邀请码
- 千英76
海哥0001
观音菩萨的生话中的第三个就是第一个姐姐就是雌雄同体,是第二个gg,永恒性与实践统一的象征,产生的图像,严重事件的世界就是我一当五天的自贡,自贡有父亲带来的生命,由母亲照顾的人员和附近的光明和成功离开,父亲在目前。但是等我们从4号从子宫中通过事那事,实现永生的,永生的出生,我们被交到了父亲手中,明智的人与事,即使在职工中,他们也是来这附近,并回到福建那里,而智者知道母亲和父亲本质上是同一台车就是,是
- 某创员工理财都兑了,村镇银行还会远吗?
大佛聊互联网金融
5月12日,R创发布公告称4月到期的4笔美元债利息,共计1.04亿美元(约7亿人民币),在宽限期一个月后依旧无法偿还,构成实质性违约。并且目前R创还有存续美元债近76亿美元,偿债压力不小。而在今年4月1日,R创就因无法按时发布2021年的年报被停牌。若从2021年半年报来看,公司总资产为12054亿元,负债总额达9971.22亿元,逼近万亿大关。并且R创上月还到期了一笔40亿元的公司债,因公司流动
- 高省邀请码是998888多少2024大全高省邀请码666777(填写教程分享)
凌风导师
理高省网评测作为一个行业评测机构,评测标准是否公正合理是评测方公信力的体现。高省网评测的评测过程是否公开透明也是正规性的重要体现。高省邀请码高省邀请码邀请码或【882288】【500888】【999777】【998888】、【333555】和【882288】。【500888】【999777】【998888】【333555】和【777999】请注意,只有在下载头条搜索极速版邀请码后CY5K不Q76D
- 觉察日记76:转念
悦尘ceeport
1.【天使来信day37】你将拥有十分奇妙的点子,虽然并不那么容易实现,但相信这是大自然的引导,你拥有完成它的能力,我会协助让这想法开花结果。01不用与过去的传统观念亦步亦趋;02尝试新的东西,改变旧模式;03你有能力去体验你想要的结果;04想象并感受可能发生的最积极的结果,就好像它是真的一样;05神来之笔会赐予你灵感,你要努力得到它。2.【今日情绪觉察】今日主要情绪议题及指标:下午和朋友聊天时几
- java编程题——八皇后问题
sdg_advance
java算法排序算法数据结构
背景及问题介绍:八皇后问题(英文:Eightqueens),是由国际象棋棋手马克斯·贝瑟尔于1848年提出的问题,是回溯算法的典型案例。问题表述为:在8×8格的国际象棋上摆放8个皇后,使其不能互相攻击,即任意两个皇后都不能处于同一行、同一列或同一斜线上,问有多少种摆法。高斯认为有76种方案。1854年在柏林的象棋杂志上不同的作者发表了40种不同的解,后来有人用图论的方法解出92种结果。如果经过±9
- 一起学习LeetCode热题100道(72/100)
久违的小技巧
学习leetcode算法
72.每日温度(学习)给定一个整数数组temperatures,表示每天的温度,返回一个数组answer,其中answer[i]是指对于第i天,下一个更高温度出现在几天后。如果气温在这之后都不会升高,请在该位置用0来代替。示例1:输入:temperatures=[73,74,75,71,69,72,76,73]输出:[1,1,4,2,1,1,0,0]示例2:输入:temperatures=[30,
- Blender纹理绘制无效的几种解决方案(备忘录01)
2301_78998594
blender
图片来源:b站:Nora仙仙仙https://www.bilibili.com/video/BV1x8411r76A/解决方案:1.1:到编辑模式下选中物体后重试;1.2(本人遇到的问题):打开面朝向模式,蓝色的物体是正常物体,红色表示面朝向相反,你画的东西都在背面全选并SHIFT+N,就可以把面朝向反过来
- 2022-10-24 学易漫谈(76-80)
七星客球体卦
76、关系场效应在角色群体的活动效率中,既可能产生增力作用,也可能导致减力作用。“三个臭皮匠,赛过诸葛亮”,这种情况下“1+1+1”大于3。这在群体成员活动的效率角度上,称之为“群体的增力作用”。“三个和尚没水喝”,这种情况下的“1+1+1”却等于0了。这在群体成员活动的效率角度上,称之为“群体的减力作用”。这种由不同的角色扮演者组成的群体产生的内聚力或摩擦力,在社会心理学上,统称为“关系场效应”
- 状元日志76
亲睦堂明瑞
2020年8月21日星期五天气阴离高考还有290天服务分公司,按部就班进行中。做人民的公仆,分公司的勤务员。力争将分公司一塌糊涂的面貌彻底改变,只一朝夕即可,有神助。未雨绸缪做的好,不露声色隐的妙。上蹿下跳何于此,路人之于司马昭。
- 绘本讲师训练营【76期】11/21阅读原创《第一次上街买东西》
小李樱子
76004李樱樱最近开始用孩子的方式读绘本,先看图画。绿色的背景,可爱天真的小女孩的笑脸,这一切都是那么生机勃勃。大大的牛奶盒子,这种快乐绝对不是得到了喝的那么简单,这种喜悦一定是️有故事的。就这样走进了林明子老师的绘本,之前看过对林明子老师创作风格的介绍,我概括为:温暖的记忆、细微的情感、隐藏的秘密。就让我们一起从这三点开始《第一次上街买东西》吧。孩子的成长是一点一滴漫长的积累过程,但总有那些第
- 2021-07-07
Fang尛芳
顺萃2021.7.7日课76/2001:修恒读书《大学精义》261-268页做到金句:先要在家里落实了孝、悌、慈,然后才是治国。治国的时候,就是把齐家时对父亲的态度拿来对待领导,就可以了。儒家的修行是一步一步来的,是齐家、治国、平天下,顺序不能颠倒。2:控情:克性情,不喊,不生气。——做到慎言,好好说话,说好话——做到3:敬慎:对人敬,对事敬,对物敬——做到
- 《论语》学习一Day76
9f1c26c9f423
《述而篇》7.30:子曰:“仁远乎哉?我欲仁,斯仁至矣。”译文:孔子说:“仁离我们很远吗?内心想要仁的那一刻,仁就来了。”孔子说求仁,那么按照仁的标准去做事就成功了。也就是说,仁是一种向善的状态。当某个人在某一刻心念一起,突然想做一个好人的时候,那一刻就是仁。孔夫子说“仁”,老子说“道”,孟子说“吾善养吾浩然之气”,共同的特点是,既难也不难。樊登老师说,这个世界上所有高级的东西,都是既难也不难的,
- 芯擎SEC1000支持摄像头和屏幕的数量根据分辨率和帧率详细计算
空间机器人
自动驾驶
1×DPv1.4:支持DisplayPort1.4,允许最多4个流(多流传输),适用于高分辨率显示器。8通道D-PHYv1.2TX:每通道最高2.5Gbps,用于MIPIDSI(显示串行接口),用于高速显示接口。16通道D-PHYv1.2RX:每通道最高2.5Gbps,用于MIPICSI(摄像头串行接口),用于高速摄像头接口。1.CPU集群4×Cortex-A76和4×Cortex-A55:Cor
- 他趣邀请码是什么女神主动是真的吗?他趣邀请码使用有奖励吗?他趣邀请码怎么获得(渴撇)
桃朵十三
在数字化的今天,社交软件已经成为我们日常生活中不可或缺的一部分。其中,他趣是他趣邀请码或【NMV43T】【UWWN3T】【FGJ8HT】【1247737368】【UWWN3T】、【1247737368】和【1045168054】。【1045168054】【UWWN3T】【NMV43T】【NMV43T】和【1484027154】请注意,只有在下载他趣后CY5K不Q76D的10天内填写邀请码才有奖励,
- 远离紧张——做一个自信的人
克服紧张变得自信
我是张捷老师紧张经营训练营第76期学员,目前自己开了一家理发店,我来自四川,我是一个很容易紧张,怕看到别人目光不敢对视别人眼睛的一个人,每当参加聚会或者亲戚朋友,有什么事情我都积极参加,喜欢帮助别人,但是别人都不知道我是多么的脆弱,怕紧张,怕自己的生理症状出现,怕别人看到我不敢直视别人,总是躲躲闪闪,我在别人的眼里是一个多么的完美,聪明能于,无所不能,其实我非常如意,紧张报名张捷老师紧张经营并参加
- (76天)#90天减重10斤复盘 9 月 21 日
慧媛麻麻
(76天)#90天减重10斤复盘9月21日一句话总结今天感受:中秋快乐,好丰盛的午餐。熬了个通宵已做事宜在做到的后面打√1.嗯嗯√2.喝水2000ml(三水杯)3.看或听减脂书籍或音频4.早睡(22:00上床)5.睡眠7个小时6.运动(至少15分钟)7.运动超过30分钟8.运动超过60分钟9.轻断食8—18点10.称体重√11.看自己的愿景、目标√12.减重冥想13.饭后站20-30分钟14.艾灸
- 绘本讲师训练营[76期]7/21阅读原创《共读:大象巴巴之巴巴的旅行》
遇见最好的自己_2021
76057柳新颖一本有趣的图画书,总会让人特别惦记,这不,孩子一做完作业马上捧起书看得津津有味。一起开启巴巴的冒险旅行今天我们跟随巴巴一起冒险旅行咯!瞧,巴巴国王带着他的王后莎莉丝特乘坐着一个华丽的黄色热气球出发啦。不知道他们的旅途会不会顺利呢?会不会有什么惊奇的故事发生呢?他们会不会遇到危险呢?风景多么美正当巴巴和王后欣赏醉人的风景时,刮来一阵海风,把他们的热气球吹翻了,掉到了一个荒岛上。正如巴
- 解线性方程组
qiuwanchi
package gaodai.matrix;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Test {
public static void main(String[] args) {
Scanner scanner = new Sc
- 在mysql内部存储代码
annan211
性能mysql存储过程触发器
在mysql内部存储代码
在mysql内部存储代码,既有优点也有缺点,而且有人倡导有人反对。
先看优点:
1 她在服务器内部执行,离数据最近,另外在服务器上执行还可以节省带宽和网络延迟。
2 这是一种代码重用。可以方便的统一业务规则,保证某些行为的一致性,所以也可以提供一定的安全性。
3 可以简化代码的维护和版本更新。
4 可以帮助提升安全,比如提供更细
- Android使用Asynchronous Http Client完成登录保存cookie的问题
hotsunshine
android
Asynchronous Http Client是android中非常好的异步请求工具
除了异步之外还有很多封装比如json的处理,cookie的处理
引用
Persistent Cookie Storage with PersistentCookieStore
This library also includes a PersistentCookieStore whi
- java面试题
Array_06
java面试
java面试题
第一,谈谈final, finally, finalize的区别。
final-修饰符(关键字)如果一个类被声明为final,意味着它不能再派生出新的子类,不能作为父类被继承。因此一个类不能既被声明为 abstract的,又被声明为final的。将变量或方法声明为final,可以保证它们在使用中不被改变。被声明为final的变量必须在声明时给定初值,而在以后的引用中只能
- 网站加速
oloz
网站加速
前序:本人菜鸟,此文研究总结来源于互联网上的资料,大牛请勿喷!本人虚心学习,多指教.
1、减小网页体积的大小,尽量采用div+css模式,尽量避免复杂的页面结构,能简约就简约。
2、采用Gzip对网页进行压缩;
GZIP最早由Jean-loup Gailly和Mark Adler创建,用于UNⅨ系统的文件压缩。我们在Linux中经常会用到后缀为.gz
- 正确书写单例模式
随意而生
java 设计模式 单例
单例模式算是设计模式中最容易理解,也是最容易手写代码的模式了吧。但是其中的坑却不少,所以也常作为面试题来考。本文主要对几种单例写法的整理,并分析其优缺点。很多都是一些老生常谈的问题,但如果你不知道如何创建一个线程安全的单例,不知道什么是双检锁,那这篇文章可能会帮助到你。
懒汉式,线程不安全
当被问到要实现一个单例模式时,很多人的第一反应是写出如下的代码,包括教科书上也是这样
- 单例模式
香水浓
java
懒汉 调用getInstance方法时实例化
public class Singleton {
private static Singleton instance;
private Singleton() {}
public static synchronized Singleton getInstance() {
if(null == ins
- 安装Apache问题:系统找不到指定的文件 No installed service named "Apache2"
AdyZhang
apachehttp server
安装Apache问题:系统找不到指定的文件 No installed service named "Apache2"
每次到这一步都很小心防它的端口冲突问题,结果,特意留出来的80端口就是不能用,烦。
解决方法确保几处:
1、停止IIS启动
2、把端口80改成其它 (譬如90,800,,,什么数字都好)
3、防火墙(关掉试试)
在运行处输入 cmd 回车,转到apa
- 如何在android 文件选择器中选择多个图片或者视频?
aijuans
android
我的android app有这样的需求,在进行照片和视频上传的时候,需要一次性的从照片/视频库选择多条进行上传
但是android原生态的sdk中,只能一个一个的进行选择和上传。
我想知道是否有其他的android上传库可以解决这个问题,提供一个多选的功能,可以使checkbox之类的,一次选择多个 处理方法
官方的图片选择器(但是不支持所有版本的androi,只支持API Level
- mysql中查询生日提醒的日期相关的sql
baalwolf
mysql
SELECT sysid,user_name,birthday,listid,userhead_50,CONCAT(YEAR(CURDATE()),DATE_FORMAT(birthday,'-%m-%d')),CURDATE(), dayofyear( CONCAT(YEAR(CURDATE()),DATE_FORMAT(birthday,'-%m-%d')))-dayofyear(
- MongoDB索引文件破坏后导致查询错误的问题
BigBird2012
mongodb
问题描述:
MongoDB在非正常情况下关闭时,可能会导致索引文件破坏,造成数据在更新时没有反映到索引上。
解决方案:
使用脚本,重建MongoDB所有表的索引。
var names = db.getCollectionNames();
for( var i in names ){
var name = names[i];
print(name);
- Javascript Promise
bijian1013
JavaScriptPromise
Parse JavaScript SDK现在提供了支持大多数异步方法的兼容jquery的Promises模式,那么这意味着什么呢,读完下文你就了解了。
一.认识Promises
“Promises”代表着在javascript程序里下一个伟大的范式,但是理解他们为什么如此伟大不是件简
- [Zookeeper学习笔记九]Zookeeper源代码分析之Zookeeper构造过程
bit1129
zookeeper
Zookeeper重载了几个构造函数,其中构造者可以提供参数最多,可定制性最多的构造函数是
public ZooKeeper(String connectString, int sessionTimeout, Watcher watcher, long sessionId, byte[] sessionPasswd, boolea
- 【Java命令三】jstack
bit1129
jstack
jstack是用于获得当前运行的Java程序所有的线程的运行情况(thread dump),不同于jmap用于获得memory dump
[hadoop@hadoop sbin]$ jstack
Usage:
jstack [-l] <pid>
(to connect to running process)
jstack -F
- jboss 5.1启停脚本 动静分离部署
ronin47
以前启动jboss,往各种xml配置文件,现只要运行一句脚本即可。start nohup sh /**/run.sh -c servicename -b ip -g clustername -u broatcast jboss.messaging.ServerPeerID=int -Djboss.service.binding.set=p
- UI之如何打磨设计能力?
brotherlamp
UIui教程ui自学ui资料ui视频
在越来越拥挤的初创企业世界里,视觉设计的重要性往往可以与杀手级用户体验比肩。在许多情况下,尤其对于 Web 初创企业而言,这两者都是不可或缺的。前不久我们在《右脑革命:别学编程了,学艺术吧》中也曾发出过重视设计的呼吁。如何才能提高初创企业的设计能力呢?以下是 9 位创始人的体会。
1.找到自己的方式
如果你是设计师,要想提高技能可以去设计博客和展示好设计的网站如D-lists或
- 三色旗算法
bylijinnan
java算法
import java.util.Arrays;
/**
问题:
假设有一条绳子,上面有红、白、蓝三种颜色的旗子,起初绳子上的旗子颜色并没有顺序,
您希望将之分类,并排列为蓝、白、红的顺序,要如何移动次数才会最少,注意您只能在绳
子上进行这个动作,而且一次只能调换两个旗子。
网上的解法大多类似:
在一条绳子上移动,在程式中也就意味只能使用一个阵列,而不使用其它的阵列来
- 警告:No configuration found for the specified action: \'s
chiangfai
configuration
1.index.jsp页面form标签未指定namespace属性。
<!--index.jsp代码-->
<%@taglib prefix="s" uri="/struts-tags"%>
...
<s:form action="submit" method="post"&g
- redis -- hash_max_zipmap_entries设置过大有问题
chenchao051
redishash
使用redis时为了使用hash追求更高的内存使用率,我们一般都用hash结构,并且有时候会把hash_max_zipmap_entries这个值设置的很大,很多资料也推荐设置到1000,默认设置为了512,但是这里有个坑
#define ZIPMAP_BIGLEN 254
#define ZIPMAP_END 255
/* Return th
- select into outfile access deny问题
daizj
mysqltxt导出数据到文件
本文转自:http://hatemysql.com/2010/06/29/select-into-outfile-access-deny%E9%97%AE%E9%A2%98/
为应用建立了rnd的帐号,专门为他们查询线上数据库用的,当然,只有他们上了生产网络以后才能连上数据库,安全方面我们还是很注意的,呵呵。
授权的语句如下:
grant select on armory.* to rn
- phpexcel导出excel表简单入门示例
dcj3sjt126com
PHPExcelphpexcel
<?php
error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);
if (PHP_SAPI == 'cli')
die('This example should only be run from a Web Brows
- 美国电影超短200句
dcj3sjt126com
电影
1. I see. 我明白了。2. I quit! 我不干了!3. Let go! 放手!4. Me too. 我也是。5. My god! 天哪!6. No way! 不行!7. Come on. 来吧(赶快)8. Hold on. 等一等。9. I agree。 我同意。10. Not bad. 还不错。11. Not yet. 还没。12. See you. 再见。13. Shut up!
- Java访问远程服务
dyy_gusi
httpclientwebservicegetpost
随着webService的崛起,我们开始中会越来越多的使用到访问远程webService服务。当然对于不同的webService框架一般都有自己的client包供使用,但是如果使用webService框架自己的client包,那么必然需要在自己的代码中引入它的包,如果同时调运了多个不同框架的webService,那么就需要同时引入多个不同的clien
- Maven的settings.xml配置
geeksun
settings.xml
settings.xml是Maven的配置文件,下面解释一下其中的配置含义:
settings.xml存在于两个地方:
1.安装的地方:$M2_HOME/conf/settings.xml
2.用户的目录:${user.home}/.m2/settings.xml
前者又被叫做全局配置,后者被称为用户配置。如果两者都存在,它们的内容将被合并,并且用户范围的settings.xml优先。
- ubuntu的init与系统服务设置
hongtoushizi
ubuntu
转载自:
http://iysm.net/?p=178 init
Init是位于/sbin/init的一个程序,它是在linux下,在系统启动过程中,初始化所有的设备驱动程序和数据结构等之后,由内核启动的一个用户级程序,并由此init程序进而完成系统的启动过程。
ubuntu与传统的linux略有不同,使用upstart完成系统的启动,但表面上仍维持init程序的形式。
运行
- 跟我学Nginx+Lua开发目录贴
jinnianshilongnian
nginxlua
使用Nginx+Lua开发近一年的时间,学习和实践了一些Nginx+Lua开发的架构,为了让更多人使用Nginx+Lua架构开发,利用春节期间总结了一份基本的学习教程,希望对大家有用。也欢迎谈探讨学习一些经验。
目录
第一章 安装Nginx+Lua开发环境
第二章 Nginx+Lua开发入门
第三章 Redis/SSDB+Twemproxy安装与使用
第四章 L
- php位运算符注意事项
home198979
位运算PHP&
$a = $b = $c = 0;
$a & $b = 1;
$b | $c = 1
问a,b,c最终为多少?
当看到这题时,我犯了一个低级错误,误 以为位运算符会改变变量的值。所以得出结果是1 1 0
但是位运算符是不会改变变量的值的,例如:
$a=1;$b=2;
$a&$b;
这样a,b的值不会有任何改变
- Linux shell数组建立和使用技巧
pda158
linux
1.数组定义 [chengmo@centos5 ~]$ a=(1 2 3 4 5) [chengmo@centos5 ~]$ echo $a 1 一对括号表示是数组,数组元素用“空格”符号分割开。
2.数组读取与赋值 得到长度: [chengmo@centos5 ~]$ echo ${#a[@]} 5 用${#数组名[@或
- hotspot源码(JDK7)
ol_beta
javaHotSpotjvm
源码结构图,方便理解:
├─agent Serviceab
- Oracle基本事务和ForAll执行批量DML练习
vipbooks
oraclesql
基本事务的使用:
从账户一的余额中转100到账户二的余额中去,如果账户二不存在或账户一中的余额不足100则整笔交易回滚
select * from account;
-- 创建一张账户表
create table account(
-- 账户ID
id number(3) not null,
-- 账户名称
nam