This file contains hidden or 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
#!/bin/groovy | |
pipeline { | |
agent { label 'label' } | |
define { | |
def my_map = [:] //empty map | |
def my_list //undefined shared variable | |
} |
This file contains hidden or 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 is here because some of the input elements in element IO had the auto complete enabled by default. I wrote this to be used | |
///for element date picker and disable the auto complete option. | |
export default { | |
bind: function(el, binding, vnode) { | |
var inputs = el.getElementsByTagName("input"); | |
for (var i = 0; i < inputs.length; i++) { | |
var inputElement = inputs[i].setAttribute("autocomplete", "off"); | |
} |
This file contains hidden or 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
using Microsoft.Practices.EnterpriseLibrary.Data; | |
using Oracle.ManagedDataAccess.Client; | |
using System.Data; | |
namespace Helpers | |
{ | |
public static class ManagedClassExtensions | |
{ | |
public static OracleDataReader ExecuteReader(this Database database, OracleCommand cmd) | |
{ |
This file contains hidden or 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Security.Claims; | |
using System.Threading; | |
namespace ProjectNamespace | |
{ | |
public static class IdentityHelper | |
{ |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title></title> | |
</head> | |
<body> | |
<h1 id="waiting">Waiting...</h1> | |
<div id="error"></div> | |
<script type="text/javascript" src="oidc-client.min.js"></script> |