47 阅读1分钟

关于Privacy Manifests 参考:blog.csdn.net/st646889325…
developer: developer.apple.com/documentati…

浏览器原生剪贴板 参考:blog.csdn.net/Umbrella_Um…
developer: developer.mozilla.org/zh-CN/docs/…

Java突击队

小林coding

1行js phuoc.ng/collection/…

iOS中pod install命令的工作流程 参考:cloud.tencent.com/developer/i…

cocoapodsをインストールする
sudo gem install cocoapods-deintegrate
sudo gem install cocoapods-clean
pod deintegrate
pod clean
pod install --repo-update

【GIT】问题:SSL certificate problem: self signed certificate in certificate chain

MAC

git config --global http.sslVerify "false"

Window

git config --global http.sslVerify false

JavaScript修改CSS伪元素属性

例
.custom_select.down::before {
    content: '';
    width: 0;
    height: 0;
    margin-left: -13px;
    border-style: solid;
    border-width: 0 13px 12px 13px;
    border-color: transparent transparent #eee transparent;
    display: block;
    position: absolute;
    top: -12px;
    left: 50%;
}
我想修改margin-left的属性值
$('head').append('<style id="triangle_margin">.custom_select.down:before{margin-left:'+ marginLeftDown +'px;}</style>'); 

Base64 编码

Base64 编码,替换各个符号

  • + を - に置換
  • / を _ に置換
  • = を `` に置換

Base64 解码

var decodeData = atob(parameter) || '{}';
var parseData = JSON.parse(decodeData);
var debug_proterty = parseData['proterty'];