TODO: Write a project description
TODO: Describe the installation process
TODO: Write usage instructions
/* | |
PostgreSQL | |
If you want to insert any column retaled with update query you can use this. | |
It gets ids from updated tables and then inter them into another table. | |
*/ | |
with rows AS ( | |
UPDATE product SET price = price * 1.10 | |
RETURNING id | |
) |
%{ Filters | |
% near 2 | 4 | 6 | |
% | |
% mean | |
% (4,4) (4,5) (4,6) | |
% (5,4) (5,5) (5,6) | |
% (6,4) (6,5) (6,6) | |
% | |
% %} |
clc; clear; close all; | |
%ream images | |
firstImg = imread('c.png'); | |
firstImg = double(firstImg); | |
secondImg = imread('c2.png'); | |
secondImg = double(secondImg); | |
%define distance from pixel | |
distance2point = 5; |
try | |
{ | |
string uri = "https://api.hurriyet.com.tr/v1/newsphotogalleries; | |
HttpWebRequest request = WebRequest.Create(uri) as HttpWebRequest; | |
request.Method = "GET"; | |
request.Headers.Add("apikey: YOUR_API_KEY"); | |
string stringResponse = string.Empty; | |
using (HttpWebResponse response = request.GetResponse() as HttpWebResponse) |
string domainName = "YOUR_DOMAIN_NAME"; | |
string cvspath = Environment.GetFolderPath(Environment.SpecialFolder.Desktop) + "\\ActiveDirectoryList_" + Guid.NewGuid().ToString() + ".csv"; | |
StringBuilder cvscontent = new StringBuilder(); | |
cvscontent.AppendLine("SAMAccountName, givenName, sn, title, department, samAccountName, userPrincipalName"); | |
using (var context = new PrincipalContext(ContextType.Domain, domainName)) | |
{ | |
using (var searcher = new PrincipalSearcher(new UserPrincipal(context))) | |
{ | |
foreach (var result in searcher.FindAll()) |