Saturday, October 05, 2024

apple iphone 16 return in UK Glasgow

 After I saw that WhatsApp desktop is not working(I tried 2 different laptops, uninstalled or resetting the app but did not work) and uBlock Origin is not compatible on iPhone Firefox I decided to return the phone, I looked for starting return online, but it is not available, then I needed to call the support, then a bot talked to me and asked me if I want the SMS with link for return, I said yes, and it sends the orders page link 😊

then I said connect me to a real person, that person asked me what is the problem I said software is not as good as I wanted she said, but you did not have the introduction lessons, I said I used iPhone before (around 12 years ago in 2012 I used iPhone like a year) then she said okay, anyway she started the return process, I am surprised it is not as easy as Amazon, I thought it would be, but no apple is hard to return, anyway she said tomorrow (Sunday - I do not believe this) there will be someone to pick up the phone and return 🤞 

 


Thursday, October 03, 2024

iphone 16 whatsapp desktop is not working

 since yesterday I tried to link my iphone whatsapp to windows whatsapp desktop app, I tried to uninstall and install reset and clear options, very strange


Sunday, June 16, 2024

C# scan cs file and find variables values and names

using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Xunit.Abstractions;

namespace CustomerService.Tests;

public sealed class VariableTracker
{
private readonly ITestOutputHelper _testOutputHelper;

public VariableTracker(ITestOutputHelper testOutputHelper)
{
_testOutputHelper = testOutputHelper;
}

[Fact]
public void ScanFile()
{
string filePath =
@"C:\Users\ozkan\projects\dotnet-examples\tc-guide-getting-started-with-testcontainers-for-dotnet\TestcontainersDemo\CustomerService\CustomerService.cs";
string code = File.ReadAllText(filePath);

SyntaxTree tree = CSharpSyntaxTree.ParseText(code);
var root = (CompilationUnitSyntax)tree.GetRoot();

var variableCollector = new VariableCollector();
variableCollector.Visit(root);

_testOutputHelper.WriteLine("\nVariable Assignments:");
foreach (var assignment in variableCollector.Assignments)
{
if (assignment.Key.ToLower().Contains("command"))
_testOutputHelper.WriteLine($"Variable: {assignment.Key}, Assigned Value: {assignment.Value}");
}
}

private class VariableCollector : CSharpSyntaxWalker
{
public Dictionary<string, string> Assignments { get; } = new();

public override void VisitAssignmentExpression(AssignmentExpressionSyntax node)
{
var left = node.Left.ToString();
var right = node.Right.ToString();
Assignments[left] = right;
base.VisitAssignmentExpression(node);
}
}
}

apple iphone 16 return in UK Glasgow

 After I saw that WhatsApp desktop is not working(I tried 2 different laptops, uninstalled or resetting the app but did not work) and uBlock...