kwrite /etc/samba/smb.conf &
[global]
interfaces = eth0 lo
//------------------------------------------------------------------------------ | |
// <copyright file="FieldCreator.cs" company="Florian Wolters"> | |
// Copyright (c) Florian Wolters. All rights reserved. | |
// </copyright> | |
// <author>Florian Wolters <wolters.fl@gmail.com></author> | |
//------------------------------------------------------------------------------ | |
namespace FlorianWolters.Office.Word.Fields | |
{ | |
using System; |
<?php | |
namespace FlorianWolters; | |
/** | |
* The class {@see NotSoImmutableClass} demonstrates how-to implement the | |
* *Immutable Object* implementation pattern **incorrectly** | |
* | |
* @author Florian Wolters <wolters.fl@gmail.com> | |
* @copyright 2013 Florian Wolters | |
* @license http://gnu.org/licenses/lgpl.txt LGPL-3.0+ |
package de.florianwolters.pattern.singleton; | |
/** | |
* Demonstration of the <i>Singleton</i> design pattern in Java. | |
* | |
* This is the correct implementation of the <i>Singleton</i> creational design | |
* pattern in the Java programming language. | |
* | |
* - Thread-safe without special language constructs (e.g. | |
* <tt>synchronized</tt> or <tt>volatile</tt>). |
@ECHO OFF | |
REM Prints out the last date of the last month in optional DIN 5008 format. | |
REM | |
REM The optional DIN 5008 format is "dd.mm.yyyy", e.g. "29.02.2012". | |
REM | |
REM Author: Florian Wolters <florian.wolters.85@googlemail.com> | |
REM Link..: http://github.com/FlorianWolters | |
REM | |
REM Copyright (C) 2012 by Florian Wolters. All rights reserved. | |
REM |
@ECHO OFF | |
REM Prints out the last day of the current month. | |
REM | |
REM Author: Florian Wolters <florian.wolters.85@googlemail.com> | |
REM Link..: http://github.com/FlorianWolters | |
REM | |
REM Copyright (C) 2012 by Florian Wolters. All rights reserved. | |
REM | |
REM This program is free software: you can redistribute it and/or modify it | |
REM under the terms of the GNU Lesser General Public License as published by the |
@ECHO OFF | |
REM Removes the directories "System Volume Information" and "$RECYCLE.BIN" from | |
REM the drive with the specified drive letter. | |
REM | |
REM Author: Florian Wolters <florian.wolters.85@googlemail.com> | |
REM Link..: http://github.com/FlorianWolters | |
REM | |
REM Copyright (C) 2012 by Florian Wolters. All rights reserved. | |
REM | |
REM This program is free software: you can redistribute it and/or modify it |
/** | |
* Demonstrates *The Rule of Five* C++ idiom. | |
* | |
* @file the_rule_of_five.h | |
* @author Florian Wolters <wolters.fl@gmail.com> | |
* | |
* @section License | |
* | |
* Copyright Florian Wolters 2015 (http://blog.florianwolters.de). | |
* |
#!/bin/bash | |
function pause() { | |
if [ "$#" -eq 0 ] | |
then | |
PROMPT="Press any key . . ." | |
else | |
PROMPT="$1" | |
fi |