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
{ | |
"vulnerabilities": [ | |
{ | |
"title": "Out-of-bounds Write", | |
"credit": [ | |
"" | |
], | |
"packageName": "bzip2", | |
"language": "linux", | |
"packageManager": "alpine:3.9", |
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
// $ kotlinc -cp github-api-1.110.jar:jackson-databind-2.10.3.jar:jackson-core-2.10.3.jar:jackson-annotations-2.10.3.jar:commons-lang3-3.10.jar:commons-io-2.6.jar -script fp-assign.kts | |
import java.io.File | |
import org.kohsuke.github.GitHubBuilder | |
if (args.size != 4) { | |
System.err.println("Usage: fp-assign <org> <repo> <keyword> <comment-file.md>") | |
System.exit(1) | |
} |
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 com.github.pierre_ernst; | |
import java.io.File; | |
import java.util.Scanner; | |
import java.util.regex.Matcher; | |
import java.util.regex.Pattern; | |
/** | |
* Generates a maven pom.xml file from a Jars.lock file | |
* @see https://github.com/mkristian/jar-dependencies |
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
<?xml version="1.0"?> | |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
xmlns:tcdb="http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2" | |
xmlns:ext="http://www.garmin.com/xmlschemas/ActivityExtension/v2" | |
version="1.0" | |
> | |
<!-- | |
Garmin FoodPod sensor (FPS) calibration tool. | |
Generates CSV data allowing to compare GPS/FPS distance measurements | |
Input = TCX file from Garmin running activity |
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 com.github.pierre_ernst; | |
import org.json.JSONObject; | |
import org.json.JSONTokener; | |
import java.io.File; | |
import java.io.FileNotFoundException; | |
import java.io.FileReader; | |
import java.io.PrintStream; | |
import java.util.*; |
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 com.github.pierre_ernst; | |
import org.w3c.dom.Document; | |
import org.w3c.dom.NodeList; | |
import javax.xml.parsers.DocumentBuilderFactory; | |
import javax.xml.xpath.XPathConstants; | |
import javax.xml.xpath.XPathExpression; | |
import javax.xml.xpath.XPathFactory; | |
import java.io.File; |
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 java.io.ByteArrayInputStream; | |
import java.io.ByteArrayOutputStream; | |
import java.io.IOException; | |
import java.io.ObjectInputStream; | |
import java.io.ObjectOutputStream; | |
import java.io.Serializable; | |
import java.net.URL; | |
import java.net.HttpURLConnection; |