Quantcast
Channel: 若志 • 随笔 - 学习笔记
Browsing all 10 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Git 本地与GitHub远程同步

基本步骤:本地添加仓库:创建文件夹打开git初始化仓库git init设置提交代码时的用户信息:git config --global user.name "irozhi" git config --global user.email "irils@qq.com" 建立本地仓库与远程仓库的链接:git remote -v //查看与远程仓库连接情况git remote add origin...

View Article



Image may be NSFW.
Clik here to view.

他们,以赤子之心敌千军万马!

...

View Article

Image may be NSFW.
Clik here to view.

Typecho实现文章加载更多

水一篇typecho折腾记录,实现效果可参考本站首页加载更多~主题目录找到index.php,把主题默认的分页导航的容器换成<?php $this->pageLink('点击查看更多','next'); ?> 然后找到footer.php,

View Article

Image may be NSFW.
Clik here to view.

Typecho实现相册.书单页面自定义

...

View Article

Typecho实现文章点赞功能

应 @森木志姥爷 要挟!特此水一篇折腾记录-Typecho实现文章点赞,当时也懒得记录,现在觉得有必要记录一下。过程首先找到functions.php,加入以下函数已标注相关注释(且经过@陆之岇 优化):function agreeNum($cid, &$record = NULL) { $db = Typecho_Db::get(); $callback = array( 'agree'...

View Article


Image may be NSFW.
Clik here to view.

宝塔Linux面板解决跨域问题

...

View Article

正则表达式学习笔记

...

View Article

黑夜——Cross fire

转载一篇让我重生学习动力的文章前几天我发了一篇我正开始进行复习的随笔,有一个15年的学长@Specialhua,也是老乡,在评论区分享了我一些建议,于是我进了他博客,看到他的一篇文章《黑夜——Cross...

View Article


Image may be NSFW.
Clik here to view.

PHP函数:json_encode中文unicode编码和斜杠转义 解决方法

今天在研究写一个typecho数据转halo插件时因为需要先把typecho数据转成json,才能导入到halo,我最初是直接用的:echo json_encode($arry);结果返回结果如下:"name": "\u9ed8\u8ba4\u5206\u7c7b",这里本应该是中文的,结果中文被unicode编码了。http:// ----...

View Article


Image may be NSFW.
Clik here to view.

用FreshRSS 实现友圈rss订阅

前段时间发了一动态【随笔#新增友圈页面】,跟@jdeal佬哥研究了一天通过 FreshRSS 给博客添加 【友圈】...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images