IP | Country | PORT | ADDED |
---|---|---|---|
50.217.226.41 | us | 80 | 11 minutes ago |
209.97.150.167 | us | 3128 | 11 minutes ago |
50.174.7.162 | us | 80 | 11 minutes ago |
50.169.37.50 | us | 80 | 11 minutes ago |
190.108.84.168 | pe | 4145 | 11 minutes ago |
50.174.7.159 | us | 80 | 11 minutes ago |
72.10.160.91 | ca | 29605 | 11 minutes ago |
50.171.122.27 | us | 80 | 11 minutes ago |
218.252.231.17 | hk | 80 | 11 minutes ago |
50.220.168.134 | us | 80 | 11 minutes ago |
50.223.246.238 | us | 80 | 11 minutes ago |
185.132.242.212 | ru | 8083 | 11 minutes ago |
159.203.61.169 | ca | 8080 | 11 minutes ago |
50.223.246.239 | us | 80 | 11 minutes ago |
47.243.114.192 | hk | 8180 | 11 minutes ago |
50.169.222.243 | us | 80 | 11 minutes ago |
72.10.160.174 | ca | 1871 | 11 minutes ago |
50.174.7.152 | us | 80 | 11 minutes ago |
50.174.7.157 | us | 80 | 11 minutes ago |
50.174.7.154 | us | 80 | 11 minutes ago |
Simple tool for complete proxy management - purchase, renewal, IP list update, binding change, upload lists. With easy integration into all popular programming languages, PapaProxy API is a great choice for developers looking to optimize their systems.
Quick and easy integration.
Full control and management of proxies via API.
Extensive documentation for a quick start.
Compatible with any programming language that supports HTTP requests.
Ready to improve your product? Explore our API and start integrating today!
And 500+ more programming tools and languages
When working with OpenXML, you may need to parse date values from date-formatted cells in Excel spreadsheets. The date values in OpenXML are represented as numeric values, and you need to convert these numeric values to DateTime objects.
Here's an example using C# and the DocumentFormat.OpenXml
library to parse date values from an Excel spreadsheet:
Install the Open XML SDK:
If you haven't already, install the DocumentFormat.OpenXml
NuGet package:
nuget install DocumentFormat.OpenXml
Write the Parsing Code:
Create a C# script or add the following code to your project:
using System;
using DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml.Spreadsheet;
class Program
{
static void Main()
{
string filePath = "path/to/your/excelfile.xlsx"; // Replace with the path to your Excel file
// Call the function to parse dates from the Excel file
ParseDatesFromExcel(filePath);
}
static void ParseDatesFromExcel(string filePath)
{
using (SpreadsheetDocument spreadsheetDocument = SpreadsheetDocument.Open(filePath, false))
{
WorkbookPart workbookPart = spreadsheetDocument.WorkbookPart;
SharedStringTablePart sharedStringTablePart = workbookPart.GetPartsOfType().FirstOrDefault();
if (sharedStringTablePart != null)
{
foreach (WorksheetPart worksheetPart in workbookPart.WorksheetParts)
{
foreach (Cell cell in worksheetPart.Worksheet.Descendants())
{
if (cell.DataType != null && cell.DataType.Value == CellValues.SharedString)
{
int sharedStringIndex = int.Parse(cell.InnerText);
string sharedStringValue = sharedStringTablePart.SharedStringTable.Elements().ElementAt(sharedStringIndex).InnerText;
if (DateTime.TryParse(sharedStringValue, out DateTime parsedDate))
{
Console.WriteLine($"Parsed Date: {parsedDate.ToShortDateString()}");
}
else
{
Console.WriteLine("Not a valid date format.");
}
}
else if (cell.CellValue != null)
{
if (DateTime.TryParse(cell.CellValue.Text, out DateTime parsedDate))
{
Console.WriteLine($"Parsed Date: {parsedDate.ToShortDateString()}");
}
else
{
Console.WriteLine("Not a valid date format.");
}
}
}
}
}
}
}
}
|
Replace "path/to/your/excelfile.xlsx"
with the actual path to your Excel file.
Run the Code:
This code uses the SpreadsheetDocument
class from the DocumentFormat.OpenXml.Packaging
namespace to open the Excel file, and it iterates through the cells to parse and print date values. It checks if the cell contains a shared string (string stored in the shared string table) or a direct value. If it's a valid date, it parses and prints it. Adjust the code according to your specific needs and Excel file structure.
The reason for the lack of connection to the network can be due to incorrect proxy settings, that is, incorrect IP addresses were entered or specified, or the server simply does not work. Users also often forget that proxy settings must be disabled.
Proxy servers are needed for Telegram, so that they can substitute their IP address instead of the real one. This procedure makes it possible to avoid blocking and bypass the ban on the messenger in our country. There are three types of protocols that can be set up for Telegram: Socks5, HTTP and MTPROTO. As for the last protocol, its own applications are developed for it.
To enable proxies in your MacBook, you need to go to "System Preferences" (from the "Apple" menu), then open "Network", then - specify the type of connection you are using. Then select "Advanced Settings" (can be named as "Advanced"), then click on "Proxy". And then - either set the parameters manually, or specify a configuration file.
You need to go to "Settings", click on "WiFi", select the current network to which the smartphone is connected, tap on "Proxy settings". And then - deactivate the item.
What else…