Skip to content

Instantly share code, notes, and snippets.

View WildGenie's full-sized avatar
🤖
I ❤️ Machine Learning

Bilgehan Zeki ÖZAYTAÇ WildGenie

🤖
I ❤️ Machine Learning
View GitHub Profile
using System;
using System.ComponentModel;
using System.Runtime.InteropServices;
namespace ComWithoutRegisteringExample
{
internal static class ComHelper
{
private delegate int DllGetClassObject(ref Guid clsid, ref Guid iid, [Out, MarshalAs(UnmanagedType.Interface)] out IClassFactory classFactory);
#ifndef _WIN32_IE
#define _WIN32_IE 0x0600
#elif _WIN32_IE <= 0x0600
#undef _WIN32_IE
#define _WIN32_IE 0x0600
#endif
// Win XP or higher
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0501
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.DirectoryServices;
using System.Runtime.InteropServices;
namespace ConsoleApplication1
{
using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using System.DirectoryServices;
using System.Collections;
using System.Runtime.InteropServices;
using System.Data;
Module Module1
Sub Main()
' Open up the text file
Dim oFSO, oTS, sOU, sGrp
oFSO = CreateObject("Scripting.FileSystemObject")
oTS = oFSO.OpenTextFile("D:\batch\users.csv")
Const ADS_PROPERTY_APPEND = 3
// Using leaflet.js to pan and zoom a big image.
// See also: http://kempe.net/blog/2014/06/14/leaflet-pan-zoom-image.html
// create the slippy map
var map = L.map('image-map', {
minZoom: 1,
maxZoom: 4,
center: [0, 0],
zoom: 1,
crs: L.CRS.Simple
using System.Collections;
ArrayList arrayList = new ArrayList();
arrayList.Add("Malzeme 1"); // Ekleme yapıyoruz
arrayList.Add("Malzeme iki");
arrayList.Add("Malzeme2");
arrayList.Add("Malzeme 2");
arrayList.Add("Malzeme 4");
arrayList.Add("Array List");
#include <windows.h>
#include <stdio.h>
#ifdef _WIN64
#define CAPTION "atomos - memory patcher for chimera #01 (64-bit)"
#define EXENAME "target64.exe" // change it to target "target32.exe" for Wow64 test.
#else
#define CAPTION "atomos - memory patcher for chimera #01 (32-bit)"
#define EXENAME "target32.exe"
#endif
#include <windows.h>
#include <stdio.h>
#ifdef _WIN64
#define CAPTION "atomos - memory patcher for chimera #01 (64-bit)"
#define EXENAME "target64.exe"
#else
#define CAPTION "atomos - memory patcher for chimera #01 (32-bit)"
#define EXENAME "target32.exe"
#endif
#include
#include "windows.h"
#include "stdlib.h"
using namespace std;
int main(int argc, char *argv[])
{
HANDLE prochandle; //a handle to the process we want to inject our dll into
HANDLE threadhandle; //this will be a handle to the remote thread we will create