Skip to content

Instantly share code, notes, and snippets.

View Nava2's full-sized avatar

Kevin Brightwell Nava2

View GitHub Profile
@Nava2
Nava2 / my.Vagrantfile
Created August 26, 2015 00:48
Vagrant file used in setting up a VM for Umple
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at vagrantup.com.
@Nava2
Nava2 / Apache2.0.txt
Last active August 29, 2015 14:08
Some license templates for Qt Creator
/*
* Copyright %YEAR% %USER%
*
* 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
C_RED="\[\033[0;31m\]"
C_GREEN="\[\033[0;32m\]"
C_LIGHT_GRAY="\[\033[0;37m\]"
C_RESET="\[\033[0m\]"
C_BROWN="\[\033[0;33m\]"
C_BLUE="\[\033[0;34m\]"
C_PURPLE="\[\033[0;35m\]"
C_CYAN="\[\033[0;36m\]"
C_GRAY="\[\033[1;30m\]"
@Nava2
Nava2 / List.md
Last active August 29, 2015 14:13
A short post about technical books for New Grads

Someone asked me about books for becoming a better developer/how to interview. Most of these assume you have some programming background, which I expect everyone does. :)

Programming

Java:

Effective Java 2nd Edition

An awesome book that will teach you how to be proficient and intelligent in your Java designs.

@Nava2
Nava2 / UmpleModelTest.java
Last active August 29, 2015 14:16
Test file for Issue with subdirectories
/*
Copyright: All contributers to the Umple Project
This file is made available subject to the open source license found at:
http://umple.org/license
*/
package cruise.umple.compiler;
@Nava2
Nava2 / meta.json
Created March 18, 2015 04:10
meta.json example for umple-ucosp/umple.sample.downloader
{
"date" : 1426651739191,
"time" : 1426651739191,
"rootPath" : "/tmp/MyOutput",
"repositories" : [ {
"path" : "AtlanZooEcore",
"description" : "The Metamodel Zoos are a collaborative open source research effort intended to produce experimental material that may be used by all in the domain of Model Driven Engineering.\nThis Repository uses the eCore version located at: http://www.emn.fr/z-info/atlanmod/index.php/Ecore.",
"name" : "AtlanZooEcore",
"files" : [ {
"path" : "ACG.ecore.ump",
/*PLEASE DO NOT EDIT THIS CODE*/
/*This code was generated using the UMPLE 1.22.0.5146 modeling language!*/
package cruise.umple;
import cruise.umple.compiler.UmpleFile;
import cruise.umple.validator.*;
/**
* @umplesource Main.ump 3
*/
@Nava2
Nava2 / ISO20022EcoreRepository.java
Last active August 29, 2015 14:18
Umpr Repository Tutorial
/**
*
*/
package cruise.umple.umpr.core.repositories;
import java.net.MalformedURLException;
import java.net.URL;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.List;
@Nava2
Nava2 / code_Catch_block.txt
Created May 2, 2015 21:47
Eclipse Templates for Java
// ${todo} Auto-generated catch block
// propagate exception out
throw new IllegalStateException(${exception_var});
> update
[info] Updating {file:/Users/kevin/dev/workspace/hc12sim2/}hc12sim2...
[info] Resolving com.github.Nava2#scala-unsigned;Scala2.11.6 ...
[warn] problem while downloading module descriptor: https://jitpack.io/com/github/Nava2/scala-unsigned/Scala2.11.6/scala-unsigned-Scala2.11.6.pom: invalid sha1: expected=d01ee48bfb8e06092e2117a881c45f387d493a29 computed=f12ec2d65abe9da4e81373510c9f2c8ce093bbaa (1052ms)
[warn] module not found: com.github.Nava2#scala-unsigned;Scala2.11.6
[warn] ==== local: tried
[warn] /Users/kevin/.ivy2/local/com.github.Nava2/scala-unsigned/Scala2.11.6/ivys/ivy.xml
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/com/github/Nava2/scala-unsigned/Scala2.11.6/scala-unsigned-Scala2.11.6.pom
[warn] ==== Twitter repo: tried