- 博客(5)
- 收藏
- 关注
原创 Redux 的简单使用
Redux 的简单使用 目录: 1、安装 2、创建Store 3、创建Reducer 4、使用store在组件中调用redux state中的数据 5、向store传值 安装 对于IOS: yarn add redux 对于Windows: npm install redux 创建Store 在src目录下新建store文件夹,并且创建reducer.js和index.js(index.js负...
2019-03-08 19:49:30
496
转载 CentOS7使用firewalld打开关闭防火墙与端口
CentOS7使用firewalld打开关闭防火墙与端口 1、firewalld的基本使用 启动: systemctl start firewalld 关闭: systemctl stop firewalld 查看状态: systemctl status firewalld 开机禁用 : systemctl disable firewalld 开机启用 : systemctl enable f...
2018-10-26 18:28:48
321
转载 APACHE隐藏PHP文件的PHP后缀的一种实现方法
APACHE隐藏PHP文件的PHP后缀 如果不想让别人知道你的网站使用PHP程序以达到安全的目的.你可以按照下面的方法配置你的httpd.conf文件 但这并不说明PHP不安全. 你可以使用下面的方法来达到隐藏的目的: 1.将PHP隐藏为其它语言 在你的httpd.conf里任意位置添加下面这一行 #Make PHP code look like other code types AddType...
2018-10-14 17:07:09
2831
原创 windows10家庭版不能使用组策略的解决方案
windows10家庭版不能使用组策略的解决方案 新建文件edit.bat 写入 @echo off pushd "%~dp0" dir /b C:\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >List.txt dir /b C:\Windows\se...
2018-10-09 00:06:04
2639
原创 C的printf()相关参数以及用法。
C的printf()相关参数以及用法。 printf()的作用为向控制台输出一段代码,最简单的用法为 printf(char[]); //例如 printf(“Hello,World!”); 我们可能用他来传递参数 例如: #include <stdio.h> int main(){ int a = 16; float b = 3.14...
2018-09-17 10:04:17
1002
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