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 / gist:91995b97c4a14bb4f0c1162a83241e9c
Created September 16, 2018 23:59
php7+ pdo multiupload with mysql order form example
ı inspired this solution from https://daveismyname.blog/upload-multiple-files-with-a-single-input-with-html-5-and-php
main solution in this link,if you use bootstrap 4 you can see html elements
Bu sorunun temel çözümü yukarıdaki linktedir
bootstrap kullanarak html elementleri görebilirsiniz
<?php
güvenlik için bir fonksiyon/security function
@SirmaXX
SirmaXX / gist:dcdd6243fb75aea0d0e6a8cb5c53b883
Last active February 16, 2019 17:52
c language multiple read files
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(int argc, char *argv[])
{
int i;
FILE *fp;
char str[60];
int k;
@SirmaXX
SirmaXX / gist:eecbbd69f35fcc222285273c46cdb97f
Last active February 15, 2019 00:50
snapshots of the TR economy
GDP growth:GDP growth in 2017 7.42%(up from 3.18 in 2016)
Unemployment:11.5% in October 2018
Productivity:-%2.67 (down from %2.73 mar 2018)
Average Tr house price = 285.852 TL(endeksa )
TR trade balance:-8.99% in 2017(down from -6.50 in 2016)
İnflation rate :january 2019: 20.35 %
National debt :28.31% in gdp(2016)
Goverment Budget deficit:-20.758.467(-1.50 % of gdp)
resources
#include <stdio.h>
int main(int argc, char **argv)
{
int i,k=6,l;
for(i=2;i<=6;i=i+2){
k=6;
for(l=2;l<=4;l++){
@SirmaXX
SirmaXX / anotherhomework.c
Last active April 13, 2019 09:07
homework
#include<stdio.h>
int main(){
int sayi,yuzler,onlar,birler;
printf("lütfen 3 haneli sayı giriniz \t");
scanf("%d",&sayi);
if (sayi>999 && sayi <100)
{
@SirmaXX
SirmaXX / file.go
Created March 31, 2019 20:53
create and check file
package main
import (
"os"
"fmt"
)
func main() {
package main
//kullandığım kütüphaneler
import (
"fmt"
"io"
"net/http"
"os"
"strings"
)
@SirmaXX
SirmaXX / tets.c
Created April 8, 2019 07:16
solve sytnax problem
#include<stdio.h>
int main()
{
int ort;
char not;
printf("ortalama gir");
scanf("%f",&ort);
switch(not){
@SirmaXX
SirmaXX / First.elm
Created July 15, 2019 08:59
Elm for beginner /Acemiler için elm
import Browser
import Html
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (..)
-- MAIN
main: Html msg
@SirmaXX
SirmaXX / gist:28d4e0142f23d124a7f3e814e00d3a6e
Last active July 18, 2019 15:23
responsive elm tricky
import Browser
import Html exposing (map,text,Html,div,p,ul,button,input,h1,li,br,h3 )
import Html.Attributes exposing (value,type_ ,checked,class,style)
import Html.Events exposing (onClick,onInput)
import Element exposing (..)
import Element.Background as Background
import Element.Border as Border
import Element.Font as Font
import Element.Input as Input
import Element.Region as Region