Note: Some of these keymapping are specific to IdeaVim plugin. If you don't use IdeaVim (what' wrong with you :)), I've tried to point out where they differ, but I could have missed a few
Ctrl-P
- Popup parameter documentation for method calls
# Inputs | |
feature_names <- c("Feature 5", "Feature 4", "Feature 3", "Feature 2", "Feature 1") | |
num_features <- length(feature_names) | |
y <- array(c(10,4,1,0, 3,4,2,0, 1,2,8,1, 0,0,5,1, 1,2,5,3), dim=c(4,num_features)) | |
# Calculate plot | |
num_neg_ratings <- 0 | |
num_pos_ratings <- 0 | |
for(i in 1:num_features) { | |
num_neg_ratings = max(num_neg_ratings, sum(y[1:2,i]), sum(y[3:4,i])) |
mit dem Matcher können komplexere Vergleiche mit "assertThat" getestet werden, hier ein einfaches Beispiel, | |
welches testet, dass zwei Daten am gleichen Tag sind. | |
import org.hamcrest.BaseMatcher; | |
import org.hamcrest.Description; | |
import org.hamcrest.Matcher; | |
... |
import org.apache.poi.ss.usermodel.* | |
import org.apache.poi.hssf.usermodel.* | |
import org.apache.poi.xssf.usermodel.* | |
import org.apache.poi.ss.util.* | |
import org.apache.poi.ss.usermodel.* | |
import java.io.* | |
class GroovyExcelParser { | |
//http://poi.apache.org/spreadsheet/quick-guide.html#Iterator |
Note: Some of these keymapping are specific to IdeaVim plugin. If you don't use IdeaVim (what' wrong with you :)), I've tried to point out where they differ, but I could have missed a few
Ctrl-P
- Popup parameter documentation for method calls#!/bin/bash | |
################################################################## | |
# A Project of TNET Services, Inc | |
# | |
# Title: WiFi_Check | |
# Author: Kevin Reed (Dweeber) | |
# [email protected] | |
# Project: Raspberry Pi Stuff | |
# | |
# Copyright: Copyright (c) 2012 Kevin Reed <[email protected]> |
You have to get Ghostscript installed first. Run the script, that's it.
#!/bin/sh
# First, type the ghostscript line, second in GS env quit to generate the pdf
# gs -sOutputFile=Document-unlocked.pdf -sDEVICE=pdfwrite -dNOPAUSE -dbatch -q Document-locked.pdf
# GS>quit()
Streaming just means a download that they don't want you to keep. But Chrome's developer tools make it easy to access what's really going on under the hood.
From the page where you want to download some things, go into your chrome menu to open the developer tools. You can either:
1. (On a mac): Command-option-J
2. (On a PC): Control-alt-J
package com.jameselsey.demo.spocktutorial.domain; | |
public class User { | |
private int id; | |
private String name; | |
private int age; | |
public int getId() { | |
return id; |
Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.
Translations: (No guarantee that the translations are up-to-date)
# uncomment if you get no picture on HDMI for a default "safe" mode | |
#hdmi_safe=1 | |
# uncomment this if your display has a black border of unused pixels visible | |
# and your display can output without overscan | |
#disable_overscan=1 | |
# uncomment the following to adjust overscan. Use positive numbers if console | |
# goes off screen, and negative if there is too much border | |
#overscan_left=16 |