Skip to content

Instantly share code, notes, and snippets.

Yua cloudeal

Block or report user

Report or block cloudeal

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View 字典操作.md

字典操作

合并(四种方法)

通过.items()方法转化成tuple,相加再转化为dict

dict(dict_a.items() + dict_b.items())

通过update方法

View insert_jp_ko_page_of_cwj.js
db.getCollection('page').find({site:"cotaiwaterjet", lan:"en"}).forEach(function(doc){
delete doc["_id"]
if (doc.page_name) {
doc['lan'] = 'ko'
page_name_list = doc.page_name.split('')
page_name_list[0] = 'k'
page_name_list[1] = 'o'
doc['page_name'] = page_name_list.join('')
@cloudeal
cloudeal / gist:4b7c09fb639aa4db0225eae01d4f693a
Created Jan 17, 2019 — forked from Shaltz/gist:1d65a07a0901a36fb7f1
HOW TO fix openLDAP checksum error on config files
View gist:4b7c09fb639aa4db0225eae01d4f693a
(source : http://injustfiveminutes.com/category/openldap)
How to fix “ldif_read_file: checksum error”
Posted on October 28, 2014
15
Well, in spite of you did read a banner saying “# AUTO-GENERATED FILE – DO NOT EDIT!! Use ldapmodify.” you ignored it and made some manual modifications in any of the LDIF files in /etc/ldap/slapd.d/.
Don’t worry it happened to me too :) When you need to quickly setup an openLDAP server for development it is pretty much easier to tweak these files although the recommended way is to use ldapmodify tool. But if you change the LDIF files in cn=config manually, their contents and checksums won’t match, which is not fatal, but is annoying when using tools such as slapcat:
View 8.31.md

top warning

1.颜色(统一管理)
2.下拉框

dashboard

1.header,footer未保存提示
2.location 语言配置,改文案terminal
3.

View 8.24 RSB
### 选择show时confirm按钮移动到顶部
### 共享组件添加何处引用
### detailheadline fontsize:14px -> 12px
### share中的show添加阴影和搜索
### show去掉复制,recommend添加复制
@cloudeal
cloudeal / records of RSB 2.0 8-22.md
Last active Aug 22, 2018
records of RSB 2.0 8-22
View records of RSB 2.0 8-22.md

new page功能不需要手动添加语言

发布菜单的icon修改;修改页面名称时修改状态

pages显示最后修改人name与time

页面编辑按钮上方添加setting按钮,指向meta

页面语言自动创建,根据需要手动删除

@cloudeal
cloudeal / cloudSettings
Last active Aug 9, 2018
Visual Studio Code Settings Sync Gist
View cloudSettings
{"lastUpload":"2018-08-09T05:53:15.989Z","extensionVersion":"v3.0.0"}
You can’t perform that action at this time.