随笔分类 - ruby
摘要:代码: #!ruby #coding=utf-8 require 'busker' require "mysql" require "json" def getloginuserinfo(sessionId = '') conn = Mysql.connect('mysql://root:12345
阅读全文
摘要:代码: #!ruby #coding=utf-8 require "mysql" require "json" require 'ramaze' def getloginuserinfo(sessionId = '') conn = Mysql.connect('mysql://root:12345
阅读全文
摘要:代码: #!ruby #coding=utf-8 require "sinatra" require "sinatra/base" require "mysql" require "json" =begin gem sources -l gem sources --remove https://ru
阅读全文
摘要:目录结构 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;
阅读全文