- see: https://gist.github.com/vitojeng/ae1043c5c317ddceb1f8
- ⌘ command ⌫ delete ⌥ option ⎋ escape ⌃ control ⏏ eject ⇧ shift ⇥ tab Forward delete
- ⇞ Page Up ⇟ Page Down ↖ Home ↘ End
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
# All open port with bounded program | |
netstat -tulpn | grep LISTEN | |
# Extract | |
tar -xzf archiv.tar.gz -C /PFAD/ZUM/ORDNER | |
# Create | |
tar -czf archiv.tar.gz |
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
# install the commando 'add-apt-repository' | |
apt-get install software-properties-common | |
# see: http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html | |
add-apt-repository ppa:webupd8team/java | |
apt-get update | |
apt-get install oracle-java8-installer | |
# JAVA_HOME is '/usr/lib/jvm/java-8-oracle/' |
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
# Search for Grails projects that uses the platform-core plugin | |
platform-core path:grails-app/conf filename:BuildConfig.groovy |
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
// ------------------------ | |
// Controller classes | |
// ------------------------ | |
package de.beispiel.api | |
import de.beispiel.SuperController | |
import de.beispiel.exception.DomainObjectNotFoundException | |
class CrmProjectController extends SuperController { |
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
<!-- ----------- --> | |
<!-- Index page --> | |
<!-- ----------- --> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="layout" content="main"/> | |
<parameter name="layout" value="app" /> | |
<parameter name="fixedWidth" value="true" /> | |
<asset:stylesheet src="application"/> |
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
// ------------------------ | |
// Server API | |
// ------------------------ | |
package de.beispiel.api | |
import de.beispiel.SuperController | |
import de.beispiel.crm.CrmProject | |
import de.beispiel.crm.CrmProjectService | |
import grails.converters.JSON |
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
<!-- -------------------- --> | |
<!-- Index page component --> | |
<!-- -------------------- --> | |
<template> | |
<div> | |
<v-container v-if="$route.name === 'crm/projects'" class="px-0" fluid> | |
<v-layout row wrap> | |
<v-flex> | |
<v-toolbar flat> | |
<v-text-field v-model="search" append-icon="search" label="Search" single-line hide-details></v-text-field> |
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
// --------------------- | |
// Vuex module | |
// --------------------- | |
import Vue from 'vue'; | |
import { com } from "./../../main"; | |
import * as log from 'loglevel'; | |
const state = { | |
projects: {}, | |
currentProjectId: undefined |