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 hudson.model.* | |
// For each project | |
for(item in Hudson.instance.items) { | |
// check that job is not building | |
if(!item.isBuilding()) { | |
System.out.println("Deleting all builds of job "+item.name) | |
for(build in item.getBuilds()){ | |
build.delete() | |
} | |
} |
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
#!/bin/bash | |
GLOBAL_NPM='servedir mversion gulp grunt-cli ntl nodemon' | |
ZSH_PLUGINS='git atom docker brew go node npm' | |
declare -a APM_PACKAGES=("atom-beautify" "file-icons" "genesis-ui" "linter" "linter-xo" "react" "language-babel" "atom-ternjs" "docblockr" "hyperclick" "js-hyperclick" "imdone-atom") | |
LIST_PACKAGES='Caskroom/versions/java7 android-platform-tools elasticsearch redis wget mongodb glide homebrew/versions/node5 zsh go graphicsmagick dockutil git git-flow' | |
declare -a BREW_AUTOSTART=("redis" "mongodb" "elasticsearch") | |
## brew | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" |
We can't make this file beautiful and searchable because it's too large.
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
Ort;Plz;Bundesland | |
Aach;54298;Rheinland-Pfalz | |
Aach;78267;Baden-Württemberg | |
Aachen;52062;Nordrhein-Westfalen | |
Aachen;52064;Nordrhein-Westfalen | |
Aachen;52066;Nordrhein-Westfalen | |
Aachen;52068;Nordrhein-Westfalen | |
Aachen;52070;Nordrhein-Westfalen | |
Aachen;52072;Nordrhein-Westfalen | |
Aachen;52074;Nordrhein-Westfalen |
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 * as _ from 'lodash'; | |
import * as csv from 'fast-csv'; | |
import * as ExcelJS from 'exceljs'; | |
export interface Column { | |
key: string; | |
header: string; | |
} | |
export async function xlsxToJSON<T>(filePath: string, columns: Partial<Column>[]): Promise<T[]> { |