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
// ************************************************* | |
// include jQuery and lightbox2 | |
// ************************************************* | |
/*! | |
* jQuery JavaScript Library v2.1.4 | |
* http://jquery.com/ | |
* | |
* Includes Sizzle.js |
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
<?php declare(strict_types = 1); | |
class XCollection implements Countable, IteratorAggregate | |
{ | |
/** | |
* @var SplObjectStorage | |
*/ | |
private $x; | |
public function __construct() |
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
<?php declare(strict_types = 1); | |
class XCollection implements Countable, IteratorAggregate | |
{ | |
/** | |
* @var X[] | |
*/ | |
private $x; | |
public function __construct() |
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
# Shortcuts | |
Actions: Ctrl + Shift + A | |
Search everywhere: 2x Shift | |
Next occurence: Alt + J | |
Local insert: Alt + Insert | |
Create file: Ctrl + Alt + Insert | |
Open class: Ctrl + N | |
Run: Shift + F10 | |
Extract method: Ctrl + Alt + M |
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
author="Michael Haeuslmann" | |
path='/home/mike/workspace/pw-online-auction/' | |
save_path='\/home\/mike\/workspace\/pw-online-auction\/' | |
output="test.pdf" | |
printf "# Prüfung Professionelle Webentwicklung\n\nAuthor: $author\n\nDatum: `date`\n\n" > test.md | |
find $path -type f -name '*.php' -print0 | while IFS= read -r -d '' file; do | |
printf '%s\n' "$file" | |
printf "##" >> test.md | |
echo $file | sed "s/$save_path//" >> test.md |
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
<?php | |
// Online - Shops | |
// -------------- | |
// | |
// NOTE: | |
// - Shipping costs conditions must be valid PHP expressions. | |
// - Prices must be integers with the decimals included, so 5.00 becomes 500. | |
// - The shipping cost conditions have to be ordered from lowest to greatest, otherwise computation will be wrong. | |
// |
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
mkdir "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\AUDIO" | |
mkdir "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\DESIGN" | |
mkdir "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\GAMES" | |
mkdir "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\INTERNET" | |
mkdir "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\MISC" | |
mkdir "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\OFFICE" | |
mkdir "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\SYSTEM" | |
mkdir "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\VIDEO" |
NewerOlder