05 2018 档案

web本地存储localStorage和sessionStorage
摘要:用谷歌浏览器调试网页程序时候发现有一个这个栏目 记录本地存储的相关信息(cookie,sessionStorage,LocalStorage等)的存储信息 1.LocalStorage localstorage是用于取代cookie的一些应用场景 cookie的大小只能是4KB且会跟在url的头中传 阅读全文

posted @ 2018-05-31 11:57 花生哒哒 阅读(922) 评论(0) 推荐(0)

C#创建一个Window服务
摘要:Window服务介绍 Microsoft Windows 服务能够创建在它们自己的 Windows 会话中可长时间运行的可执行应用程序。这些服务可以在计算机启动时自动启动,可以暂停和重新启动而且不显示任何用户界面。这使服务非常适合在服务器上使用,或任何时候,为了不影响在同一台计算机上工作的其他用户, 阅读全文

posted @ 2018-05-29 16:36 花生哒哒 阅读(416) 评论(0) 推荐(0)

在Window系统中使用Redis缓存策略
摘要:Redis是一个用的比较广泛的Key/Value的内存数据库,新浪微博、Github、StackOverflow 等大型应用中都用其作为缓存,Redis的官网为http://redis.io/。 最近项目中需要使用Redis,简单的认识Redis 1.安装和启动 官方下载地址:http://redi 阅读全文

posted @ 2018-05-29 10:57 花生哒哒 阅读(245) 评论(0) 推荐(0)

H5页面在IOS下不会自动播放音乐的坑
摘要:document.addEventListener(‘DOMContentLoaded‘, function () { function audioAutoPlay() { var audio = document.getElementById(‘bg-music‘); audio.play(); document.addEvent... 阅读全文

posted @ 2018-05-24 17:24 花生哒哒 阅读(264) 评论(0) 推荐(0)

c#枚举的描述和值
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication... 阅读全文

posted @ 2018-05-03 11:42 花生哒哒 阅读(199) 评论(0) 推荐(0)

导航