上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 154 下一页

2019年1月27日

[转]Database Transactions in Laravel

摘要: 本文转自:https://fideloper.com/laravel-database-transactions Laravel's documentation on Database Transactions describes wrapping our database calls within 阅读全文

posted @ 2019-01-27 23:03 freeliver54 阅读(175) 评论(0) 推荐(0) 编辑

2019年1月24日

[转]从minio中读取文件流进行下载文件

摘要: 本文转自:https://blog.csdn.net/ZHANGLIZENG/article/details/82892678 一、获取Minio连接 public static String minioUrl; public static String minioUsername; public 阅读全文

posted @ 2019-01-24 22:54 freeliver54 阅读(10993) 评论(1) 推荐(0) 编辑

[转]Build An Image Manager With NativeScript, Node.js, And The Minio Object Storage Cloud

摘要: 本文转自:https://www.thepolyglotdeveloper.com/2017/04/build-image-manager-nativescript-node-js-minio-object-storage-cloud/ When building a mobile applicat 阅读全文

posted @ 2019-01-24 22:27 freeliver54 阅读(611) 评论(1) 推荐(0) 编辑

2019年1月22日

[转]angular使用Md5加密

摘要: 本文转自:https://www.cnblogs.com/waitingbar/p/7527928.html 一、现象 用户登录时需要记住密码的功能,在前端需要对密码进行加密处理,增加安全性 二解决 1、利用npm(如果没有,先自行安装npm)安装ts-md5 npm install ts-md5 阅读全文

posted @ 2019-01-22 21:12 freeliver54 阅读(997) 评论(0) 推荐(0) 编辑

2019年1月18日

[转]centos每天自动备份mysql数据库

摘要: 本文转自:https://www.cnblogs.com/chongchong88/p/5566645.html #!/bin/bash PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin export PATH #数据 阅读全文

posted @ 2019-01-18 09:05 freeliver54 阅读(365) 评论(0) 推荐(0) 编辑

2019年1月17日

[转] javascript 保留两位小数 (且不四舍五入)

摘要: 本文转自:https://blog.csdn.net/qq_40171039/article/details/79729503 保留两位小数且不四舍五入: 方法一: var a = 2.461; var b = ( parseInt( a * 100 ) / 100 ).toFixed(2); co 阅读全文

posted @ 2019-01-17 15:04 freeliver54 阅读(384) 评论(0) 推荐(0) 编辑

[转]程序员的日常:时间戳和时区的故事

摘要: 本文转自:https://www.linuxidc.com/Linux/2016-01/127572.htm 什么是时间戳(timestamp)?它和时区(timezone)又有什么关系?初学者可能一开始很难搞懂时间戳这个概念,就像这期《程序员的日常》漫画中的主人公一样。 漫画注释 从漫画中举的例子 阅读全文

posted @ 2019-01-17 13:50 freeliver54 阅读(380) 评论(0) 推荐(0) 编辑

2019年1月15日

[转]Docker修改默认时区

摘要: 本文转自:https://www.jianshu.com/p/004ddf941aac 前言 前段时间把公司部分项目迁移到了docker 容器里。查看ngixn反向代理的log时发现时间与正确时间相差了8小时,所以估摸着是时区设置问题。基础镜像包含alpine、centos、ubuntu三种。特意整 阅读全文

posted @ 2019-01-15 16:55 freeliver54 阅读(758) 评论(0) 推荐(0) 编辑

[转]Raw Queries in Laravel

摘要: 本文转自:https://fideloper.com/laravel-raw-queries Business logic is often complicated. Because of this, we often need to write our own SQL queries. Lucki 阅读全文

posted @ 2019-01-15 16:17 freeliver54 阅读(192) 评论(4) 推荐(0) 编辑

2019年1月14日

[转]使用js把Unix时间戳转化成普通日期

摘要: 本文转自:https://blog.csdn.net/maggie_live/article/details/80606846 方法一: var time = 1523141099;var unixTimestamp = new Date(time*1000);var commonTime = un 阅读全文

posted @ 2019-01-14 09:30 freeliver54 阅读(3139) 评论(0) 推荐(0) 编辑

[转]js 取得 Unix时间戳(Unix timestamp)

摘要: 本文转自:https://blog.csdn.net/o0snow/article/details/6858829 js 取得 Unix时间戳 Unix时间戳(Unix timestamp),或称Unix时间(Unix time)、POSIX时间(POSIX time),是一种时间表示方式,定义为从 阅读全文

