Install OpenOCD version 0.11.0 (or maybe higher)
You can also build it yourself.
If you are using Launchpads to experiment this setup, you are going to need to prepare them as it is being shown in this image.
| #!/bin/bash | |
| # | |
| # Compare two PDF files. | |
| # Dependencies: | |
| # - pdfinfo (xpdf) | |
| # - pdfjam (texlive-extra-utils) | |
| # - diffpdf | |
| # | |
| MAX_HEIGHT=15840 #The maximum height of a page (in points), limited by pdfjam. |
https://github.com/aancel/admin/wiki/VirtualGL-on-Ubuntu
https://virtualgl.org/About/Introduction
When you use ssh with X forwarding, you might have noticed that you cannot execute programs that require 3D acceleration. That's where VirtualGL comes into play.
| ### Locating UI elements ### | |
| # By ID | |
| <div id="coolestWidgetEvah">...</div> | |
| element = driver.find_element_by_id("coolestWidgetEvah") | |
| or | |
| from selenium.webdriver.common.by import By | |
| element = driver.find_element(by=By.ID, value="coolestWidgetEvah") | |
| # By class name: |
| <!-- | |
| How to use Google JS Visualization Api offline, step by step | |
| this approach might work with other libraries loaded with google.load, after all it's still JavaScript!!! | |
| --> | |
| <!DOCTYPE html> | |
| <html> |
| /** | |
| * void delay(uint16 cnt) - using cpu cycle counting busy loop | |
| * | |
| * Sit in a tight loop until delayCycles instructions cycles | |
| * have occurred. Not very power friendly. Not very interrupt | |
| * friendly. In fact, you should disable interrupts before | |
| * calling this function to insure accurate results. | |
| * | |
| * Note: minimum of 20 cycles | |
| * |
| //****************************************************************************** | |
| // MSP430xG461x Demo - USCI_A0 UART TX single byte and USCI_B0 I2C Master TX | |
| // single byte to MSP430 Slave | |
| // | |
| // Description: This demo connects two MSP430's via the I2C bus and UART. | |
| // The master transmits to the slave. This is the master code. It continuously | |
| // transmits a single byte of data starting at 0 and incrementing from both | |
| // UART and I2C. This demonstrates how to implement an I2C master transmitter | |
| // using the USCI_B0 TX interrupt and UART transmission using the USCI_A0 TX | |
| // interrupt simultaneously. |
| #include <sys/time.h> | |
| /** | |
| * Returns the current time in microseconds. | |
| */ | |
| long getMicrotime(){ | |
| struct timeval currentTime; | |
| gettimeofday(¤tTime, NULL); | |
| return currentTime.tv_sec * (int)1e6 + currentTime.tv_usec; | |
| } |