Skip to content

Instantly share code, notes, and snippets.

View hasantezcan's full-sized avatar
🕺
Dancing

Hasan Tezcan hasantezcan

🕺
Dancing
View GitHub Profile
@hasantezcan
hasantezcan / .zshrc
Last active March 3, 2021 01:04
git repo alias - access repo link directly from command prompt
alias git-repo="git config --get remote.origin.url | sed -e 's/:/\//g'| sed -e 's/ssh\/\/\///g'| sed -e 's/git@/https:\/\//g'"
alias git-pr="git config --get remote.origin.url | sed -e 's/:/\//g'| sed -e 's/ssh\/\/\///g'| sed -e 's/git@/https:\/\//g' | sed 's/....$//' | sed -ne 's/$/\/pulls &/p'"
# https://stackoverflow.com/a/63907839/10694425
# https://stackoverflow.com/a/66395349/10694425
@hasantezcan
hasantezcan / zsh.md
Last active January 22, 2021 20:41 — forked from tsabat/zsh.md
Getting oh-my-zsh to work in Ubuntu
@hasantezcan
hasantezcan / gist:f67c7d71a2578295364a63f90415fa89
Last active January 22, 2018 21:55
Hasan tezcan //Verilen bir kelimenin palindrome olup olmadigini kontrol eden kod **calısmadı
//Verilen bir kelimenin palindrome olup olmadigini kontrol eden kod
#include <stdio.h>
#include <string.h>
main(){
char kelime[100],ayna[100];
printf("Bir kelime giriniz.. =");
@hasantezcan
hasantezcan / gist:ad4f9cafee6dacfa863b4319536654d0
Created January 22, 2018 21:07
Hasan TEZCAN "Fibonaccinin 100. iterasyonunu" sorusunun cevabı
// fibonaci dizisinin ilk 100 elemani...
#include<stdio.h>
main(){
int F[99];
F[0]=1;
F[1]=1;