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
/* | |
AWX Workflow extra_data tooltips | |
This script adds a blue circle on each node, with a hover tooltip containing the node's extra_data. | |
It grabs each workflow node's extra_data from the angular component scope. | |
*/ | |
(function () { | |
const workflowChart = document.querySelector('#aw-workflow-chart-g'); | |
if (!workflowChart) return; | |
const scope = angular.element(workflowChart).scope(); | |
if (!scope) return; |
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
AKS_RG="$1" | |
CLUSTER_NAME="$2" | |
VNET_NAME="$3" | |
SUBNET_NAME="$4" | |
LOCATION="$5" | |
LOCATION=${LOCATION:-"eastus"} # default to eastus | |
echo "AKS_RG=$AKS_RG, VNET_NAME=$VNET_NAME, SUBNET_NAME=$SUBNET_NAME" | |
AKS_MC_RG="MC_${AKS_RG}_${CLUSTER_NAME}_${LOCATION}" |
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
function wrapMiddleware(fn: (req: Request, res: Response, next: NextFunction) => void) { | |
return function (socket: Socket, next: (err?: ExtendedError) => void) { | |
fn(socket.request as Request, {} as Response, next as NextFunction); | |
}; | |
} |
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
version: "2.1" | |
services: | |
namenode: | |
build: ./namenode | |
container_name: namenode | |
volumes: | |
- hadoop_namenode:/hadoop/dfs/name | |
environment: | |
- CLUSTER_NAME=test |
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
jacocoTestReport { | |
afterEvaluate { | |
classDirectories.setFrom(files(classDirectories.files.collect { | |
fileTree(dir: it, exclude: [ | |
"**/src/main/java/**", | |
"other/path/to/exclude" | |
]) | |
})) | |
} | |
} |
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
package org.usfirst.frc.team5517.robot.subsystems; | |
import org.usfirst.frc.team5517.robot.RobotMap; | |
import org.usfirst.frc.team5517.robot.commands.Drive; | |
import org.usfirst.frc.team5517.robot.sensors.ADXRS453Gyro; | |
import edu.wpi.first.wpilibj.Talon; | |
import edu.wpi.first.wpilibj.command.Subsystem; | |
/** |
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
.header-logo-invertocat { | |
float: left; | |
margin-right: 10px; | |
margin-left: -2px; | |
color: #555; | |
white-space: nowrap; | |
} | |
.header-search { | |
float: left; |
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
<?php | |
// Author: Ngo Minh Nam | |
$dir = "/path/to/your/repo/"; | |
$output = array(); | |
chdir($dir); | |
exec("git log",$output); | |
$history = array(); | |
foreach($output as $line){ | |
if(strpos($line, 'commit')===0){ |
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
### CodeIgniter ### | |
*/config/development | |
*/logs/log-*.php | |
*/logs/!index.html | |
*/cache/* | |
*/cache/!index.html | |
*/cache/!.htaccess | |
### Sublime Text ### | |
*.sublime-workspace |
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
Hi |
NewerOlder