Basic template for D3 example. Ready for usage with bl.ocks.org.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*This problem is caused by the download function in the install.js file for node-gyp. | |
WORKAROUND: To force node-gyp to ignore self-signed certificate, you need to modify the download function so that the requestOpts Object includes the following variable: | |
rejectUnauthorized: false | |
The install.js file can be found here: | |
%APPDATA%\npm\node_modules\npm\node_modules\node-gyp\lib\install.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.atlassian.jira.ComponentManager | |
import com.atlassian.jira.bc.filter.SearchRequestService | |
import com.atlassian.jira.bc.JiraServiceContext | |
import com.atlassian.query.* | |
import com.atlassian.jira.bc.JiraServiceContextImpl | |
def cm = ComponentManager.getInstance() | |
def searchRequestService = cm.getSearchRequestService() | |
def authenticationContext = cm.getJiraAuthenticationContext() | |
def searchService = cm.getSearchService() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id='calendar'></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! Ad Banner | |
linkedin.com##.ad-banner-container | |
! Navigation - Try Premium for Free | |
linkedin.com##.nav-item__try-premium | |
! Homepage Feed - Like article / Like and comment | |
linkedin.com##LI.member-comment-share | |
linkedin.com##LI.member-like-share | |
linkedin.com##LI.member-like-poncho-post |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Auto Load current user login (SharePoint 2010), then fills out form with user | |
// used in SharePoint forms program but most of code should work outside of this program | |
// fd.field variables are specific to SP forms. | |
// SP Forms : http://spform.com/ | |
SP.SOD.executeOrDelayUntilScriptLoaded((function () { | |
var ctx = new SP.ClientContext.get_current(); | |
var web = ctx.get_web(); | |
ctx.load(web); | |
var user = web.get_currentUser(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--- | |
@author : Karanraj | |
@Description : A Visualforce page to demonstrate the functionality of Remote Objects | |
--> | |
<apex:page showHeader="false" standardStylesheets="false"> | |
<!-- Boostrap and jQuery file --> | |
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" /> | |
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--- | |
@author : Karanraj | |
@Description : A Visualforce page to demonstrate the functionality of Remote Objects | |
--> | |
<apex:page showHeader="false" standardStylesheets="false"> | |
<!-- Boostrap and jQuery file --> | |
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" /> | |
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ipak function: install and load multiple R packages. | |
# check to see if packages are installed. Install them if they are not, then load them into the R session. | |
ipak <- function(pkg){ | |
new.pkg <- pkg[!(pkg %in% installed.packages()[, "Package"])] | |
if (length(new.pkg)) | |
install.packages(new.pkg, dependencies = TRUE) | |
sapply(pkg, require, character.only = TRUE) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js" | |
2. type="text/javascript"></script> | |
3. | |
4. <script type="text/javascript"> | |
5. | |
6. $(document).ready(function() | |
7. { | |
8. //Set the Field to Read only and change its background colour | |
9. $("input[title='FieldName']").attr("readonly","true").css('background-color','#F6F6F6'); | |
10. |
NewerOlder