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
Blog Post |
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
20:51:19.786 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@1aac087b, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@1460d0eb, org.gradle.logging.internal.JavaUtilLoggingConfigurer@6033fec0] | |
20:51:20.807 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@1aac087b, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@1460d0eb, org.gradle.logging.internal.JavaUtilLoggingConfigurer@6033fec0] | |
20:51:20.813 [INFO] [org.gradle.BuildLogger] Starting Build | |
20:51:20.814 [DEBUG] [org.gradle.BuildLogger] Gradle user home: /home/ethan/.gradle | |
20:51:20.816 [DEBUG] [org.gradle.BuildLogger] Current dir: /home/ethan/IdeaProjects/PinballTracker | |
20:51:20.818 [DEBUG] [org.gradle.BuildLogger] Settings file: null | |
20:51:20.820 [DEBUG] [org.gradle.BuildLogger] Build file: null | |
20:51: |
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
echo; | |
echo -en "( º_º) ┬─┬ \r"; sleep .5; | |
echo -en " ( º_º) ┬─┬ \r"; sleep .5; | |
echo -en " ( ºДº)┬─┬ \r"; sleep .5; | |
echo -en " (╯'Д')╯︵⊏ \r"; sleep .5; | |
echo -en " (╯'□')╯︵ ⊏ \r"; sleep .5; | |
echo " (╯°□°)╯︵ ┻━┻"; sleep .5; |
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 io.ehdev; | |
public class MagicalLand { | |
public static void main(String[] args) { | |
for (int i = 0; i < (Math.random() * 500) + 2; i++) { | |
if (Unicorn.pat()) { | |
System.out.println("UNICORN #1: PAT THIS UNICORN ONCE"); | |
} | |
} |
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 RootActivity extends SherlockFragmentActivity implements ActionBar.TabListener { | |
static private Fragment listOfFragments[]; | |
private static final String TAG = RootActivity.class.getName(); | |
@Override | |
public void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
if (savedInstanceState == null) { |
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
buildscript { | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:0.3' | |
} | |
} | |
sourceCompatibility = JavaVersion.VERSION_1_6 |
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
org.gradle.parallel=true | |
org.gradle.configureondemand=true | |
org.gradle.daemon=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
apply plugin: 'java' | |
apply plugin: 'idea' | |
def imlName = name + (hasProperty('generate12') ? '.ij12' : '.ij13') | |
idea { | |
module { | |
name = imlName | |
} | |
} |
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 org.gradle.platform.* | |
interface CustomLanguageSourceSet extends LanguageSourceSet {} | |
interface SampleComponent extends ComponentSpec {} | |
interface SampleBinary extends BinarySpec {} | |
class DefaultCustomLanguageSourceSet extends BaseLanguageSourceSet implements CustomLanguageSourceSet {} | |
class DefaultSampleBinary extends BaseBinarySpec implements SampleBinary {} | |
class DefaultSampleComponent extends BaseComponentSpec implements SampleComponent {} |
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.example | |
import groovy.util.logging.Slf4j | |
import org.springframework.boot.SpringApplication | |
import org.springframework.boot.autoconfigure.EnableAutoConfiguration | |
import org.springframework.context.ApplicationContext | |
import org.springframework.context.annotation.ComponentScan | |
import org.springframework.context.annotation.Configuration | |
import org.springframework.context.annotation.Import | |
import org.springframework.web.servlet.config.annotation.EnableWebMvc |
OlderNewer