Skip to content

Instantly share code, notes, and snippets.

View easikoglu's full-sized avatar
🏠
Working from home

Erhan Aşıkoğlu easikoglu

🏠
Working from home
View GitHub Profile
- parallel:
 - step:
 name: Test group 1
 script:
 - echo "Running test group 1"
 - step:
 name: Test group 2
 script:
 - echo "Running test group 2"
image: atlassian/default-image:2
pipelines:
default:
- step:
name: Install NPM & Test
caches:
- node
script:
- npm install
@easikoglu
easikoglu / gist:d4890065c555f809e9911e3f4ad829a2
Created July 14, 2019 18:56
BitBucket Pipeline Template - Default Nodejs
# This is a sample build configuration for JavaScript.
# Check our guides at https://confluence.atlassian.com/x/14UWN for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: node:10.15.3
pipelines:
default:
- step:
@easikoglu
easikoglu / gist:e53f41a49e8aa9f9002f
Last active August 29, 2015 14:21
Traverse through file directory
package com.easikoglu.blog;
import java.io.File;
import java.io.IOException;
import java.nio.file.*;
import java.nio.file.attribute.BasicFileAttributes;
import java.nio.file.attribute.FileTime;
import java.util.Date;
/**
@easikoglu
easikoglu / gist:54cac6d40e4918d1f80b
Last active April 26, 2016 20:17
Inspect element mauseover
function mouseOverColor(evt)
{
var element = evt.target; // not IE
// set the border around the element
element.style.borderWidth = '2px';
element.style.borderStyle = 'solid';
element.style.borderColor = '#f00';
}