北漂小兄弟的博客

北漂小兄弟的博客

菜根笔记

php上传文件 $_FILES[‘tmp_name’]为空

php上传文件 $_FILES[‘tmp_name’]为空

2017 年 8 月 18 日 北漂小兄弟 Comments 1 comment

php上传文件 $_FILES[‘tmp_name’]为空? 因为超过了php.ini设置的最大上传值。 修改php.ini uploa…

Read More Read More

独立使用Laravel的ORM

独立使用Laravel的ORM

2017 年 8 月 14 日 北漂小兄弟 Comments 0 Comment

众所周知,laravel的ORM使用起来非常顺手,并且强大,那么如果我们不用laravel也想用ORM该怎么做了 1、composer 安装需要的组件 comp…

Read More Read More

mysql语句利用limit查询某一条之后的所有记录

mysql语句利用limit查询某一条之后的所有记录

2017 年 8 月 9 日 北漂小兄弟 Comments 0 Comment

要从某个偏移量检索结果集结尾的所有行,您可以对第二个参数使用一些大数字。此语句检索从第100行到最后一行的所有行;   SELECT * FROM t…

Read More Read More

laravel 快递查询插件

laravel 快递查询插件

2017 年 8 月 9 日 北漂小兄弟 Comments 1 comment

今天公司需要使用快递查询的业务,于是就造了个轮子出来,然后分享下,如遇问题,可以反馈,如用着还可以,望star。采用的是快递100的接口,还算稳定。 compo…

Read More Read More

composer install 错误处理Your configuration does not allow connections

composer install 错误处理Your configuration does not allow connections

2017 年 8 月 7 日 北漂小兄弟 Comments 0 Comment

[Composer\Downloader\TransportException] Your configuration does not allow conne…

Read More Read More

php启动提示msvcr110.dll丢失的问题

php启动提示msvcr110.dll丢失的问题

2017 年 8 月 1 日 北漂小兄弟 Comments 0 Comment

msvcr110.dll是 Visual C++扩展程序,php是在vs下面开发的,所以需要它的支持,根据版本不同,提示缺少的dll模块也不同,但多数是缺少C+…

Read More Read More

远端删除的分支 git branch -a 仍然能看见?

远端删除的分支 git branch -a 仍然能看见?

2017 年 7 月 24 日 北漂小兄弟 Comments 0 Comment

远程仓库里已经删除的分支,但是在本地git branch -a 的时候还是有? git remote show origin 获取远端分支信息,你可以看到和本地…

Read More Read More

解决 /var/lib/dpkg/lock -open

解决 /var/lib/dpkg/lock -open

2017 年 7 月 17 日 北漂小兄弟 Comments 0 Comment

无法获得锁 /var/lib/dpkg/lock – open (11: 资源暂时不可用) 无法锁定管理目录(/var/lib/dpkg/),是否有…

Read More Read More

laravel Cache:rember 代替 has get put

laravel Cache:rember 代替 has get put

2017 年 7 月 13 日 北漂小兄弟 Comments 0 Comment

if(Cache::has(‘user_’. $id)){ return Cache::get(‘user_’. $id); } $user = User::w…

Read More Read More

nginx 添加ssl支持

nginx 添加ssl支持

2017 年 7 月 12 日 北漂小兄弟 Comments 0 Comment

listen 80; listen 443 ssl; server_name www.inbeijing.org inbeijing.org; # 强制http…

Read More Read More

win10 好玩的 win + ctrl +c

win10 好玩的 win + ctrl +c

2017 年 7 月 12 日 北漂小兄弟 Comments 0 Comment

win10 好玩的 win + ctrl +c 当你看电脑太累了?颜色太伤眼睛了? win+ctrl+c 让你的笔记本颜色开启黑白电视模式,一下回到解放前! 如…

Read More Read More

php7 解析unicode方法

php7 解析unicode方法

2017 年 7 月 10 日 北漂小兄弟 Comments 1 comment

