Skip to content

Instantly share code, notes, and snippets.

View akcansoft's full-sized avatar

Mesut Akcan akcansoft

View GitHub Profile
@akcansoft
akcansoft / RowsToFiles.bas
Created November 24, 2019 20:30
Divide rows in excel sheet and transfer to files. Ecel VBA Macro
Sub RowsToFiles()
'Divide rows in excel sheet and transfer to files
'Excel VBA Macro: Mesut Akcan
'www.akcanSoft.com
'24/11/2019
Dim nRows As Long
Dim fileNumber As Integer, n As Integer
Dim folderName As String, sRows As String, fileName As String
Dim newFile As Workbook
@akcansoft
akcansoft / internet toggle on-off.bat
Created December 26, 2019 12:11
internet bağlantısını kapat/aç
@echo Yonetici olarak calistirin
@netsh interface show interface | find "Connected" > nul
@if errorlevel 1 goto #
netsh interface set interface "Ethernet" disabled
@echo ==================
@echo Baglanti kapatildi
@echo ==================
goto end
:#
netsh interface set interface "Ethernet" enabled
@akcansoft
akcansoft / tempsil.bat
Last active November 18, 2023 12:12
Geçici olarak kullanılan klasörlerin temizlenmesi
@echo off
color 0a
REM Geçici olarak kullanılan klasörlerin temizlenmesi
REM Mesut Akcan
rem Blog sayfam : https://mesutakcan.blogSpot.com
rem Youtube Kanalım : https://www.youtube.com/mesutakcan
rem WhatsApp kanalım: https://www.whatsapp.com/channel/0029Va5h4cQ0LKZLuB9Dpy23
rem Telegram kanalım: https://t.me/mesutakcan
@akcansoft
akcansoft / turk_bayragi.lsp
Last active June 9, 2021 18:57
Türk Bayrağı Çizen AutoLisp
; Türk Bayrağı Çizen AutoLisp
; KOMUT: TC
; AutoCAD'e yüklemek için APPLOAD komutunu kullanın ve bu dosyayı seçin
; AutCAD komut satirinda TC komutu ile Türk Bayrağı çizilir.
; Kaynak: https://cizimokulu.com/forums.php?m=posts&p=57502#57502
; Kodlama: M. Şahin Güvercin
; 18.05.2010
(defun c:TC (/ n o x y)
@akcansoft
akcansoft / ConsoleAnimation-1.cpp
Created May 19, 2020 19:57
C++ Dilinde Animasyon ve Oyun Geliştirme 1. ( Console Uygulamaları İçin)
#include <iostream>
#include <Windows.h>
// 19/5/2020
// C++ Dilinde Animasyon ve Oyun Geliştirme 1. ( Console Uygulamaları İçin)
// Video: https://www.youtube.com/watch?v=6cfKyV0mjys
using namespace std;
const int genislik = 80;
const int yukseklik = 20;
@akcansoft
akcansoft / ConsoleAnimation-2.cpp
Created May 19, 2020 20:09
C++ Dilinde Animasyon ve Oyun Geliştirme 2. ( Console Uygulamaları İçin)
#include <iostream>
#include <Windows.h>
// 19/5/2020
// C++ Dilinde Animasyon ve Oyun Geliştirme 2. ( Console Uygulamaları İçin)
// Video: https://www.youtube.com/watch?v=6ondDUDhv6w
using namespace std;
const int genislik = 80;
const int yukseklik = 20;
@akcansoft
akcansoft / ConsoleAnimation-3_YilanOyunu.cpp
Last active February 2, 2022 23:35
C++ Dilinde Animasyon ve Oyun Geliştirme 3. ( Console Uygulamaları İçin) Yılan Oyunu
#include <iostream>
#include <Windows.h>
// 20/5/2020
// C++ Dilinde Animasyon ve Oyun Geliştirme 4. ( Console Uygulamaları İçin)
// Videolar ve kod: Kayhan Ayar
// https://www.youtube.com/playlist?list=PLIM5iw4GHbNU2gOPQ4pcqkHZuyQdRazc9
// Yılan oyunu
// Yılan kontrolü için klavyeden yön tuşlarını ve A tuşunu kullanın
@akcansoft
akcansoft / YilanOyunu.c
Created May 20, 2020 16:52
C ile Yılan oyunu yapımı
#include <stdio.h>
#include <conio.h>
#include <windows.h>
#include <time.h>
#include <stdlib.h>
// C ile Yılan oyunu yapımı
// 20/05/2020
// Video: Alperen Dönmez
// https://youtu.be/bD_-_fbj7gU
@akcansoft
akcansoft / NIBBLES.BAS
Created May 21, 2020 22:30
Quick Basic Snake Game (Yılan Oyunu)
'
' Q B a s i c N i b b l e s
'
' Copyright (C) Microsoft Corporation 1990
'
' Nibbles is a game for one or two players. Navigate your snakes
' around the game board trying to eat up numbers while avoiding
' running into walls or other snakes. The more numbers you eat up,
' the more points you gain and the longer your snake becomes.
'
@akcansoft
akcansoft / SayiThmn.bas
Created May 28, 2020 15:32
SAYI TAHMİN OYUNU. QuickBasic
' **** SAYI TAHMİN OYUNU ****
' **** QuickBasic v4.5 ****
' Mesut Akcan
' 28/05/2020
' www.akcanSoft.com
'
DECLARE SUB tekrar ()
DECLARE SUB rastgeleSayi ()
DEFINT A-Z