22.11. wg. Rahel in Erfurt (23.11.) 6.12. wg. Rahel (7.12.) 13.12. wg. FREI! (14.12.)
This file contains hidden or 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
| using System.Globalization; | |
| using Xunit; | |
| public class TestClass | |
| { | |
| public TestClass() | |
| { | |
| CultureInfo.DefaultThreadCurrentCulture = CultureInfo.InvariantCulture; | |
| } | |
| } |
This file contains hidden or 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
| cd path/to/project-b | |
| git remote add project-a path/to/project-a | |
| git fetch project-a | |
| git merge --allow-unrelated-histories project-a/master # or whichever branch you want to merge | |
| git remote remove project-a |
This file contains hidden or 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
| @namespace url(http://www.w3.org/1999/xhtml); | |
| @-moz-document domain("gitlab.fm.db.de") { | |
| @media print { | |
| /* fix firefox print internal error (https://bugzilla.mozilla.org/show_bug.cgi?id=1308516) */ | |
| html.turbolinks-progress-bar::before { | |
| display: none !important; | |
| } | |
| /* don't show target urls after non-wiki (i.e. navigational) links; it makes the content unreadable */ | |
This file contains hidden or 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
| $files = Get-ChildItem . -Recurse -Filter "*.cs" -File | |
| foreach($file in $files) | |
| { | |
| $content = Get-Content $file.FullName | |
| $content | Out-File $file.FullName -Encoding utf8 | |
| } |
This file contains hidden or 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
| apt-get install ntp ntpdate | |
| echo driftfile /var/lib/ntp/ntp.drift > /etc/ntp.conf | |
| echo statistics loopstats peerstats clockstats >> /etc/ntp.conf | |
| echo filegen loopstats file loopstats type day enable>> /etc/ntp.conf | |
| echo filegen peerstats file peerstats type day enable>> /etc/ntp.conf | |
| echo filegen clockstats file clockstats type day enable>> /etc/ntp.conf | |
| echo restrict -4 default kod notrap nomodify nopeer noquery limited>> /etc/ntp.conf | |
| echo restrict -6 default kod notrap nomodify nopeer noquery limited>> /etc/ntp.conf | |
| echo restrict 127.0.0.1>> /etc/ntp.conf | |
| echo restrict ::1>> /etc/ntp.conf |
This file contains hidden or 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
| dotnet tool list -g | ForEach-Object {$index = 0} { $index++; if($index -gt 2) { dotnet tool update -g $_.split(" ")[0] } } |
This file contains hidden or 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
| "C:\Program Files\Common Files\Microsoft Shared\ClickToRun\OfficeC2RClient.exe" /changesetting Channel=Monthly | |
| "C:\Program Files\Common Files\Microsoft Shared\ClickToRun\OfficeC2RClient.exe" /update user |
This file contains hidden or 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
| [alias] | |
| mr-master = push -o merge_request.create -o merge_request.target=master | |
| mr-develop = push -o merge_request.create -o merge_request.target=develop | |
| push-no-ci = push -o ci.skip | |
| mwps-master = push -o merge_request.create -o merge_request.target=master -o merge_request.merge_when_pipeline_succeeds | |
| mwps-develop =push -o merge_request.create -o merge_request.target=develop -o merge_request.merge_when_pipeline_succeeds |
This file contains hidden or 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
| using System; | |
| using System.Diagnostics.CodeAnalysis; | |
| using Optional; | |
| namespace OptionVsNullableInt | |
| { | |
| [SuppressMessage("ReSharper", "ExpressionIsAlwaysNull")] | |
| internal class Program | |
| { | |
| private static void Main(string[] args) |
NewerOlder