Day 2: ASP.NET and python trying
ASP.NET and Python/Javascript
Many jQuery plugins that are designed and shared for free on the internet. By searching on Baidu with jQuery and jQuery zhijia we can find a lot of useful things for our own projects. Today I find a star-rating plugin, which is almost available by direct copy from sources.
About The Storage Technologies:
There are two kinds of storages which differs in storage environment. One is Direct Attached Storage, the other is Network Storage, which is divided into two kinds: Storage Area Network and Network Attached Storage.
Javascript and Python: a big door to open up.
Javascript and Python are both script languages, (I think). In python, the = is of an assigning functionality; == is used for judging if two operands are equal to each other(Equality); === is used for judging if two operands are identical to each other(Equivalent). How to see the keywords reserved for python which can’t be used as variable names: use import keyword (Enter) print(kwword.list); quite a few datatypes are there in python: (here we only discuss about python 3.x) number types are int and float, string types are str, byte and unicode, collection types are tuple and list. About number, there are a few built-in constants, like Number.MAX_VALUE, INFINITY, MAX_SAFE_INTEGER; NaN stands for Not a Number, and there are: Number.NaN() function used for judging whether an operand is a number type or not; null is nothing but an object in python.
About MySQL
I have researched a lot on this, however hadn't made a record in time. Below are what I got today:
[mysqld remove]: used to remove mysql service, after doing this, remove the data folder under installation path .
[mysqld install]: used to install mysql service, before this the data folder under installation path.
[mysqld --initialize -insecure]: used to set null password for root user
[mysqld --skip-grant-table]: used to skip the examine by mysql login system
[net start mysql]: used to start mysql service, if it returns Access Denied, ErrNo:5, it means a higher privileged user, like Administrator is required to do this.
[net stop mysql]: like one above.
[mysql -uroot -p]: for login
[mysql -uwqf -p]: for login
[create user 'USERNAME' identified by 'PASSWORD']: create user for a certain database, in this written case, no privilege is granted to 'USERNAME'.
[flush privileges]: used to see new privileges after a change.
Conclusion: MySQL Workbench is the software that has been long existing in my computer, installed by myself, today went wrong when inserting a certin Chinese character into a table. First I used show variables like '%char%' to see the character set of each database, after I changed them separately into utf8, which worked on terminal however not on workbench, so I went to re-install the mysql service, changed the my-default.ini file, however this time it worked only when you set the character set to gbk(I have tried utf8, failed), so I used gbk instead of utf8. Fortunately, gbk supports both English and Chinese.
Day 2: ASP.NET and python trying的更多相关文章
- ASP.NET Core 性能对比评测(ASP.NET,Python,Java,NodeJS)
前言 性能是我们日常生活中经常接触到的一个词语,更好的性能意味着能给我们带来更好的用户体检.比如我们在购买手机.显卡.CPU等的时候,可能会更加的关注于这样指标,所以本篇就来做一个性能评测. 性能也一 ...
- (转)ASP.NET Core 性能对比评测(ASP.NET,Python,Java,NodeJS)
转:https://www.cnblogs.com/savorboard/archive/2016/10/17/dotnet-benchmarks.html 前言 性能是我们日常生活中经常接触到的一个 ...
- 我的博客:C# PHP J2ee Java Android js WP Asp.net mvc Python
<p><A target="_blank" href="http://blog.163.com/hr_company_product/" &g ...
- Python 融于ASP框架
一.ASP的平反 想到ASP 很多人会说 “asp语言很蛋疼,不能面向对象,功能单一,很多东西实现不了” 等等诸如此类. 以上说法都是错误的,其一ASp不是一种语言是 微软用来代替CGI的一种web框 ...
- PYTHON ASP FRAMEWORK
Python 融于ASP框架 一.ASP的平反 想到ASP 很多人会说 “asp语言很蛋疼,不能面向对象,功能单一,很多东西实现不了” 等等诸如此类. 以上说法都是错误的,其一ASp不是一种语言是 ...
- python学习1
1.由于win8的电脑上出现了0xc0000b错误不能解决,所以现在使用的是虚拟机中的Linux系统.安装过程见http://blog.csdn.net/yuzhongchun/article/det ...
- [Python] 学习资料汇总
Python是一种面向对象的解释性的计算机程序设计语言,也是一种功能强大且完善的通用型语言,已经有十多年的发展历史,成熟且稳定.Python 具有脚本语言中最丰富和强大的类库,足以支持绝大多数日常应用 ...
- Python学习笔记(五)——list和tuple
一.list 1.定义: list是一种有序的集合,可以随时添加和删除其中的元素 2.声明方法: subjects=['Math','English', 'Chinese'] 3.一些api (1)获 ...
- python基础——使用list和tuple
python基础——使用list和tuple list Python内置的一种数据类型是列表:list.list是一种有序的集合,可以随时添加和删除其中的元素. 比如,列出班里所有同学的名字,就可以用 ...
随机推荐
- 定位bug的基本要求
很多人觉得qa只是负责发现问题,这个实在太狭隘了,现代qa除了发现问题这种基本功外,定位问题,提出解决方案,提出预防方案也是要掌握的技能.这里先说定位问题的要求,定位问题要向深入,前提当然是对功能.产 ...
- Splay详解
平衡树实际很简单的 以下讲解都以Luogu P3369 [模板]普通平衡树为例 我不会带指针的Splay,所以我就写非指针型的Splay Splay是基于二叉查找树(bst)实现的 什么是二叉查找树呢 ...
- JS设计模式(11)中介者模式
什么是中介者模式? 中介者模式:对象和对象之间借助第三方中介者进行通信. 定义:用一个中介对象来封装一系列的对象交互,中介者使各对象不需要显式地相互引用,从而使其耦合松散,而且可以独立地改变它们之间的 ...
- Swagger2使用参考
GitHub例子: 参考博客: https://blog.csdn.net/sanyaoxu_2/article/details/80555328 http://www.cnblogs.com/Joi ...
- IDEA中静态资源无法找到的原因
IDEA中静态资源无法找到, 原因1:同名的文件但是在不同的包里. 原因2:IDEA重启,web清空缓存. 原因3:错误的文件及路径. 原因4:其他原因排除后,可使用绝招重启试试.
- Unity_3DText文字显示模糊怎么办
在unity3d中创建一个3d text文字对象模型,但是发现默认情况下显示的文字很模糊,这种情况我们可以通过放大字体尺寸的方式解决这个问题,然后通过缩放的方式改变其大小. 1.打开unity3d场景 ...
- 20165306 2017-2018-2《Java程序设计》课程总结
课程总结 每周作业链接汇总: 预备作业一:我期望的师生关系 预备作业二:学习基础和C语言基础调查 预备作业三:Linux安装与学习 第一周作业:Java入门 第二周作业:基本数据类型与数组,运算符.表 ...
- 本地构建:Gulp
Gulp中文网:https://www.gulpjs.com.cn/ Gulp英文网:https://gulpjs.com/ Gulp:工作流程自动化+强化 (一)安装初始化 (二)基础API及插件 ...
- 字体转换网站——Font Squirrel
转载自:http://www.5imoban.net/jiaocheng/CSS3_HTML5/2016/0714/1735.html html5之前,只要稍微特殊点的字体,都必须做成图片,以免客户端 ...
- 海量日志采集Flume(HA)
海量日志采集Flume(HA) 1.介绍: Flume是Cloudera提供的一个高可用的,高可靠的,分布式的海量日志采集.聚合和传输的系统,Flume支持在日志系统中定制各类数据发送方,用于收集数据 ...