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
[ | |
{ | |
"id": 144, | |
"name": "Redli 15 Plus", | |
"summaryPriceInfo": "", | |
"tariffType": "", | |
"activationStartDate": "", | |
"activationEndDate": "" | |
}, | |
{ |
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
{ | |
"ADANA": [ | |
"ÇUKUROVA", | |
"SARIÇAM", | |
"İMAMOĞLU", | |
"ALADAĞ", | |
"YÜREĞİR", | |
"YUMURTALIK", | |
"TUFANBEYLİ", | |
"SAİMBEYLİ", |
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.Text; | |
namespace EBSCoder | |
{ | |
internal class EbsBase64Encoder | |
{ | |
public string ConvertStringToBase64(string input) | |
{ | |
string binaryRepresentation = ConvertStringToBinary(input); |
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
void excellaktar() | |
{ | |
Microsoft.Office.Interop.Excel.Application excel = new Microsoft.Office.Interop.Excel.Application | |
{ | |
Visible = true | |
}; | |
object Missing = Type.Missing; | |
Workbook workbook = excel.Workbooks.Add(Missing); | |
Worksheet sheet1 = (Worksheet)workbook.Sheets[1]; | |
int StartCol = 1; |
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
void excellaktar() | |
{ | |
Microsoft.Office.Interop.Excel.Application excel = new Microsoft.Office.Interop.Excel.Application | |
{ | |
Visible = false | |
}; | |
object Missing = Type.Missing; | |
Workbook workbook = excel.Workbooks.Add(Missing); | |
Worksheet sheet1 = (Worksheet)workbook.Sheets[1]; | |
int StartCol = 1; |
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
//Ekran Görünbtüsü için kullanacağımız metod | |
public void EkranGoruntusuAl(IWebElement drv, string dosyaAdi) | |
{ | |
Screenshot ekranGoruntusu = ((ITakesScreenshot)drv).GetScreenshot(); | |
ekranGoruntusu.SaveAsFile(dosyaAdi + ".png"); | |
} |
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
$sourceFolder = "Klasör Yolu" | |
# List all .mp4 files in the source folder | |
$mp4Files = Get-ChildItem -Path $sourceFolder -Filter *.mp4 | |
# Loop through each .mp4 file and rename | |
foreach ($file in $mp4Files) { | |
$newFileName = $file.Name -replace '\s+', '_' -replace '[^\w\d_.-]', '' | |
$newFilePath = Join-Path -Path $sourceFolder -ChildPath $newFileName | |
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
SoundPlayer player = new SoundPlayer(Application.StartupPath + "\\" + "ebsclikc.wav"); | |
player.Play(); |
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; | |
class Program | |
{ | |
static void Main() | |
{ | |
// İşlemi başlatma | |
Process process = new Process(); | |
process.StartInfo.FileName = "notepad.exe"; |
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 NetFwTypeLib; | |
Type tNetFwPolicy2 = Type.GetTypeFromProgID("HNetCfg.FwPolicy2"); | |
INetFwPolicy2 fwPolicy2 = (INetFwPolicy2)Activator.CreateInstance(tNetFwPolicy2); | |
var currentProfiles = fwPolicy2.CurrentProfileTypes; | |
INetFwRule firewallRule = fwPolicy2.Rules.OfType<INetFwRule>().Where( | |
x => x.Name == textBoxX2.Text) | |
.FirstOrDefault(); // Eklemek istediğiniz kuralın kayıtlı olup olmadığını kontrol ediyoruz | |
if (firewallRule == null) |
NewerOlder