Skip to content

Instantly share code, notes, and snippets.

View ozgurgulsuna's full-sized avatar
💭
traveling at the speed of light

Ozgur Gulsuna ozgurgulsuna

💭
traveling at the speed of light
View GitHub Profile

Gh is a command-line tool that brings GitHub to your terminal. It runs on Linux, macOS, and Windows. With gh, you can do everyday GitHub tasks like managing repositories, pull requests, issues, and more without leaving the command line.

Work seamlessly with GitHub from the command line.

USAGE
  gh <command> <subcommand> [flags]

CORE COMMANDS
  auth:        Authenticate gh and git with GitHub
@ozgurgulsuna
ozgurgulsuna / bambulab-discover.ps1
Created August 22, 2024 16:36 — forked from fritzw/bambulab-discover.ps1
PowerShell script to make BambuStudio discover a specific printer by IP address, even if it is not on the same subnet (see BambuStudio Issue #702)
# Send the IP address of your BambuLab printer to port 2021/udp, which BambuStudio is listens on.
#
# Ensure your PC has firewall pot 2021/udp open. This is required as the proper response would usually go to the ephemeral source port that the M-SEARCH ssdp:discover message.
# But we are are blindly sending a response directly to the BambuStudio listening service port (2021/udp).
#
# Temporary solution to BambuStudio not allowing you to manually specify the Printer IP.
#
# Author(s): gashton <https://github.com/gashton>, Fritz webering <https://github.com/fritzw>
#
param (
div.mermaid {
text-align: center;
}
h6 {
text-align: right;
position: relative;
bottom: 43px;
padding: 0px;
border-bottom: 1px solid #888;

USB drive that boots up to a Linux environment to read papers, comment on them and think freely.

bspwm-ok-a-lil-bit-of-what-might-be-my-main-colorscheme-and-v0-wgkt4yor2asb1

features

  • light, nice looking environment
  • [[Pomodoro]] timer
  • Wi-Fi, Ethernet support

TI C2000 Launchpad Initialization
METU PowerLab 2022

TI C2000 MCU Initializaiton from Scratch

This document is prepeared to standartize our way of creating a new project on C2000 family microcontrollers. In acts as a guide to prepare for a new project on a TMS320F29379D Launchpad boards with a fresh install on windows. The software developement kit is specified as C2000Ware and its expansions such as MotorControl pack and DigitalPower pack with offline installation.

%%
clc
clear all
%%
a = imread('C:\Users\ozgur\Desktop\sxs.jpg');
imshow(a);
[RGBdata, map, alpha] = imread('C:\Users\ozgur\Desktop\sxs.jpg', 'jpg');
%% Filter out white
@ozgurgulsuna
ozgurgulsuna / CustomColorbar.m
Last active August 12, 2022 16:38
matlab, colorbar, colormap
%%
clc
clear ;
close all
%%
figure;
set(gcf,'Position',[0 0 1000 500]);
set(0,'defaulttextinterpreter','latex');
set(gca,'TickLabelInterpreter','latex') ;
%%
@ozgurgulsuna
ozgurgulsuna / markdown-magic.md
Last active August 5, 2022 10:53
Github flavored markdown and html snippets

Introduction
Ozgur Gulsuna

/////////////////////////////////////////////////////////
@ozgurgulsuna
ozgurgulsuna / Remote_Program_TM4C123G_from_Linux.md
Last active October 26, 2022 08:41
Texas Instruments, TM4C123G, LaunchPad, Linux, USB/IP, USB Redirection, RDP.

Remote Program TM4C123
Ozgur Gulsuna

Middle East Technical University 2022