laihongchang

lai-bluejay
关注
44059 号成员,2019-03-08 11:35:01 加入
628
个人主页 浏览
77h47m
在线时长
  • Solo Markdown 渲染

    2019-04-21 22:03

    原来影响内容展示,我放新的页面了,抱歉。
    在这儿:https://www.jithub.cn/articles/2019/04/18/1555582980606.html
    但实际单独移出来,还是能显示部份元素的:https://www.jithub.cn/fileserver/test2.html

  • Solo Markdown 渲染

    2019-04-18 20:05

    可能还是渲染的问题。
    我在可视化的内容里面用了 d3。

    给你看一下报错的对比:

    1. 最终期望的结果:https://www.jithub.cn/fileserver/activation_function_all_in_one.html
    2. 实际的结果:https://www.jithub.cn/articles/2019/04/18/1555558277373.html
    3. 我把中间的 html 的元素,包括<style> <scripts>都复制过来了,https://www.jithub.cn/fileserver/test2.html 右侧公式显示还是有问题
  • Solo Markdown 渲染

    2019-04-18 12:19

    实际显示中,select 没有生效

  • Solo Markdown 渲染

    2019-04-18 12:18

    抱歉,刚刚把之前的添加了实际页面
    https://www.jithub.cn/articles/2019/04/18/1555561028799.html

    本来期望是如下页面的
    https://www.jithub.cn/fileserver/activation_functions_d3.html

  • Solo Markdown 渲染

    2019-04-18 11:47

    solo 的 markdown 支持引入 html 或者 js 吗?
    有部分博客,尤其是前端,数据可视化,使用一些 css 或者 js 会方便呢; 就象 jekyll 里面,支持 includes,https://jekyllrb.com/docs/includes/

    我在社区里没有看到类似的帮助文档

    类似这个页面,如果直接复制 html 的话,渲染不成功呢。
    https://www.jithub.cn/articles/2019/04/18/1555561028799.html

  • Solo v3.4.0 发布,自动同步 GitHub 仓库

    2019-03-27 20:15

    对了,能帮忙再后台直接修改我的用户名吗?
    现在:

    B3:lai7bluejay solo: lai7bluejay github: lai-bluejay

    之前注册的时候提示用户名不能有 dash:'-',就改了一下,和 github 不一致了。

    现在 solo v3.4 的 github repo 也不自动更新了~~可能跟这个有关系~~~

    然后,每次更新 solo,首要手动 update 库里的用户名变为跟 github 一致:lai-bluejay 才能登录。

    之后提示图床不一致,又要改成 lai7bluejay。

    能帮忙修改吗,现在个人积分不够呢~~

  • Solo v3.4.0 发布,自动同步 GitHub 仓库

    2019-03-27 10:27

    明白,那晚上再联系您

  • Solo v3.4.0 发布,自动同步 GitHub 仓库

    2019-03-27 10:17

    docker 的话,可以修改 latke 之类的配置项吗~~

  • Solo v3.4.0 发布,自动同步 GitHub 仓库

    2019-03-27 10:14

    抱歉,才回复信息。已经用 docker 启动了,麻烦帮忙看一下~~
    https://www.jithub.cn/。

    # cat jithub.conf # ssl_session_cache shared:SSL:10m; # ssl_session_timeout 10m; upstream backend { server localhost:8080; # Tomcat/Jetty } server { listen 443; server_name www.jithub.cn; charset utf8; ssl on; keepalive_timeout 70; ssl_certificate /root/cert/Nginx/1_jithub.cn_bundle.crt; ssl_certificate_key /root/cert/Nginx/2_jithub.cn.key; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_ciphers HIGH:!aNULL:!MD5; if ($scheme != 'https') { rewrite ^(.*)$ https://$server_name$1 permanent; } location / { proxy_pass http://backend$request_uri; proxy_redirect https:// http://; proxy_set_header Host $host:$server_port; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto https; proxy_set_header SSL_PROTOCOL $ssl_protocol; client_max_body_size 10m; } } server { listen 80; server_name jithub.cn www.jithub.cn; access_log off; if ($host = "jithub.cn"){ return 301 https://www.jithub.cn$request_uri; } return 301 https://$server_name$request_uri; } server { listen 443; server_name jithub.cn; return 301 https://www.jithub.cn$request_uri; }

    启动命令

    docker run --detach --name solo --network=host \ --env RUNTIME_DB="MYSQL" \ --env JDBC_USERNAME="sololhc" \ --env JDBC_PASSWORD="E]---------------#=" \ --env JDBC_DRIVER="com.mysql.cj.jdbc.Driver" \ --env JDBC_URL="jdbc:mysql://localhost:3306/solo?useUnicode=yes&characterEncoding=UTF-8&useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true" \ b3log/solo --listen_port=8080 --server_scheme=https --server_host=www.jithub.cn
  • Solo v3.4.0 发布,自动同步 GitHub 仓库

    2019-03-26 15:50

    需要复现一下吗,我可以用 docker 再起一下服务

  • Solo v3.4.0 发布,自动同步 GitHub 仓库

    2019-03-26 15:49

    启动参数如下

    docker run --detach --name solo --network=host \ --env RUNTIME_DB="MYSQL" \ --env JDBC_USERNAME="sololhc" \ --env JDBC_PASSWORD="xxxxxxx" \ --env JDBC_DRIVER="com.mysql.cj.jdbc.Driver" \ --env JDBC_URL="jdbc:mysql://localhost:3306/solo?useUnicode=yes&characterEncoding=UTF-8&useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true" \ b3log/solo --listen_port=8080 --server_scheme=https --server_host=www.jithub.cn
  • Solo v3.4.0 发布,自动同步 GitHub 仓库

    2019-03-26 15:29

    solo 用 docker 配置后,网页内容加载出错。java cp 启动方式不会报错。
    Mixed Content: The page at 'https://www.jithub.cn/' was loaded over HTTPS, but requested an insecure stylesheet 'http://www.jithub.cn/skins/Pinghsu/css/base.css?1553584947395'. This request has been blocked; the content must be served over HTTPS.

    nginx 配置:

    # cat jithub.conf # ssl_session_cache shared:SSL:10m; # ssl_session_timeout 10m; upstream backend { server localhost:8080; # Tomcat/Jetty } server { listen 443; server_name www.jithub.cn; charset utf8; ssl on; keepalive_timeout 70; ssl_certificate /root/cert/Nginx/1_jithub.cn_bundle.crt; ssl_certificate_key /root/cert/Nginx/2_jithub.cn.key; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_ciphers HIGH:!aNULL:!MD5; if ($scheme != 'https') { rewrite ^(.*)$ https://$server_name$1 permanent; } location / { proxy_pass http://backend$request_uri; proxy_redirect https:// http://; proxy_set_header Host $host:$server_port; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto https; proxy_set_header SSL_PROTOCOL $ssl_protocol; client_max_body_size 10m; } } server { listen 80; server_name jithub.cn www.jithub.cn; access_log off; if ($host = "jithub.cn"){ return 301 https://www.jithub.cn$request_uri; } return 301 https://$server_name$request_uri; } server { listen 443; server_name jithub.cn; return 301 https://www.jithub.cn$request_uri; }
  • Solo v3.4.0 发布,自动同步 GitHub 仓库

    2019-03-26 12:17

    原有的 CDN 设置,直接取消掉吗?