博客园 - garfieldtom
uuid:6cbd1ba2-f883-4c34-aed1-30dde64a3a3e;id=721540
2024-01-25T09:10:58Z
garfieldtom
https://www.cnblogs.com/GarfieldTom/
feed.cnblogs.com
https://www.cnblogs.com/GarfieldTom/p/16742038.html
用Python写了个根据基本码表生成词组码表的工具 - garfieldtom
『快码』码表生成工具 建立一个基本的单字码表文件,使用UTF8格式保存为文本文件,中间用空格间隔,如base.txt: 中 zlh 华 hkgs 人 rk 民 mbg 共 gtk 和 hfl 国 glah 再建立一个要编码的词库文件,同样使用UTF8格式保存为文本文件,中间用空格间隔,如source
2022-09-29T08:27:00Z
2022-09-29T08:27:00Z
garfieldtom
https://www.cnblogs.com/GarfieldTom/
【摘要】『快码』码表生成工具 建立一个基本的单字码表文件,使用UTF8格式保存为文本文件,中间用空格间隔,如base.txt: 中 zlh 华 hkgs 人 rk 民 mbg 共 gtk 和 hfl 国 glah 再建立一个要编码的词库文件,同样使用UTF8格式保存为文本文件,中间用空格间隔,如source <a href="https://www.cnblogs.com/GarfieldTom/p/16742038.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/GarfieldTom/p/16148126.html
Delphi生成JSON - garfieldtom
unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, V
2022-04-15T03:03:00Z
2022-04-15T03:03:00Z
garfieldtom
https://www.cnblogs.com/GarfieldTom/
【摘要】unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, V <a href="https://www.cnblogs.com/GarfieldTom/p/16148126.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/GarfieldTom/p/16065498.html
使用Python获取当前Bing的背景图片并设置为Windows壁纸 - garfieldtom
下面的代码在我写此博客时编辑通过,很简单,如果Bing的背景图片格式发生变化,请修改对应的正则匹配代码即可。 # # Name: BingWallPaper# Purpose:## Author: xxh## Created: 28-03-2022# Copyright: (c) xxh 2022#
2022-03-28T00:20:00Z
2022-03-28T00:20:00Z
garfieldtom
https://www.cnblogs.com/GarfieldTom/
【摘要】下面的代码在我写此博客时编辑通过,很简单,如果Bing的背景图片格式发生变化,请修改对应的正则匹配代码即可。 # # Name: BingWallPaper# Purpose:## Author: xxh## Created: 28-03-2022# Copyright: (c) xxh 2022# <a href="https://www.cnblogs.com/GarfieldTom/p/16065498.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/GarfieldTom/p/15716765.html
Ehlib9.0汉化 - garfieldtom
Ehlib包中的汉化文件不完整,自己随便翻译了一下,只翻译了常量,窗口没有翻译,那个内容少,用的时候再翻译吧。 英文: {*******************************************************} { } { EhLib 9.0 } { EhLib 9.0.10
2021-12-21T11:53:00Z
2021-12-21T11:53:00Z
garfieldtom
https://www.cnblogs.com/GarfieldTom/
【摘要】Ehlib包中的汉化文件不完整,自己随便翻译了一下,只翻译了常量,窗口没有翻译,那个内容少,用的时候再翻译吧。 英文: {*******************************************************} { } { EhLib 9.0 } { EhLib 9.0.10 <a href="https://www.cnblogs.com/GarfieldTom/p/15716765.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/GarfieldTom/p/15646924.html
Thinphp+nginx配置伪静态 - garfieldtom
location / { if (!-e $request_filename){ rewrite ^(.*)$ /index.php?s=$1 last; break; } }
2021-12-05T12:08:00Z
2021-12-05T12:08:00Z
garfieldtom
https://www.cnblogs.com/GarfieldTom/
【摘要】location / { if (!-e $request_filename){ rewrite ^(.*)$ /index.php?s=$1 last; break; } } <a href="https://www.cnblogs.com/GarfieldTom/p/15646924.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/GarfieldTom/p/15488778.html
Vue+Element Plus中显示主从表信息 - garfieldtom
实现如图所是效果: 主从表显示代码: <template> <el-table :data="tableData" stripe style="width: 100%" max-height="500"> <el-table-column type="expand"> <template #defa
2021-10-31T03:17:00Z
2021-10-31T03:17:00Z
garfieldtom
https://www.cnblogs.com/GarfieldTom/
【摘要】实现如图所是效果: 主从表显示代码: <template> <el-table :data="tableData" stripe style="width: 100%" max-height="500"> <el-table-column type="expand"> <template #defa <a href="https://www.cnblogs.com/GarfieldTom/p/15488778.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/GarfieldTom/p/15348449.html
flex弹性盒布局示例 - garfieldtom
刚学习弹性盒布局,实现下面的页面规划(故意弄复杂点看看如何实现) <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"
2021-09-28T08:10:00Z
2021-09-28T08:10:00Z
garfieldtom
https://www.cnblogs.com/GarfieldTom/
【摘要】刚学习弹性盒布局,实现下面的页面规划(故意弄复杂点看看如何实现) <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" <a href="https://www.cnblogs.com/GarfieldTom/p/15348449.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/GarfieldTom/p/15022615.html
Vue习惯打开卡练习 - garfieldtom
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi
2021-07-17T01:35:00Z
2021-07-17T01:35:00Z
garfieldtom
https://www.cnblogs.com/GarfieldTom/
【摘要】<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi <a href="https://www.cnblogs.com/GarfieldTom/p/15022615.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/GarfieldTom/p/15020137.html
Vue实现的mini计算器 - garfieldtom
跟李炎恢老师的教程一步一步实现的一个mini计算器 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta n
2021-07-16T06:52:00Z
2021-07-16T06:52:00Z
garfieldtom
https://www.cnblogs.com/GarfieldTom/
【摘要】跟李炎恢老师的教程一步一步实现的一个mini计算器 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta n <a href="https://www.cnblogs.com/GarfieldTom/p/15020137.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/GarfieldTom/p/14894414.html
SQL Server 将截断字符串或二进制数据 - garfieldtom
如果数据库字段太多,当某一列的数据超出了定义的长度时,SQL Server会提示: 将截断字符串或二进制数据 但不提示是哪一个字段的数据超出了长度.... SQL Server 2019可以了,在2019中新建数据库,当数据超出长度时会提示: 字符串或二进制数据将在表“Member”,列“UName
2021-06-17T09:10:00Z
2021-06-17T09:10:00Z
garfieldtom
https://www.cnblogs.com/GarfieldTom/
【摘要】如果数据库字段太多,当某一列的数据超出了定义的长度时,SQL Server会提示: 将截断字符串或二进制数据 但不提示是哪一个字段的数据超出了长度.... SQL Server 2019可以了,在2019中新建数据库,当数据超出长度时会提示: 字符串或二进制数据将在表“Member”,列“UName <a href="https://www.cnblogs.com/GarfieldTom/p/14894414.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/GarfieldTom/p/14827000.html
Thinkphp6 中的跨域请求设置 AllowCrossDomain中间件(转) - garfieldtom
转:https://www.pianshen.com/article/6570998333/ tp6已经自己封装好了跨域请求的内置中间件,自己都快自己封装好了才发现。 使用; 在 app\middleware.php 文件中,引入内置中间件即可 \think\middleware\AllowCros
2021-05-30T00:02:00Z
2021-05-30T00:02:00Z
garfieldtom
https://www.cnblogs.com/GarfieldTom/
【摘要】转:https://www.pianshen.com/article/6570998333/ tp6已经自己封装好了跨域请求的内置中间件,自己都快自己封装好了才发现。 使用; 在 app\middleware.php 文件中,引入内置中间件即可 \think\middleware\AllowCros <a href="https://www.cnblogs.com/GarfieldTom/p/14827000.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/GarfieldTom/p/14800402.html
Deepin 安装jdk1.8(转) - garfieldtom
Deepin 安装jdk1.8 转:https://www.djc8.cn/archives/deep-install-jdk18.html 作者: 小蚊子 时间: 2020-04-08 12:03:00 分类: linux学习 JDK的安装我觉得网上应该有很多了,我这里写个Deepin下JDK的安
2021-05-22T23:58:00Z
2021-05-22T23:58:00Z
garfieldtom
https://www.cnblogs.com/GarfieldTom/
【摘要】Deepin 安装jdk1.8 转:https://www.djc8.cn/archives/deep-install-jdk18.html 作者: 小蚊子 时间: 2020-04-08 12:03:00 分类: linux学习 JDK的安装我觉得网上应该有很多了,我这里写个Deepin下JDK的安 <a href="https://www.cnblogs.com/GarfieldTom/p/14800402.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/GarfieldTom/p/14785879.html
使用 nginx 反向代理 sqlserver 访问 配置(转) - garfieldtom
转自: https://www.cnblogs.com/JoePotter/p/14633345.html stream{ upstream sqlserver{ server 172.16.102.8:1433 weight=1 max_fails=2 fail_timeout=30s; } se
2021-05-19T08:58:00Z
2021-05-19T08:58:00Z
garfieldtom
https://www.cnblogs.com/GarfieldTom/
【摘要】转自: https://www.cnblogs.com/JoePotter/p/14633345.html stream{ upstream sqlserver{ server 172.16.102.8:1433 weight=1 max_fails=2 fail_timeout=30s; } se <a href="https://www.cnblogs.com/GarfieldTom/p/14785879.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/GarfieldTom/p/14756588.html
WSL2运行图像应用或图形界面 - garfieldtom
转:https://www.freesion.com/article/20611012050/ 文章目录 WSL2运行图像应用或图形界面 安装WSL2 前置工作 1. 在控制面板,开启[虚拟机平台]和[Windows Linux子系统]这两个功能,然后重启 2. 下载WSL2 Linux Kerne
2021-05-11T09:45:00Z
2021-05-11T09:45:00Z
garfieldtom
https://www.cnblogs.com/GarfieldTom/
【摘要】转:https://www.freesion.com/article/20611012050/ 文章目录 WSL2运行图像应用或图形界面 安装WSL2 前置工作 1. 在控制面板,开启[虚拟机平台]和[Windows Linux子系统]这两个功能,然后重启 2. 下载WSL2 Linux Kerne <a href="https://www.cnblogs.com/GarfieldTom/p/14756588.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/GarfieldTom/p/14690483.html
php发送https请求 - garfieldtom
<?php function curl_get_https($url) { $curl = curl_init(); //如果需要参数,设置POST参数 $post_string = array('usercode'=>'123456','password'=>'123'); curl_setopt
2021-04-22T09:01:00Z
2021-04-22T09:01:00Z
garfieldtom
https://www.cnblogs.com/GarfieldTom/
【摘要】<?php function curl_get_https($url) { $curl = curl_init(); //如果需要参数,设置POST参数 $post_string = array('usercode'=>'123456','password'=>'123'); curl_setopt <a href="https://www.cnblogs.com/GarfieldTom/p/14690483.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/GarfieldTom/p/14690438.html
python发起https请求 - garfieldtom
import urllib.request import ssl ssl._create_default_https_context = ssl._create_unverified_context response = urllib.request.urlopen('https://www.bai
2021-04-22T08:53:00Z
2021-04-22T08:53:00Z
garfieldtom
https://www.cnblogs.com/GarfieldTom/
【摘要】import urllib.request import ssl ssl._create_default_https_context = ssl._create_unverified_context response = urllib.request.urlopen('https://www.bai <a href="https://www.cnblogs.com/GarfieldTom/p/14690438.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/GarfieldTom/p/14592319.html
composer更新错误 - garfieldtom
composer更新时遇到错误: [Composer\Downloader\TransportException] Error while processing content unencoding: Unknown failure within decompression software. 此时
2021-03-29T06:44:00Z
2021-03-29T06:44:00Z
garfieldtom
https://www.cnblogs.com/GarfieldTom/
【摘要】composer更新时遇到错误: [Composer\Downloader\TransportException] Error while processing content unencoding: Unknown failure within decompression software. 此时 <a href="https://www.cnblogs.com/GarfieldTom/p/14592319.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/GarfieldTom/p/14443782.html
ThinkPHP中的json对象 - garfieldtom
在ThinkPHP中,如果代码这样写: $res["user"] = "garfieldtom"; $res["age"] = "12"; $json = json($res); echo $json->getContent(); $list = json_decode($json->getCont
2021-02-24T13:02:00Z
2021-02-24T13:02:00Z
garfieldtom
https://www.cnblogs.com/GarfieldTom/
【摘要】在ThinkPHP中,如果代码这样写: $res["user"] = "garfieldtom"; $res["age"] = "12"; $json = json($res); echo $json->getContent(); $list = json_decode($json->getCont <a href="https://www.cnblogs.com/GarfieldTom/p/14443782.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/GarfieldTom/p/14328487.html
ThinkPHP修改默认错误页面 - garfieldtom
如果想要隐藏ThinkPHP返回错误信息中的具体内容,可以修改ThinkPHP的默认错误页面,在文件 vendor\topthink\framework\src\tpl\think_exception.tpl中,可以修改这个模板。
2021-01-25T22:32:00Z
2021-01-25T22:32:00Z
garfieldtom
https://www.cnblogs.com/GarfieldTom/
【摘要】如果想要隐藏ThinkPHP返回错误信息中的具体内容,可以修改ThinkPHP的默认错误页面,在文件 vendor\topthink\framework\src\tpl\think_exception.tpl中,可以修改这个模板。 <a href="https://www.cnblogs.com/GarfieldTom/p/14328487.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/GarfieldTom/p/14119110.html
thinkphp访问mysql中文字段问题 - garfieldtom
别人的数据库做接口,用到了中文字段,会报错,需要修改db/builder/mysql.php \w只匹配数字字母下划线,匹配不到汉字。 所以我们要在正则表达式上加上汉字匹配 if ($strict && !preg_match('/^[\w\.\*\x00-\xff]+$/', $key)) { t
2020-12-11T02:37:00Z
2020-12-11T02:37:00Z
garfieldtom
https://www.cnblogs.com/GarfieldTom/
【摘要】别人的数据库做接口,用到了中文字段,会报错,需要修改db/builder/mysql.php \w只匹配数字字母下划线,匹配不到汉字。 所以我们要在正则表达式上加上汉字匹配 if ($strict && !preg_match('/^[\w\.\*\x00-\xff]+$/', $key)) { t <a href="https://www.cnblogs.com/GarfieldTom/p/14119110.html" target="_blank">阅读全文</a>