vim ~/.config/terminator/config
[global_config]
title_hide_sizetext = True
title_transmit_fg_color = "#000000"
sticky = True
title_inactive_fg_color = "#ffffff"
suppress_multiple_term_dialog = True
title_receive_fg_color = "#000000"
class Animal | |
constructor: (name) -> | |
# @name is an instance property | |
@name = name | |
# This is an object function | |
# This function can be accessed with @getSomething() from the class itself | |
getSomething: -> return "hello" |
<?php | |
echo 'blubb'; | |
?> |
vim ~/.config/terminator/config
[global_config]
title_hide_sizetext = True
title_transmit_fg_color = "#000000"
sticky = True
title_inactive_fg_color = "#ffffff"
suppress_multiple_term_dialog = True
title_receive_fg_color = "#000000"
<ruleset name=”BAK”> | |
<description>BAK coding standard</description> | |
<rule ref=”PEAR”> | |
<exclude name=”Generic.Files.LineLength”/> | |
<exclude name=”PEAR.WhiteSpace.ScopeIndent”/> | |
</rule> | |
<rule ref=”Generic.Functions.OpeningFunctionBraceKernighanRitchie”/> | |
</ruleset> |
package fizzbuzz; | |
import java.util.regex.*; | |
import org.junit.Before; | |
import org.junit.Test; | |
import static org.junit.Assert.*; | |
public class FizzBuzzSequenceTest { | |
private FizzBuzzSequence _fizzBuzzSequence; |
package fizzbuzz; | |
public class FizzBuzz { | |
public String getFizzBuzzValueOf(int number){ | |
if(number % 15 == 0){ | |
return "FizzBuzz"; | |
} | |
if(number % 3 == 0){ | |
return "Fizz"; |
package fizzbuzz; | |
public class FizzBuzzSequence { | |
private FizzBuzz _fizzBuzz; | |
public FizzBuzzSequence() { | |
_fizzBuzz = new FizzBuzz(); | |
} |
// (1) Branch my-calc-branch erzeugen | |
svn copy | |
http: //svn.example.com/repos/calc/trunk \ | |
http: //svn.example.com/repos/calc/branches/my-calc-branch \ | |
-m "Creating a private branch of /calc/trunk." | |
// (2) Branch my-calc-branch checkout |
// Anzeigen Commit Message von r9238: | |
svn log -r 9238 | |
// Effektive Code differenzen anzeigen +/-: | |
svn diff -c 9238 | |
// anzeigen differenz svn repo / lokal: | |
svn status | |
// lokale Änderungen rückgängig machen: |
class Data { | |
FileStream s; | |
public string FileName { | |
set { s = new FileStream( value, FileMode.Create ); } | |
get { return s.Name; } | |
} | |
} | |
Data d = new Data(); |