<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>501225658 (LG)</title>
    <link>https://ruby-china.org/501225658</link>
    <description></description>
    <language>en-us</language>
    <item>
      <title>亲们，国密 SM3，有没有 ruby 版本</title>
      <description>&lt;p&gt;&lt;a href="https://github.com/guanzhi/GmSSL" rel="nofollow" target="_blank"&gt;https://github.com/guanzhi/GmSSL&lt;/a&gt;
网上找到一个，
有没有 ruby 版本的。求助&lt;/p&gt;</description>
      <author>501225658</author>
      <pubDate>Wed, 16 Mar 2022 19:43:36 +0800</pubDate>
      <link>https://ruby-china.org/topics/42225</link>
      <guid>https://ruby-china.org/topics/42225</guid>
    </item>
    <item>
      <title>求教, 支付宝小程序 AES 解密</title>
      <description>&lt;p&gt;最近在看 支付宝小程序，没有找到相关 gem 包可以用.
有没有大佬 做过？
&lt;a href="https://docs.alipay.com/mini/introduce/aes" rel="nofollow" target="_blank"&gt;https://docs.alipay.com/mini/introduce/aes&lt;/a&gt;
这个 AES 解密，有没有相关的 ruby 解密方法呢？&lt;img title=":pray:" alt="🙏" src="https://twemoji.ruby-china.com/2/svg/1f64f.svg" class="twemoji"&gt; &lt;img title=":pray:" alt="🙏" src="https://twemoji.ruby-china.com/2/svg/1f64f.svg" class="twemoji"&gt; &lt;img title=":pray:" alt="🙏" src="https://twemoji.ruby-china.com/2/svg/1f64f.svg" class="twemoji"&gt; &lt;img title=":pray:" alt="🙏" src="https://twemoji.ruby-china.com/2/svg/1f64f.svg" class="twemoji"&gt; &lt;img title=":pray:" alt="🙏" src="https://twemoji.ruby-china.com/2/svg/1f64f.svg" class="twemoji"&gt; &lt;/p&gt;</description>
      <author>501225658</author>
      <pubDate>Thu, 19 Sep 2019 13:57:50 +0800</pubDate>
      <link>https://ruby-china.org/topics/39067</link>
      <guid>https://ruby-china.org/topics/39067</guid>
    </item>
    <item>
      <title>请教一下, ruby 下面 2 种写发有啥区别, 帮帮纠正思维.</title>
      <description>&lt;p&gt;请教一下，ruby 下面 2 种写发有啥区别，用哪种好些。
想纠正一下 思维。&lt;/p&gt;

&lt;p&gt;求指点 :)&lt;/p&gt;
&lt;pre class="highlight ruby"&gt;&lt;code&gt;&lt;span class="c1"&gt;# 只想想生成 5以下的数.&lt;/span&gt;
&lt;span class="c1"&gt;# 一种是套方法, 一种是end后面接着写.&lt;/span&gt;
&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;set_min_five&lt;/span&gt;
    &lt;span class="nb"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;num&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;rand&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="nb"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;set_min_five&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="nb"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;num&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;
  &lt;span class="k"&gt;end&lt;/span&gt;

  &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;set_min_five&lt;/span&gt;
    &lt;span class="k"&gt;begin&lt;/span&gt;
      &lt;span class="nb"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;num&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;rand&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;end&lt;/span&gt; &lt;span class="k"&gt;while&lt;/span&gt; &lt;span class="nb"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;num&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;
  &lt;span class="k"&gt;end&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;</description>
      <author>501225658</author>
      <pubDate>Fri, 18 Dec 2015 18:36:47 +0800</pubDate>
      <link>https://ruby-china.org/topics/28455</link>
      <guid>https://ruby-china.org/topics/28455</guid>
    </item>
    <item>
      <title>[求教] routes path 写错导致 进程卡死</title>
      <description>&lt;p&gt;请教一个问题，
当写错 1 个 path 如：users_adminaa_path(user) 这是个错误 route
写正确的就没问题
访问页面不会出现 no route match ****
直接无响应 页面一直转圈，ruby 进程一直上升到 1G 多。&lt;/p&gt;</description>
      <author>501225658</author>
      <pubDate>Sat, 19 Jul 2014 09:10:45 +0800</pubDate>
      <link>https://ruby-china.org/topics/20586</link>
      <guid>https://ruby-china.org/topics/20586</guid>
    </item>
    <item>
      <title>哪里能直接看前端 [_真_] 写页面的视屏教学</title>
      <description>&lt;p&gt;书上都是的 API, 真的手写不知道开始
