Skip to content

Instantly share code, notes, and snippets.

View SirmaXX's full-sized avatar
🏠
Working from home

Deniz Balcı SirmaXX

🏠
Working from home
View GitHub Profile
@SirmaXX
SirmaXX / multip.js
Last active February 9, 2021 07:22
multiplication and counting table with react.js
import React from "react";
function NumberTable() {
const row = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
const col = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10,11];
return (
<div>
@SirmaXX
SirmaXX / nodejs.sh
Last active January 6, 2022 00:34
remove all components of nodejs and node.js and installation
#author:SirmaXX
#date :20/02/2020
#removing
sudo apt-get upgrade
sudo apt-get update
sudo npm uninstall npm -g
cd /usr/local/bin
sudo rm -rf /usr/local/bin/npm
@SirmaXX
SirmaXX / index.html
Created February 17, 2021 20:26
form
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" type="text/css" href="style.css" media="screen"/>
</head>
@SirmaXX
SirmaXX / kod.R
Created April 14, 2021 23:35
3.ödevin kaynak kodları
library(skedastic)
library(lmtest)
library(tseries)
library(SciViews)
set.seed(1000)
N <-100
X<-rgamma(N,shape=10)
sigma2 = N^4
@SirmaXX
SirmaXX / odev6.R
Last active August 19, 2021 11:19
ödev6 nın kodları
#gerekli kütüphaneler
library(skedastic)
library(lmtest)
library(SciViews)
library(MASS)
#rastgelelik için gerekli sınır
set.seed(1000)
#veriseti ve modelin hazırlanması
N <-100
X<-rgamma(N,shape=10)
#include <stdio.h>
#include <Python.h>
int addition (int a, int b) {
return a+b;
}
@SirmaXX
SirmaXX / index.html
Last active February 20, 2022 00:42
bahattin benchmark
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<script src="work.js"></script>
</head>
@SirmaXX
SirmaXX / network.sh
Last active July 7, 2021 23:20
shellfornetwork
#!/bin/bash
#author :Deniz Balcı
echo "network sorun tespit aracı"
echo "hostname"
hostname
echo "bağlantılar"
ip a
echo "bağlantılar-2"
ifconfig
echo "bağlantılar-3"
@SirmaXX
SirmaXX / api.py
Created September 12, 2021 21:17
deneme
number = (1,2,3,4,5,6,7,8,9,10)
def odd(number):
if number % 2==0:
return True
else :
return False
errorcount=1
domaincount=1
@SirmaXX
SirmaXX / addcommerce.py
Last active September 21, 2021 04:09
commerce database example
from peewee import *
db = SqliteDatabase('e_commerce.db')
# Basemodel dediğimiz şey şu en temel model olarak yazıyoruz.
class BaseModel(Model):
class Meta:
database = db
class Categories(BaseModel):