windows cmd line'da bir klasörün tüm içeriğini aynı klasörde bulunan bir "x.txt" adlı bir dosyaya yazmak için:
- dir >> x.txt
kodunun çalıştırılması yeterlidir.
$ git remote rm origin | |
$ git remote add origin [email protected]:aplikacjainfo/proj1.git | |
$ git config master.remote origin | |
$ git config master.merge refs/heads/master |
# Get current branches of dirs in a dir | |
function isAGitDir() { | |
if ((Test-Path ".git") -eq $TRUE) { | |
return $TRUE | |
} | |
return $FALSE | |
} | |
function gitCheck($path) { |
using Xunit; | |
namespace plaka.Tests | |
{ | |
public class UnitTests | |
{ | |
plaka.Core.Validator validator; | |
public UnitTests() | |
{ | |
validator = new Core.Validator(); |
public static string StripNonNumeric(this string value) | |
{ | |
var newVal = string.Empty; | |
foreach (var item in value) | |
{ | |
var intVal = 0; | |
var res = int.TryParse(item.ToString(), out intVal); | |
if (res) | |
{ |
# https://pyfiddle.io/fiddle/f479b511-7645-4a66-a434-be7a829f015d/?i=true | |
def isPrime(n): | |
for i in range(2,n): | |
if(n % i == 0): | |
print("asal degil") | |
break | |
else: | |
print("asal") |
using System; | |
using System.Collections.Generic; | |
using System.Security.Cryptography; | |
using System.Text; | |
using System.Linq; | |
namespace DoDChain | |
{ | |
public class Block | |
{ |
<html> | |
<head> | |
<!-- <title></title> --> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> | |
<!-- <style></style> --> | |
<!-- <link rel="stylesheet" type="text/css" href=""> --> | |
</head> | |
<body> |
WHERE u.UserName LIKE '%[^a-zA-Z0-9]%' |
function factorial(n) { | |
if (n < 2) { | |
return 1; | |
} | |
return n * factorial(n - 1); | |
} |
windows cmd line'da bir klasörün tüm içeriğini aynı klasörde bulunan bir "x.txt" adlı bir dosyaya yazmak için:
kodunun çalıştırılması yeterlidir.