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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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 <DHT.h> | |
#include <LCD5110_Basic.h> | |
const int COMFORT_TEMPERATURE = 21; | |
#define DHTPIN 3 // pin teplotního senzoru | |
#define DHTTYPE DHT11 // typ teplotního senzoru | |
#define RELAYPIN 2 // pin relé | |
LCD5110 myGLCD(8,9,10,11,12); // piny LCD displeje |
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 android.app.Activity; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.os.Bundle; | |
import android.os.Handler; | |
import android.os.Message; | |
import android.preference.Preference; | |
import android.preference.PreferenceGroup; | |
import android.preference.PreferenceManager; | |
import android.preference.PreferenceScreen; |
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
[INFO] trouble processing "javax/xml/bind/annotation/XmlAccessorType.class": | |
[INFO] | |
[INFO] Ill-advised or mistaken usage of a core class (java.* or javax.*) | |
[INFO] when not building a core library. | |
[INFO] | |
[INFO] This is often due to inadvertently including a core library file | |
[INFO] in your application's project, when using an IDE (such as | |
[INFO] Eclipse). If you are sure you're not intentionally defining a | |
[INFO] core class, then this is the most likely explanation of what's | |
[INFO] going on. |
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
/* | |
* Copyright (C) 2013 Tomáš Procházka | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
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.android.vending.expansion.zipfile; | |
/* | |
* Copyright (C) 2012 The Android Open Source Project | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 |
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-12 06:29:15.217: D/MainActivity(20131): onRestart | |
11-12 06:29:15.217: D/MainActivity(20131): onStart | |
11-12 06:29:15.217: D/AboutFragment(20131): onStart | |
11-12 06:29:15.217: D/BottomFragment(20131): onStart | |
11-12 06:29:15.217: D/RightFragment(20131): onStart | |
11-12 06:29:15.217: D/LeftFragment(20131): onStart | |
11-12 06:29:15.217: D/MainActivity(20131): onResume | |
11-12 06:29:15.217: D/ActivityBase(20131): doBindService PtpService | |
11-12 06:29:15.240: D/ActivityBase(20131): doBindService UsbSerialService | |
11-12 06:29:15.240: D/ActivityBase(20131): Creating handler ... |
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
public class FizzBuzz { | |
/** | |
* @param args | |
*/ | |
public static void main(String[] args) { | |
for (int i=1; i <= 100; i++) { | |
boolean m3 = i%3==0; | |
boolean m5 = i%5==0; |
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" encoding="UTF-8" ?> | |
<testsuite failures="0" time="6.589" errors="2" skipped="0" tests="104" name="com.integralblue.httpresponsecache.compat.libcore.net.http.HttpResponseCacheTest"> | |
<properties> | |
<property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/> | |
<property name="sun.boot.library.path" value="/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/amd64"/> | |
<property name="java.vm.version" value="19.1-b02"/> | |
<property name="java.vm.vendor" value="Sun Microsystems Inc."/> | |
<property name="java.vendor.url" value="http://java.sun.com/"/> | |
<property name="path.separator" value=":"/> | |
<property name="guice.disable.misplaced.annotation.check" value="true"/> |
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" encoding="UTF-8" ?> | |
<testsuite failures="1" time="2.671" errors="0" skipped="0" tests="104" name="com.integralblue.httpresponsecache.compat.libcore.net.http.HttpResponseCacheTest"> | |
<properties> | |
<property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/> | |
<property name="sun.boot.library.path" value="c:\Program Files (x86)\Java\jdk1.7.0\jre\bin"/> | |
<property name="java.vm.version" value="21.0-b17"/> | |
<property name="user.country.format" value="CZ"/> | |
<property name="java.vm.vendor" value="Oracle Corporation"/> | |
<property name="java.vendor.url" value="http://java.oracle.com/"/> | |
<property name="path.separator" value=";"/> |