-
Open a browser
# start an instance of firefox with selenium-webdriver $browser_type = 'firefox' $host = 'http://localhost:4444/wd/hub'
$capabilities = array(\WebDriverCapabilityType::BROWSER_NAME => $browser_type);
pgrep pulseaudio | while read pid; do sudo prlimit --pid=$pid --as=512000000000:512000000000 ; done |
public void RunCustom (double target_fps) | |
{ | |
EnsureUndisposed (); | |
Visible = true; // Make sure the GameWindow is visible. | |
OnLoad (EventArgs.Empty); | |
OnResize (EventArgs.Empty); | |
FrameEventArgs render = new FrameEventArgs (); |
/Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/bin/MSBuild/dotnet.15.0/MonoDevelop.Projects.Formats.MSBuild.exe.config | |
<?xml version="1.0" encoding="utf-8"?> | |
<configuration> | |
<configSections> | |
<!-- Microsoft.Build.Engine instead of Microsoft.Build here because a task run under Microsoft.Build may load Microsoft.Build.Engine, which will attempt to read this section. --> | |
<section name="msbuildToolsets" type="Microsoft.Build.Evaluation.ToolsetConfigurationSection, Microsoft.Build, Version=14.1.0.0, Culture=neutral" /> | |
</configSections> | |
<runtime> |
Installiere ein Debian chroot zum kompilieren: | |
apt install debootstrap | |
debootstrap --arch=amd64 jessie /opt/compile-chroot | |
In der /etc/fstab: | |
proc /opt/compile-chroot/proc proc defaults 0 0 | |
sysfs /opt/compile-chroot/sys sysfs defaults 0 0 |
[string] $scannerExe = (Join-Path (Get-Location) '\tools\sonarqube-msbuild\SonarQube.Scanner.MSBuild.exe') | |
& $scannerExe begin /k:"app:seg" /n:"APP SEG" /v:"1.0" /d:sonar.host.url=http://sonarqube.local:9000 /d:sonar.verbose=true | |
& 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe' .\apptest.sln /t:restore | |
& 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe' .\apptest.sln | |
& $scannerExe end | |
.class public auto ansi beforefieldinit RoomSettings | |
extends [mscorlib]System.Object | |
{ | |
// Fields | |
.field public valuetype GamePlayType GamePlay | |
.field public bool FriendlyFire | |
.field public bool HitMarker | |
.field public bool KillLog | |
.field public valuetype PlayerMaxHitPoint PlayerMaxHP | |
.field public bool HpArHud |
Translate file: events/charIntro.rpy | |
ru: # player.say "\"Мда, с ней будет тяжело. По эмоциональному накалу такое чувство, что я не с человеком, а с тумбочкой пообщалась.\" | |
url: https://translate.googleapis.com/translate_a/single?client=gtx&sl=ru&tl=en&dt=t&q=%23+player.say+%22%22%D0%9C%D0%B4%D0%B0%2C+%D1%81+%D0%BD%D0%B5%D0%B9+%D0%B1%D1%83%D0%B4%D0%B5%D1%82+%D1%82%D1%8F%D0%B6%D0%B5%D0%BB%D0%BE.+%D0%9F%D0%BE+%D1%8D%D0%BC%D0%BE%D1%86%D0%B8%D0%BE%D0%BD%D0%B0%D0%BB%D1%8C%D0%BD%D0%BE%D0%BC%D1%83+%D0%BD%D0%B0%D0%BA%D0%B0%D0%BB%D1%83+%D1%82%D0%B0%D0%BA%D0%BE%D0%B5+%D1%87%D1%83%D0%B2%D1%81%D1%82%D0%B2%D0%BE%2C+%D1%87%D1%82%D0%BE+%D1%8F+%D0%BD%D0%B5+%D1%81+%D1%87%D0%B5%D0%BB%D0%BE%D0%B2%D0%B5%D0%BA%D0%BE%D0%BC%2C+%D0%B0+%D1%81+%D1%82%D1%83%D0%BC%D0%B1%D0%BE%D1%87%D0%BA%D0%BE%D0%B9+%D0%BF%D0%BE%D0%BE%D0%B1%D1%89%D0%B0%D0%BB%D0%B0%D1%81%D1%8C.%22 | |
en: # Player.say \"\" Hmm, it will be hard. On the emotional heat, it feels like I did not talk to a person, but talked to my bedside table. \" | |
ru: # player.say "\"Феминизм го |
http://stackoverflow.com/a/42690759 | |
Instructions for Visual Studio 2017: | |
- Close Visual Studio 2017 | |
- Open Registry Editor (regedit), select HKEY_USERS | |
- File → Load Hive → %localappdata%\Microsoft\VisualStudio\15.0_<id>\privateregistry.bin where <id> is some hexadecimal gibberish. Set Key Name to the one you like e.g. vs2017 | |
- Go to HKEY_USERS\vs2017\Software\Microsoft\VisualStudio\15.0_<id> | |
- Create new key UseSolutionNavigatorGraphProvider of DWORD (32-bit) type, value 0 | |
- Select HKEY_USERS\vs2017, File → Unload Hive |
Stack trace (most recent call last): | |
#25 Object "", at 0xffffffffffffffff, in | |
#24 Object "/home/tobias/src/vulkan-tests/build/vulkantest_2", at 0x408278, in _start | |
#23 Source "/build/glibc-t3gR2i/glibc-2.23/csu/../csu/libc-start.c", line 291, in __libc_start_main [0x7f59f2e9b82f] | |
#22 Source "/home/tobias/src/vulkan-tests/src/test2/main.cpp", line 565, in main [0x408383] | |
562: HelloTriangleApplication app; | |
563: | |
564: try { | |
> 565: app.run (); | |
566: } |