Skip to content

Instantly share code, notes, and snippets.

Avatar
🦉
Focusing

Oleg Demchenko olegoid

🦉
Focusing
  • Microsoft
  • Cambridge, MA
View GitHub Profile
@olegoid
olegoid / gist:f426ea5f74eb9f5e145fd807e9bb5339
Created Jan 20, 2020
Remote party closed the WebSocket connection without completing the close handshake
View gist:f426ea5f74eb9f5e145fd807e9bb5339
[xUnit.net 00:00:00.03] xUnit.net VSTest Adapter v2.4.1 (64-bit .NET Core 5.0.0)
[xUnit.net 00:00:02.08] Starting: System.Net.WebSockets.Client.Tests (parallel test collections = on, max threads = 8)
[xUnit.net 00:00:19.90] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectInstagram_Success [FAIL]
[xUnit.net 00:00:19.90] System.Net.WebSockets.WebSocketException : The remote party closed the WebSocket connection without completing the close handshake.
[xUnit.net 00:00:19.90] ---- System.Exception : TryParseMessageHeaderFromReceiveBuffer
[xUnit.net 00:00:19.91] Stack Trace:
[xUnit.net 00:00:19.91] at System.Net.WebSockets.ManagedWebSocket.ReceiveAsyncPrivate[TWebSocketReceiveResultGetter,TWebSocketReceiveResult](Memory`1 payloadBuffer, CancellationToken cancellationToken, TWebSocketReceiveResultGetter resultGetter)
[xUnit.net 00:00:19.91] /Users/olegoid/Projects/runtime/src/libraries/System.Net.WebSockets.Client/tests/ConnectTest.cs(99,0): at System.Net.WebSocke
View gist:a47d710f31168c10566e06244badd8fa
Test Error : Xamarin.MacDev.CreateCertificateTest.Run_AssignsTeamIdToCertificate
System.PlatformNotSupportedException : Operation is not supported on this platform.
at System.Security.Cryptography.X509Certificates.X509Certificate2.set_PrivateKey (System.Security.Cryptography.AsymmetricAlgorithm value) [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-10/external/bockbuild/builds/mono-x64/mcs/class/System/System.Security.Cryptography.X509Certificates/X509Certificate2.cs:179
at Xamarin.MacDev.CreateCertificate.Run (Xamarin.MacDev.AppleTeam team, Xamarin.MacDev.AppleCertificateType certType, System.String developerName, System.String developerEmail, System.Threading.CancellationToken cancellationToken) [0x002f5] in /Users/olegoid/Projects/md-addins/external/maciostools/Xamarin.MacDev.Ide/AppleSigning/ProvisioningTasks/CreateCertificate.cs:87
at Xamarin.MacDev.CreateCertificateTest.Run_AssignsTeamIdToCertificate () [0x0011a] in /Users/olegoid/Projects/md-addins/MonoDevelop.MacDe
View Contents.json
{
"images": [
{
"filename": "Icon-40.png",
"size": "20x20",
"scale": "2x",
"idiom": "iphone"
},
{
"filename": "NotificationIcon@3x.png",
View info.txt
=== Visual Studio Enterprise 2017 for Mac (Preview) ===
Version 7.2 Preview (7.2 build 131)
Installation UUID: 53e1ed85-e8b4-4e61-be15-237780ed3344
Runtime:
Mono 5.4.0.36 (2017-06/ccf4d32) (64-bit)
GTK+ 2.24.23 (Raleigh theme)
Package version: 504000036
View RegistrarStatic
Cleaning: FilterDemoApp (Debug|iPhoneSimulator)
Build started 5/24/2016 12:33:53 PM.
__________________________________________________
Project "/Users/olegoid/Projects/monotouch-samples/ios9/FilterDemoApp/FilterDemoApp/FilterDemoApp.csproj" (Clean target(s)):
Target CoreClean:
Deleting file '/Users/olegoid/Projects/monotouch-samples/ios9/FilterDemoApp/FilterDemoApp/obj/iPhoneSimulator/Debug/Xamarin.iOS,Version=v1.0.AssemblyAttribute.cs'
Deleting file '/Users/olegoid/Projects/monotouch-samples/ios9/FilterDemoApp/FilterDemoApp/obj/iPhoneSimulator/Debug/ibtool/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib'
View Лит-ра
Название: UML. Проектирование систем реального времени, распределенных и параллельных приложений, 2-е издание
Автор: Хассан Гома Издательство:
ДМК Пресс Год: 2011 ISBN: 978-5-94074-723-9
Источник: http://progbook.ru/uml/
Marca D.A., McGowan C.L
SADT Structured Analysis and Design Technique
McGraw-Hill, 2010
Буч Г., Якобсон А., Рамбо Дж
View fixipa.sh
#!/bin/sh
IPA=$1
DIR=$(dirname "${IPA}")
TEMPDIR=${DIR}/tmp
BACKUP=${IPA}_backup
EXTENSION="${IPA##*.}"
# Verify user input
if [ "$IPA" == "" ]; then
View AppDelegate.cs
using Foundation;
using UIKit;
namespace DebuggerIssue {
[Register("AppDelegate")]
public class AppDelegate : UIApplicationDelegate
{
public override UIWindow Window
{
get;
View MainActivity.cs
using System;
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
namespace App1
{
View gist:b1ede358d2dbc2dda6a5
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"[]>
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>WatchkitExtension</string>
<key>CFBundleIdentifier</key>
<string>com.xamarin.WatchKitCatalogSubmit.watchkitextension</string>