Skip to content

Instantly share code, notes, and snippets.

@thosewords
thosewords / cls_redis_session.php
Created July 10, 2020 08:35 — forked from he426100/cls_redis_session.php
【转】ecshop redis session
<?php
// change by vohn 21406360@qq.com 2015-12-10
/*
附件为ecshop 将session 存储到Redis类 ,在php 5.3,5.4下测试能过.
请修改init.php加载 redis 类,请在config.php 定义$session_type
if ($session_type =="redis")
{
require(ROOT_PATH . 'includes/cls_Redis_session.php');
$sess = new cls_Redis_session($db, $ecs->table('sessions'), $ecs->table('sessions_data'), 'ECSCP_ID');
}
@thosewords
thosewords / Instructions.sh
Created June 23, 2020 17:38 — forked from GhazanfarMir/Instructions.sh
Install PHP7.2 NGINX and PHP7.2-FPM on Ubuntu 16.04
########## Install NGINX ##############
# Install software-properties-common package to give us add-apt-repository package
sudo apt-get install -y software-properties-common
# Install latest nginx version from community maintained ppa
sudo add-apt-repository ppa:nginx/stable
# Update packages after adding ppa
@thosewords
thosewords / 面试题.md
Created June 19, 2019 03:50
安卓面试题

面试题


  1. 完成登录、个人中心等界面,风格 Material Design
  2. 时间要求: 1-2小时
  3. git-flow版本管理
  4. 请提供可供查看代码的在线地址或项目压缩包