Skip to content

Instantly share code, notes, and snippets.

View dan-lind's full-sized avatar

Daniel Lindberg dan-lind

View GitHub Profile
@dan-lind
dan-lind / cherry-pick-by-author.sh
Last active October 1, 2020 03:48 — forked from SarasArya/cherry-pick-by-author.sh
This gist lists the cherry pick by author and stores in a file and apply it on a branch
#!/usr/bin/env bash
if [ -z ${1} ]
then
echo "Enter first argument which is author name";
exit
fi
if [ -z {$2} ]
then
echo "enter second argument which is in which branch you want these commits to go"
exit
@dan-lind
dan-lind / cherry-pick-by-author.sh
Created October 1, 2020 03:47 — forked from SarasArya/cherry-pick-by-author.sh
This gist lists the cherry pick by author and stores in a file and apply it on a branch
#!/usr/bin/env bash
if [ -z ${1} ]
then
echo "Enter first argument which is author name";
exit
fi
if [ -z {$2} ]
then
echo "enter second argument which is in which branch you want these commits to go"
exit
2020-09-26T00:49:08.446+0200 [INFO] [org.owasp.dependencycheck.data.update.nvd.DownloadTask] Download Complete for NVD CVE - 2020 (4823 ms)
2020-09-26T00:49:08.446+0200 [INFO] [org.owasp.dependencycheck.data.update.nvd.ProcessTask] Processing Started for NVD CVE - 2020
2020-09-26T00:49:08.446+0200 [DEBUG] [org.owasp.dependencycheck.data.update.nvd.NvdCveParser] Parsing cve2020_8925575721485595963.json.gz
2020-09-26T00:48:28.635+0200 [LIFECYCLE] [class org.gradle.internal.buildevents.TaskExecutionLogger]
2020-09-26T00:48:28.635+0200 [LIFECYCLE] [class org.gradle.internal.buildevents.TaskExecutionLogger] > Task :dependencyCheckAnalyze
2020-09-26T00:49:08.446+0200 [DEBUG] [org.owasp.dependencycheck.data.update.NvdCveUpdater] Execution Exception during process
java.util.concurrent.ExecutionException: java.lang.VerifyError: class com.fasterxml.jackson.databind.deser.SettableBeanProperty$Delegating overrides final method com.fasterxml.jackson.databind.deser.SettableBeanProperty.getDeclaringClass()Ljava/lang/Class;
<?php
$dir = "/tmp";
$dh = opendir($dir);
while(false !== ($filename = readdir($dh)))
{
echo $filename . ' <a href="' . $dir . '/' . $filename . '">view</a>';
}
?>
Cloning into 'nd4j'...
remote: Counting objects: 105645, done.
remote: Compressing objects: 100% (91/91), done.
remote: Total 105645 (delta 22), reused 0 (delta 0), pack-reused 105513
Receiving objects: 100% (105645/105645), 212.52 MiB | 7.41 MiB/s, done.
Resolving deltas: 100% (51489/51489), done.
Checking connectivity... done.
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.nd4j:nd4j-cuda-8.0:jar:0.6.1-SNAPSHOT
import org.datavec.api.io.filters.BalancedPathFilter;
import org.datavec.api.io.labels.ParentPathLabelGenerator;
import org.datavec.api.split.FileSplit;
import org.datavec.api.split.InputSplit;
import org.datavec.image.loader.BaseImageLoader;
import org.datavec.image.recordreader.ImageRecordReader;
import org.datavec.image.transform.ImageTransform;
import org.datavec.image.transform.MultiImageTransform;
import org.datavec.image.transform.ResizeImageTransform;
import org.deeplearning4j.datasets.datavec.RecordReaderDataSetIterator;
========================================================================
INFO [2016-10-04 04:58:16,920] org.deeplearning4j.optimize.listeners.ScoreIterationListener: Score at iteration 9 is NaN
INFO [2016-10-04 04:58:24,499] ImagePipelineExample: *** Completed epoch 9 ***
INFO [2016-10-04 04:58:24,499] ImagePipelineExample: Evaluate model....
INFO [2016-10-04 04:58:24,499] ImagePipelineExample:
Warning: class 0 was never predicted by the model. This class was excluded from the average precision
Warning: class 0 has never appeared as a true label. This class was excluded from the average recall
Warning: class 1 was never predicted by the model. This class was excluded from the average precision
Warning: class 1 has never appeared as a true label. This class was excluded from the average recall
@dan-lind
dan-lind / # go - 2016-09-22_15-12-35.txt
Created September 22, 2016 13:13
go on Mac OS X 10.12 - Homebrew build logs
Homebrew build logs for go on Mac OS X 10.12
Build date: 2016-09-22 15:12:35
/**
* Created by danlin on 2016-08-17.
*/
import org.deeplearning4j.rl4j.gym.space.Box;
import org.deeplearning4j.rl4j.learning.ILearning;
import org.deeplearning4j.rl4j.learning.sync.qlearning.QLearning;
import org.deeplearning4j.rl4j.learning.sync.qlearning.discrete.QLearningDiscreteDense;
import org.deeplearning4j.rl4j.mdp.gym.GymEnv;
import org.deeplearning4j.rl4j.network.dqn.DQNFactoryStdDense;
import org.deeplearning4j.rl4j.policy.Policy;
MacBook-Pro-3:rl4j danlin$ mvn install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] rl4j
[INFO] rl4j-api
[INFO] rl4j-core
[INFO] rl4j-gym
[INFO] rl4j-doom