posted @ 2019-01-14 09:24 freeliver54 阅读(7763) 评论(0) 推荐(0) 编辑

2019年1月11日

PHP开发中bcscale timezone charset的设定

摘要: 关于php的开发,有几个细节设定,需要知悉下:在项目的init.php 或 index.php 或 api.php 1. bcscale(18); 表示bc函数,默认小数点位数。 没有设定的话,默认为0,表示整数结果处理。 会出现bcadd ,bcsub 等 截取值为整数。 之前有log出现后台强制 阅读全文

posted @ 2019-01-11 14:15 freeliver54 阅读(479) 评论(0) 推荐(0) 编辑

2019年1月10日

[转]git图解(3):分支操作

摘要: 本文转自:https://www.jianshu.com/p/342a9f8db004 title_img.png git 的分支是它最明显的特性, 大部分人听别人推荐使用git都会听到“git分支操作方便...”,对比其他版本控制系统git 分支操作有难以置信的轻量,创建新分支几乎瞬间完成,不同分 阅读全文

posted @ 2019-01-10 10:14 freeliver54 阅读(305) 评论(0) 推荐(0) 编辑

2019年1月8日

[转]Docker(三):Dockerfile 命令详解

摘要: 本文转自:https://blog.csdn.net/ityouknow/article/details/79600406 上一篇文章Docker(二):Dockerfile 使用介绍介绍了 Dockerfile 的使用,这篇文章我们来继续了解 Dockerfile ,学习 Dockerfile 各 阅读全文

posted @ 2019-01-08 13:48 freeliver54 阅读(209) 评论(0) 推荐(0) 编辑

[转]php中 curl模拟post发送json并接收json

摘要: 本文转自:https://blog.csdn.net/pangchengyong0724/article/details/52103962 本地模拟请求服务器数据,请求数据格式为json,服务器返回数据也是json. 由于需求特殊性, 如同步客户端的批量数据至云端, 提交至服务器的数据可能是多维数组 阅读全文

posted @ 2019-01-08 09:03 freeliver54 阅读(3588) 评论(0) 推荐(0) 编辑

2019年1月7日

[转]【docker】CMD ENTRYPOINT 区别

摘要: 本文转自:https://blog.csdn.net/u010900754/article/details/78526443 昨天用Dockerfile来启动mongodb的集群,启动参数--replSet死活没执行,最后就决定研究一哈cmd和entrypoint。但是上网看了一些资料个人觉得讲的不 阅读全文

posted @ 2019-01-07 18:28 freeliver54 阅读(150) 评论(0) 推荐(0) 编辑

[转]php模拟post提交请求,调用接口

摘要: 本文转自:https://www.cnblogs.com/jiqing9006/p/3949190.html 这是方法, 下面是具体的调用案例。 这样就提交请求,并且获取请求结果了。一般返回的结果是json格式的。 这里的post是拼接出来的。 也可以改造成下面的方式。 将拼接也封装了起来,这样调用 阅读全文

posted @ 2019-01-07 09:58 freeliver54 阅读(203) 评论(0) 推荐(0) 编辑

2019年1月3日

[转]bitcoin API reference (JSON-RPC)

摘要: 本文转自:https://en.bitcoin.it/wiki/API_reference_%28JSON-RPC%29#Node.js API reference (JSON-RPC) Contents [hide] 1Controlling Bitcoin 2JSON-RPC 3Proper m 阅读全文

posted @ 2019-01-03 16:30 freeliver54 阅读(1032) 评论(0) 推荐(0) 编辑

[转]bitcoin: 通过 rpc 请求节点数据

摘要: 本文转自:https://laravel-china.org/index.php/articles/8919/bitcoin-requests-node-data-through-rpc 文章来自本人的 简书 俺滴围脖 https://weibo.com/liuningtw 配置文件 放在 /mnt 阅读全文

posted @ 2019-01-03 16:27 freeliver54 阅读(1479) 评论(0) 推荐(0) 编辑

[转]HD钱包的助记词与密钥生成原理

摘要: 本文转自:https://blog.csdn.net/opassf/article/details/79978047 区块链相关的话题持续发酵之时,应该不少人知道加密货币钱包,钱包是普通用户与加密货币系统交互的入口,各种形态的钱百花齐放,手机钱包、桌面钱包、硬件钱包、网页钱包和纸质钱包等。通过钱包可 阅读全文

posted @ 2019-01-03 16:04 freeliver54 阅读(1668) 评论(0) 推荐(0) 编辑

上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 154 下一页

导航