分类

链接

2025 年 4 月
 123456
78910111213
14151617181920
21222324252627
282930  

近期文章

热门标签

新人福利,免费薅羊毛

error: RPC failed; HTTP 413 curl 22 The requested URL returned error

error: RPC failed; HTTP 413 curl 22 The requested URL returned error 方法1:第一个解决办法是:在git bash中执行:git config http.postBuffer 524288000成功后,再次提交,ok。有些博客,说这个办法不灵,我试可以。 方法2:错误场景:使用Git提交文件报错,找了许多方法,都是无济于事,几经周转才得以解决。 错误如下:git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v –tags origin refs/heads/develop:refs/heads/devel...

DevOps 暂无评论 阅读(394)

Angular http.get 404

Angular2 http.get(url)正在返回404的有效网址 - 而不是CORS问题(Angular2 http.get(url) is returning 404 on a valid url - not a CORS issue)问题是使用InMemoryWebApiModule,解决方案是对我的app.module.ts文件进行以下配置修改: + InMemoryWebApiModule.forRoot(InMemoryDataService,{passThruUnknownUrl:true}),

前端 暂无评论 阅读(287)

CSS布局奇淫技巧之–各种居中

一种使用绝对定位来居中的方法此法同样只适用于那些我们已经知道它们的宽度或高度的元素,并且遗憾的是它只支持IE9+,谷歌,火狐等符合w3c标准的现代浏览器。下面用一段代码来了解这种方法:运行效果:这里如果不定义元素的宽和高的话,那么他的宽就会由left,right的值来决定,高会由top,bottom的值来决定,所以必须要设置元素的高和宽。同时如果改变left,right , top , bottom的值还能让元素向某个方向偏移,大家可以自己去尝试。

前端 暂无评论 阅读(304)

小程序动画实现旋转

.question .desc .image-rotate {  position: absolute;  z-index: 2;  margin-left: 20rpx;  margin-top: 20rpx;  height: 280rpx;  width: 280rpx;  border-radius: 140rpx;  animation: headRotate 6s linear infinite} /* 头像旋转效果  */@keyframes headRotate{  0% {transform: rotate(0deg);}  50% {transform: rotate(180deg);}  100% {transform: rotate(360deg);}} 

前端 暂无评论 阅读(327)

屏蔽 Chrome 的提示: “请停用以开发者模式运行的扩展程序”

source url:https://hencolle.com/2016/10/16/baidu_exporter/Chrome最近从Chrome应用商店删除了百度导出器,原因是一些未知的python事务。由于安全原因,Chrome将禁用具有未知源的本地扩展导入。如果加载了未打包的扩展,每次启动chrome时都会弹出恼人的窗口。因此,在本文中,我将提供一个更好的解决方案来使用Windows组策略加载百度导出器的最新版本。这个解决方案的灵感来自unown@github,谢谢。下载扩展名从这里复制或下载百度出口商的最新版本。打包扩展如果您有已编译的版本,则不需要执行此步骤。...

Others 暂无评论 阅读(374)

java版toModel

 private static <T, S> T toModel(S source, Class clazz) {        long startTime = System.currentTimeMillis();        try {            Object obj = clazz.newInstance();            BeanUtils.copyProperties(source, obj);             long endTime = System.currentTimeMillis();            System.out.println("程序运行时间:" +Float.toString((endTime - startTime))+"ms");            return (T) obj;        } catch (IllegalAccessException e1) {        } catch (Insta...

JAVA 暂无评论 阅读(431)

Filter Picklist Values Based on Record Type in Lightning

Filter Picklist Values Based on Record Type in Lightning October 3, 2018 Rajat KoradiyaFilter Picklist Values Based on Record TypeRetrieving a picklist value based on record type is possible in VF page using standard controllerIn lightning, Salesforce UI API supports a functionality to filter a picklist value based on record type based on this ideaYou can download the code from Here Use Case: I have picklist values based on Record Type defined as bel...

Salesforce 暂无评论 阅读(500)

How to Call Salesforce API from Lightning Component

You may have heard about that we can not make the Salesforce API Call directly from the lightning component. If you do make the callout from the lightning component then you will get the below errorINVALID_SESSION_ID:This session is not valid for use with the API.For Example when you will execute the below code from the Developer Console then you will get the Valid Response1234567891011HTTP h = new HTTP();HTTPRequest req = new HTTPRequest();HttpRes...

Salesforce 暂无评论 阅读(380)

salesforce lightning icon

<lightning:card title="{!v.headerTitle}" iconName="standard:related_list" class="title"><aura:set attribute="actions"><lightning:button class="slds-float_right slds-m-bottom_xx-small slds-m-right_small"variant="brand"label="New Form Link"title="New Form Link"onclick="{!c.CreateNewFormLink}" /><ui:inputSelect label="Filter By: " value="{!v.filterLob}" change="{!c.filterDataTable}"><option value="--None--">--None--</option><opt...

Salesforce 暂无评论 阅读(373)

html select optgroup

<select id="manager" name="manager" onchange="document.getElementById('hierLabelDiv').style.display = this.options[this.selectedIndex].value=='Other' ? 'block' : 'none'; document.getElementById('ownMgrElm').disabled = this.selectedIndex == 0 ? 'true' : ''; if (this.selectedIndex == 0) document.getElementById('ownMgrElm').checked = ''">    <option value="">--None--</option>    <optgroup label="Standard User Fields">        <option value="Mana...

Others 暂无评论 阅读(381)