php7开始支持unicode function parse($string) { $string = str_replace(‘\u’, ‘}\u{‘, $s…

Read More Read More

php代码在html文件里面不工作 nginx

php代码在html文件里面不工作 nginx

2017 年 7 月 3 日 北漂小兄弟 Comments 0 Comment

当你php和html混编的时候,可能会发现 php代码在html里面没有解析 这多半是nginx 的配置问题 location ~ \.(php|html)$ …

Read More Read More

这到底是谁的错

这到底是谁的错

2017 年 6 月 29 日 北漂小兄弟 Comments 0 Comment

故事一: 背景介绍:RT是一个外包公司,ZWZX是项目承接公司,YD是甲方。 RT公司每天下班的时候都会接到ZWZX负责人的电话,询问一天的工作情况,然后布置任…

Read More Read More

maatwebsite add 为列添加注释

maatwebsite add 为列添加注释

2017 年 6 月 29 日 北漂小兄弟 Comments 0 Comment

//为A1单元格添加注释 $sheet->getComment(‘A1’)->getText()->createTextRun(‘你得注释内容…

Read More Read More

巧用wc 和ctr+d

巧用wc 和ctr+d

2017 年 6 月 28 日 北漂小兄弟 Comments 0 Comment

在linux中经常用到wc命令对文件进行统计 标准用法是 wc -l demo.text 或者 wc demo.text 其实你可以这样用wc之后直接回车,然后…

Read More Read More

内向者的优势

内向者的优势

2017 年 6 月 27 日 北漂小兄弟 Comments 0 Comment

下载 内向者的优势

mysql 更改字段,表,库,的排序规则

mysql 更改字段,表,库,的排序规则

2017 年 6 月 27 日 北漂小兄弟 Comments 0 Comment

改为utf8_unicode_ci alter table partner_order CHANGE order_id order_id VARCHAR(100…

Read More Read More

code. eat. sleep. loop ✌

code. eat. sleep. loop ✌

2017 年 6 月 23 日 北漂小兄弟 Comments 0 Comment

code. eat. sleep. loop ✌

git 删除远程分支

git 删除远程分支

2017 年 6 月 23 日 北漂小兄弟 Comments 0 Comment

删除远程分支的两种方法: git push origin –delete branch-name git push origin :branch-name 删…

Read More Read More

Posts navigation

OLDER POSTS
NEWER POSTS

站内搜索

分类

  • ARTS
  • Golang
  • HTTP
  • JavaScript
  • laravel
  • LINUX
  • MySQL
  • PHP
  • python
  • rabbitMQ从0到0.99
  • 未分类技术文章
  • 树莓派(raspberry pi)
  • 随笔

近期文章

  • FFmpeg 视频剪辑常用命令 2025 年 5 月 22 日
  • FFMPEG常用命令 2024 年 11 月 25 日
  • 已经开了全局代理还是安装不上? 2024 年 10 月 29 日
  • GO语言里channel的阻塞机制 2024 年 9 月 29 日
  • golang 遍历当前目录下的制定扩展名文件,包括子目录 2024 年 1 月 17 日
  • 程序员的30个坏习惯 2024 年 1 月 15 日
  • mac上如何双开微信 2023 年 12 月 17 日
  • 终端内查看天气预报 curl wttr.in 2023 年 12 月 13 日
  • go 切片表达式介绍 2023 年 10 月 7 日
  • golang Prinf详细使用介绍 2023 年 5 月 24 日
  • golang APP版本号比对大小方法 2023 年 5 月 15 日
  • golang strings.Builder 与拼接字符串的区别 2023 年 3 月 17 日
  • golang 将秒转化为小时分钟 2023 年 1 月 28 日
  • GO谚语你知道多少 2022 年 8 月 9 日
  • linux 快速清空一个文件命令 2022 年 5 月 20 日

归档

  • 2025 年 5 月
  • 2024 年 11 月
  • 2024 年 10 月
  • 2024 年 9 月
  • 2024 年 1 月
  • 2023 年 12 月
  • 2023 年 10 月
  • 2023 年 5 月
  • 2023 年 3 月
  • 2023 年 1 月
  • 2022 年 8 月
  • 2022 年 5 月
  • 2021 年 4 月
  • 2020 年 11 月
  • 2020 年 7 月
  • 2020 年 6 月
  • 2020 年 5 月
  • 2020 年 4 月
  • 2020 年 3 月
  • 2020 年 2 月
  • 2020 年 1 月
  • 2019 年 12 月
  • 2019 年 11 月
  • 2019 年 10 月
  • 2019 年 9 月
  • 2019 年 8 月
  • 2019 年 7 月
  • 2019 年 6 月
  • 2019 年 5 月
  • 2019 年 3 月
  • 2019 年 2 月
  • 2019 年 1 月
  • 2018 年 12 月
  • 2018 年 11 月
  • 2018 年 10 月
  • 2018 年 9 月
  • 2018 年 8 月
  • 2018 年 7 月
  • 2018 年 6 月
  • 2018 年 5 月
  • 2018 年 4 月
  • 2018 年 3 月
  • 2018 年 2 月
  • 2018 年 1 月
  • 2017 年 11 月
  • 2017 年 10 月
  • 2017 年 9 月
  • 2017 年 8 月
  • 2017 年 7 月
  • 2017 年 6 月
  • 2017 年 5 月
  • 2017 年 1 月
  • 2016 年 12 月
  • 2016 年 5 月
  • 2016 年 2 月
  • 2015 年 12 月
  • 2015 年 11 月
  • 2015 年 10 月
  • 2015 年 9 月
  • 2015 年 8 月
  • 2015 年 7 月
  • 2015 年 6 月
  • 2015 年 5 月
  • 2015 年 4 月
  • 2015 年 3 月
  • 2015 年 2 月
  • 2015 年 1 月
  • 2014 年 12 月
  • 2014 年 11 月
  • 2014 年 10 月
  • 2014 年 9 月
  • 2014 年 8 月
  • 2014 年 6 月
  • 2014 年 5 月
  • 2014 年 4 月
  • 2014 年 3 月
  • 2014 年 2 月
  • 2014 年 1 月
  • 2013 年 12 月
  • 2013 年 11 月
  • 2013 年 10 月
  • 2013 年 9 月
  • 2013 年 8 月
  • 2013 年 7 月
  • 2013 年 6 月
  • 2013 年 5 月
  • 2013 年 4 月
© 2025 | Proudly Powered by WordPress | Theme: Nisarg 京ICP备12015649号-1