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
11:58:29.326 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@82fba9, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@1584be7, org.gradle.logging.internal.JavaUtilLoggingConfigurer@1df3082] | |
11:58:29.889 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@82fba9, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@1584be7, org.gradle.logging.internal.JavaUtilLoggingConfigurer@1df3082] | |
11:58:29.891 [INFO] [org.gradle.BuildLogger] Starting Build | |
11:58:29.891 [DEBUG] [org.gradle.BuildLogger] Gradle user home: C:\Users\sreitsma\.gradle | |
11:58:29.891 [DEBUG] [org.gradle.BuildLogger] Current dir: D:\tmp\gradle | |
11:58:29.892 [DEBUG] [org.gradle.BuildLogger] Settings file: null | |
11:58:29.892 [DEBUG] [org.gradle.BuildLogger] Build file: null | |
11:58:29.908 [DEBUG] [org.gradle.i |
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
14:17:33 TRACE : XMD command: {"command": "xconnect arm hw -debugdevice cpunr 1 devicenr 1"} | |
14:17:33 TRACE : XMD Result: {"command":"xconnect arm hw -debugdevice cpunr 1 devicenr 1","scope":{"type":"global"},"response":{"type":"success","success":{"values":["64"],"stdout":"\nJTAG chain configuration\n--------------------------------------------------\nDevice ID Code IR Length Part Name\n 1 4ba00477 4 Cortex-A9\n 2 23727093 6 XC7Z020\n\n--------------------------------------------------\nEnabling extended memory access checks for Zynq.\nWrites to reserved memory are not permitted and reads return 0.\nTo disable this feature, run \"debugconfig -memory_access_check disable\".\n\n--------------------------------------------------\n\nCortexA9 Processor Configuration\n-------------------------------------\nVersion.............................0x00000003\nUser ID.............................0x00000000\nNo of PC Breakpoints................6\nNo of Addr/Data |
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
#include "xparameters.h" | |
#include "xiic.h" | |
#include "platform.h" | |
#include "Sleep.h" | |
static const u8 kI2CAddress = 0x68; | |
static volatile u32* kI2CBase = (u32*) XPAR_IIC_0_BASEADDR; | |
typedef enum { | |
kIRQStatus = 0x020 >> 2, |
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
HANDLE handle = ::CreateFileW (L"\\\\.\\ezusb-0", | |
GENERIC_READ | GENERIC_WRITE, | |
FILE_SHARE_READ | FILE_SHARE_WRITE, | |
0, | |
OPEN_EXISTING, | |
0, | |
0); | |
unsigned short pipe; | |
unsigned short commandCode; //Command code sent to device which has the IC on board |
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
virtual void OnKeyPress() { | |
vtkRenderWindowInteractor *rwi = this->Interactor; | |
const char* ch = rwi->GetKeySym (); | |
if (strcmp (ch, "Delete") == 0) { | |
vtkPlanes* frustum = static_cast<vtkAreaPicker*>(this->GetInteractor()->GetPicker())->GetFrustum(); | |
vtkSmartPointer<vtkExtractGeometry> extractGeometry = | |
vtkSmartPointer<vtkExtractGeometry>::New(); | |
extractGeometry->SetImplicitFunction(frustum); | |
extractGeometry->SetInputData(this->Points); |
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
def q = Jenkins.instance.queue | |
q.items.findAll { q.cancel(it.task) } | |
//q.items.findAll { it.task.name.startsWith('my') }.each { q.cancel(it.task) } | |
def items = Jenkins.instance.items | |
items.each { job -> | |
job.builds.findAll { build -> build.building }.each { run -> | |
println("Aborting: " + job.name) | |
run.doStop(); | |
} |
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 jenkins.model.Jenkins | |
String[] JOBS_TO_WIPE=[ | |
"CueingMiddleware", | |
"CueingMiddlewareH", | |
"HardwareDetector", | |
"RemoteParker" | |
] | |
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
void cleanNode(Node node, item_to_wipe) { | |
workspacePath = node.getWorkspaceFor(item_to_wipe) | |
if(!workspacePath){ | |
println(" Failed to find workspace path on ${node.name}.") | |
return | |
} | |
if (workspacePath.exists()) | |
{ | |
try { |
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
extern crate pulldown_cmark; | |
extern crate pulldown_cmark_to_cmark; | |
use pulldown_cmark::Parser; | |
use pulldown_cmark_to_cmark::fmt::cmark; | |
use std::env; | |
use std::io::stdout; | |
use std::io::{Read, Write}; | |
use std::fs::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 numpy | |
from matplotlib import pyplot | |
import math | |
import random | |
from collections import deque | |
class DelayLine: | |
def __init__(self, length): | |
self.buffer = deque() |
OlderNewer