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是一种有序的集合,可以随时添加和删除其中的元素. 比如,列出班里所有同学的名字,就可以用 ...
随机推荐
- CSS Class 选择器
CSS Class 选择器 再<stype>标签内,通过class属性来对标签进行css样式配置 <html> <head> <!-- style 设置头部标 ...
- Python Redis 常用操作
delete(*names) # 根据删除redis中的任意数据类型 exists(name) # 检测redis的name是否存在 keys(pattern='*') # 根据模型获取redis的n ...
- Linux sar工具安装使用
使用sar Sar是后台进程sadc的前端显示工具,安装名为“sysstat”的包后,sadc就会自动从内核收集报告并保存. 安装sar [root@localhost ~]# yum insta ...
- Java的类继承
知识点1.继承作用:提高代码的重用性,继承之后子类可以继承父类中的属性和方法减少重复代码条件:子类和父类要满足is a的逻辑关系,才能使用继承.如:苹果 is a水果语法:使用extends 连接子类 ...
- P5205 【模板】多项式开根
思路 按如下式子计算即可 \[ B(x)=\frac{A(x)+B'^2(x)}{2B'(x)} \] 代码 // luogu-judger-enable-o2 #include <cstdio ...
- [CodeForces 471A] MUH and Sticks
题目链接:http://codeforces.com/problemset/problem/471/A 题目数据规模1 - 9,可以用一个数组进行计数,减掉出现四次的数,看看还有几个是非零数,有一个就 ...
- java笔记 -- 数学函数与常量
Math类中, 包含了各种数学函数 不用在数学方法名和常量名前添加前缀Math., 只要在源文件的顶部加上这行代码: import static java.lang.Math.*; (静态导入) 例: ...
- 使用 erlang OTP 模式编写非阻塞的 tcp 服务器(来自erlang wiki)
参考资料:http://erlangcentral.org/wiki/index.php/Building_a_Non-blocking_TCP_server_using_OTP_principles ...
- MVC实战之排球计分(六)—— 使用EF框架,创建Controller,生成数据库。
在上篇博客我们写到,此软件的数据库连接我们使用的是EF框架,code first模式下, 通过模型类,在创建controller的时候直接生成数据库,完成数据库的连接,与操作. 在使用EF框架之前,我 ...
- CRM INBOX 结果增强功能
前段时间接到的需求:INBOX(ICCMP_INBOX)查询结果,多选后弹出选择用户的框,选择用户,带入到单据的PARTNER FUNC的工程师中,并修改单据状态. 其实标准的INBOX的Compon ...