Skip to content

Instantly share code, notes, and snippets.

View fedevegili's full-sized avatar

Fernando Devegili fedevegili

View GitHub Profile
curl.config({
baseUrl : 'resources/js',
paths: {
libs : '../libs',
jquery : "../libs/jquery/jquery",
bootstrap : '../libs/bootstrap/js/bootstrap',
loadmask : '../libs/loadmask/jquery.loadmask.min',
toastr : "../libs/toastr/toastr",
curl.config({
//By default load any module IDs from js/lib
//baseUrl : 'resources/js',
baseUrl : 'http://localhost/sesuite/ui/desktop/lite/resources/js',
//except, if the module ID starts with "app",
//load it from the js/app directory. paths
//config is relative to the baseUrl, and
//never includes a ".js" extension since
//the paths config could be for a directory.
{
"vars": {
"@gray-darker": "lighten(#000, 13.5%)",
"@gray-dark": "lighten(#000, 20%)",
"@gray": "lighten(#000, 33.5%)",
"@gray-light": "lighten(#000, 60%)",
"@gray-lighter": "lighten(#000, 93.5%)",
"@brand-primary": "#428bca",
"@brand-success": "#5cb85c",
"@brand-info": "#5bc0de",
{
"vars": {
"@gray-darker": "lighten(#000, 13.5%)",
"@gray-dark": "lighten(#000, 20%)",
"@gray": "lighten(#000, 33.5%)",
"@gray-light": "lighten(#000, 60%)",
"@gray-lighter": "lighten(#000, 93.5%)",
"@brand-primary": "#428bca",
"@brand-success": "#5cb85c",
"@brand-info": "#5bc0de",
{
"vars": {
"@gray-darker": "lighten(#000, 13.5%)",
"@gray-dark": "lighten(#000, 20%)",
"@gray": "lighten(#000, 33.5%)",
"@gray-light": "lighten(#000, 60%)",
"@gray-lighter": "lighten(#000, 93.5%)",
"@brand-primary": "#428bca",
"@brand-success": "#5cb85c",
"@brand-info": "#5bc0de",
{
"type": "script",
"seleniumVersion": "2",
"formatVersion": 2,
"steps": [
{
"type": "get",
"url": "http://jsfiddle.net/fedevegili/ap4vb4qv/2/"
},
{
@fedevegili
fedevegili / file1.txt
Created May 16, 2018 16:19
the description for this gist
String file contents
@fedevegili
fedevegili / Jenkinsfile
Created December 24, 2019 18:49
Idle hours for jenkins ec2 fleet plugin
pipeline {
agent {
label 'jenkins-worker-light'
}
triggers {
cron(env.BRANCH_NAME == 'master' ? '*/15 * * * *' : '')
}
options {
timeout(time: 60, unit: 'SECONDS', activity: false)
}
if exp() > 4200 then
xlog()
wait(5000)
gotolabel('exp')
end
{
"id": "serverless-backstop-runner-test",
"viewports": [
{
"label": "desktop",
"width": 800,
"height": 768
}
],
"scenarios": [