halo

Halo博客的搭建

家住魔仙堡 提交于 2020-04-12 11:50:32
今日主题:搭建一个私人博客 好多朋友和我说,能不能弄一个简单的私人博客啊,我说行吧,今天给你们一份福利啦! 搭建一个私人博客,就可以在自己的电脑上写博客了 Halo Halo 是一款现代化的个人独立博客系统,给习惯写博客的同学多一个选择。 简介 Halo [ˈheɪloʊ],意为光环。当然,你也可以当成拼音读(哈喽)。 轻快,简洁,功能强大,使用 Java 开发的博客系统。 start 下载最新的的安装包 可以使用下面的命令下载 curl -L https://github.com/halo-dev/halo/releases/download/v1.3.1/halo-1.3.1.jar --output halo-latest.jar 或者 wget https://github.com/halo-dev/halo/releases/download/v1.3.1/halo-1.3.1.jar -O halo-latest.jar 启动条件 有JDK环境 下载好了Halo安装包 JDK环境配置,请 点击这里 正式启动进行配置 进入该安装包的目录下,复制路径 进入DOS命令,输入下面的的命令,然后回车 cd 路径 出现下面这个就是启动成功 这个dos窗口不要关闭,在浏览器里输入下面链接就可以访问 localhost:8090 第一次需要进行设置相关信息 可以对博客进行一些设置

zk-SNARKs零知识证明的8种构建介绍与对比

你。 提交于 2020-02-25 23:53:26
zk-SNARK是一个快速发展的领域,仅在过去的两个月里,就宣布了数个突破性的zk-SNARK构建。曾经必须的可信设置现在已经是冗余的了,这意味着可以使用任何计算。然而关于这些新的zk-SNARK构建的资料很难找到。在这片文章中,我将比较这些新出现的zk-SNARK构建,并在以后不定期更新。 <!--more--> 像zk-SNARK这样的零知识证明有很多应用:Zcash利用零知识证明来保护隐私,Coda和Mir利用零知识证明将整个区块链压缩到只有几K字节,0x和Matter则利用零知识证明将许多交易封装为以太坊 上的单一证明。如果你还不了解零知识证明,可以看一下这里的 解释 。 相关链接: 以太坊 | 比特币 | EOS | Tendermint Core | Hyperledger Fabric | Omni/USDT | Ripple 1、可信设置 传统的zk-SNARK,例如Groth16有一个主要的缺点:依赖于一个公共的参考字符串,该字符串使用一次性可信设置创建。该设置创建一个供证明方和验证方同时使用的参考字符串。这里面有三个主要的问题: 可信设置生成的“有毒废料”,如果泄露的话,可以被用于生成无法 检测的伪造证明。多方计算通常会忽略这个问题,但是仪式的协调 异常复杂。 可信设置创建的参考字符串通常绑定到一个电路(基本上就是程序)。 不可能为任何计算创建一个单独的可信设置

How do you remove the border of a Flex 4 TextArea Component (spark themed halo)

允我心安 提交于 2019-12-23 10:53:02
问题 With the Flex 3 SDK you simply needed to set the borderThickness style to 0, or set borderStyle to none. With the Flex 4 SDK ad the Spark theme, this has no effect. 回答1: Try something like: borderVisible="false" 回答2: If you want to remove the border from spark TextArea's here are some ways to do so: To make all spark TextAreas have no border you can do this: s|TextArea { borderVisible : false; } You can also make a simple style and only apply them to specific spark TextAreas like so:

Friends-of-friends algorithm written in Python need to be in Fortran 90/95

孤者浪人 提交于 2019-12-23 05:25:54
问题 I'm trying to write my own code for a 'friends-of-friends' algorithm. This algorithm acts on a set of 3d data points and returns the number of 'halos' in the dataset. Each halo is a collection of point whose distance is less than the linking length, b, the only parameter of the program. Algorithmic Description: The FOF algorithm has a single free parameter called the linking length. Any two particles that are separated by a distance less than or equal to the linking length are called "friends

Flex mobile project does not support mx:Canvas?

时光总嘲笑我的痴心妄想 提交于 2019-12-23 02:43:08
问题 In Flash Builder, if I new a Flex Mobile Project, and paste the following code: <?xml version="1.0"?> <!-- Simple example to demonstrate the Halo Canvas layout container. --> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx"> <s:Group/> <mx:Canvas/> </s:Application> The "Canvas" line fails to compile. However it's OK in a Flex Project. My question is, is there any way to use Canvas or other halo

What's the difference between the mx/fx/s object types in Flex 4?

谁都会走 提交于 2019-12-22 09:33:28
问题 Flex4 provides the following namespaces: xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/halo" What's the difference? Which namespace provide which function? Where can I find info about that? 回答1: Namespaces allow you to specify to the compiler where to look for the files/classes that you reference in your mxml. There are two different types of namespaces that get used in Flex 4. A language namespace and a component

What are the downsides to using Spark over Halo in Flex?

依然范特西╮ 提交于 2019-12-17 19:50:16
问题 Is there more work, or source code files required to customize your look and feel (skins)? How maintainable and readable is Spark relative to Halo? Is it more productive and easier to customize overall than Halo, about the same, less? If you're an SDK user who was 99% happy with Halo's appearance (maybe just a few CSS tweaks), is switching to Spark creating more work for you? Do we now need to employ designers to get a reasonably complete look and feel? 回答1: IMHO you have more possibilities

Skin Flex 4 combobox to look like Flex 3 combobox

心已入冬 提交于 2019-12-08 14:09:25
As I have migrated my application to Flex 4 recently, I want to utilize the <s:Combobox> component in my application rather than <mx:Combobox> . The problem is that the look and feel of both are different. How can I make the <s:Combobox /> component look (all skinning e.g. hover over, click, outline) exactly the same as <mx:Combobox /> ? More specifically, I want to apply the Halo theme to a DropdownList component. Is that possible? You could just set the default skin for your application to Hero instead of Spark. Assuming you're using Flash Builder: Click on Project -> Properties . Click Flex

Skin Flex 4 combobox to look like Flex 3 combobox

我是研究僧i 提交于 2019-12-08 03:16:50
问题 As I have migrated my application to Flex 4 recently, I want to utilize the <s:Combobox> component in my application rather than <mx:Combobox> . The problem is that the look and feel of both are different. How can I make the <s:Combobox /> component look (all skinning e.g. hover over, click, outline) exactly the same as <mx:Combobox /> ? More specifically, I want to apply the Halo theme to a DropdownList component. Is that possible? 回答1: You could just set the default skin for your

What's the difference between the mx/fx/s object types in Flex 4?

岁酱吖の 提交于 2019-12-06 03:44:13
Flex4 provides the following namespaces: xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/halo" What's the difference? Which namespace provide which function? Where can I find info about that? Namespaces allow you to specify to the compiler where to look for the files/classes that you reference in your mxml. There are two different types of namespaces that get used in Flex 4. A language namespace and a component namespace. the http: //ns.adobe.com/mxml/2009 namespace specifies what version of the mxml language gets used.