有没有大神推荐些教程.
 从切图 到制作 html 结构，分离 css,js，蹦个网站就出来了。&lt;/p&gt;</description>
      <author>501225658</author>
      <pubDate>Fri, 23 May 2014 17:37:04 +0800</pubDate>
      <link>https://ruby-china.org/topics/19498</link>
      <guid>https://ruby-china.org/topics/19498</guid>
    </item>
    <item>
      <title>国内网速慢就算了,还时不时来个墙,来个 timeout,火大</title>
      <description>&lt;p&gt;国内网速慢就算了，还时不时来个墙，来个 timeout，火大!
严重阻止学习啊，越来越觉得那个了。可惜英语没学好啊。&lt;/p&gt;</description>
      <author>501225658</author>
      <pubDate>Tue, 19 Nov 2013 13:03:00 +0800</pubDate>
      <link>https://ruby-china.org/topics/15647</link>
      <guid>https://ruby-china.org/topics/15647</guid>
    </item>
    <item>
      <title>2</title>
      <description>&lt;p&gt;2&lt;/p&gt;</description>
      <author>501225658</author>
      <pubDate>Thu, 31 Oct 2013 19:47:55 +0800</pubDate>
      <link>https://ruby-china.org/topics/15193</link>
      <guid>https://ruby-china.org/topics/15193</guid>
    </item>
    <item>
      <title>还有什么书求推荐?</title>
      <description>&lt;p&gt;&lt;img src="//l.ruby-china.com/photo/f08b40c2e67bf41ad5e213574dd3f696.png" title="" alt=""&gt;&lt;/p&gt;</description>
      <author>501225658</author>
      <pubDate>Tue, 22 Oct 2013 17:18:47 +0800</pubDate>
      <link>https://ruby-china.org/topics/14945</link>
      <guid>https://ruby-china.org/topics/14945</guid>
    </item>
    <item>
      <title>不学英语就是在混</title>
      <description>&lt;p&gt;批评的好深..&lt;/p&gt;</description>
      <author>501225658</author>
      <pubDate>Tue, 15 Oct 2013 11:23:36 +0800</pubDate>
      <link>https://ruby-china.org/topics/14755</link>
      <guid>https://ruby-china.org/topics/14755</guid>
    </item>
    <item>
      <title>每个人应该活 1000 岁,这样科技发展就飞速了</title>
      <description>&lt;p&gt;牛顿 1000 岁：离开地球，蹦哒星球之间也就几秒的事情.
乔布斯 1000 岁：透明光线电脑也就几年的事.
爱因斯坦 1000 岁：可能宇宙只是 1 个 10 平米的区间.
如果我 1000 岁：没准人类不用在依靠氧气了。&lt;/p&gt;</description>
      <author>501225658</author>
      <pubDate>Wed, 09 Oct 2013 14:15:42 +0800</pubDate>
      <link>https://ruby-china.org/topics/14614</link>
      <guid>https://ruby-china.org/topics/14614</guid>
    </item>
    <item>
      <title>自学好难</title>
      <description>&lt;p&gt;有的时候，别人 1 句话就能点悟，自己去想，可能 1 次，2 次甚至 3-5 次过程才明白.
想想当初那会，多少白痴问题，现在看起来是那么的简单。&lt;/p&gt;</description>
      <author>501225658</author>
      <pubDate>Wed, 09 Oct 2013 14:04:04 +0800</pubDate>
      <link>https://ruby-china.org/topics/14612</link>
      <guid>https://ruby-china.org/topics/14612</guid>
    </item>
    <item>
      <title>有没有 with callback 之类的 gem 可用?</title>
      <description>&lt;p&gt;after save :mycallback&lt;/p&gt;

&lt;p&gt;def mycallback
    do save
end&lt;/p&gt;

&lt;p&gt;without_callback(:mycallback) do
  do save without_after_save
end&lt;/p&gt;

&lt;p&gt;有没有这种类似的 Gem 额&lt;/p&gt;</description>
      <author>501225658</author>
      <pubDate>Tue, 24 Sep 2013 11:40:37 +0800</pubDate>
      <link>https://ruby-china.org/topics/14346</link>
      <guid>https://ruby-china.org/topics/14346</guid>
    </item>
    <item>
      <title>数学英语一定要从小抓起</title>
      <description>&lt;p&gt;活了半辈子，终于领悟出了，数学英语的重要性，
现在教育应该改革:
                  a.数学英语不满 80 分 (100 分满) 的全部留级.
                  b.数学英语家教全部半价。&lt;/p&gt;</description>
      <author>501225658</author>
      <pubDate>Sat, 07 Sep 2013 16:54:01 +0800</pubDate>
      <link>https://ruby-china.org/topics/13947</link>
      <guid>https://ruby-china.org/topics/13947</guid>
    </item>
  </channel>
</rss>
