随笔分类 -  ruby

摘要:代码: #!ruby #coding=utf-8 require 'busker' require "mysql" require "json" def getloginuserinfo(sessionId = '') conn = Mysql.connect('mysql://root:12345 阅读全文
posted @ 2024-06-26 11:24 河北大学-徐小波 阅读(7) 评论(0) 推荐(0) 编辑
摘要:代码: #!ruby #coding=utf-8 require "mysql" require "json" require 'ramaze' def getloginuserinfo(sessionId = '') conn = Mysql.connect('mysql://root:12345 阅读全文
posted @ 2024-06-26 11:23 河北大学-徐小波 阅读(5) 评论(0) 推荐(0) 编辑
摘要:代码: #!ruby #coding=utf-8 require "sinatra" require "sinatra/base" require "mysql" require "json" =begin gem sources -l gem sources --remove https://ru 阅读全文
posted @ 2024-06-26 11:21 河北大学-徐小波 阅读(10) 评论(0) 推荐(0) 编辑
摘要:目录结构 nginx配置: upstream bbs_upstream { server 127.0.0.1:1081; #php server 127.0.0.1:1086; #csharpe server 127.0.0.1:1087; #java server 127.0.0.1:1084; 阅读全文
posted @ 2024-06-21 14:55 河北大学-徐小波 阅读(15) 评论(0) 推荐(0) 编辑