Skip to content

Instantly share code, notes, and snippets.

View ayyucedemirbas's full-sized avatar
😎
Feelin' Awesome

Ayyuce Demirbas ayyucedemirbas

😎
Feelin' Awesome
View GitHub Profile
import java.applet.*;
import java.awt.*;
public class cos extends Applet{
// author @ayyuce
// This program draws cos line
public void paint(Graphics g){
g.setColor(Color.BLUE);
g.drawLine(50, 300, 750, 300);
g.drawLine(400, 50, 400, 550);
g.drawLine(750, 300, 725, 325);
import java.io.*;
import java.util.*;
public class java_notu {
public static void main(String[] args) throws FileNotFoundException{
File f= new File("/home/ayyuce/Desktop/java.txt");
Scanner sc= new Scanner(f);
String substr="", tmp="", str="";
int[] arr= new int[3];
int max= 0;
import java.io.*;
import java.util.*;
public class java_notu {
public static void main(String[] args) throws FileNotFoundException{
File f= new File("/home/ayyuce/Desktop/java.txt");
Scanner sc= new Scanner(f);
String substr="", tmp="", str="";
int[] arr= new int[3];
int max= arr[0];
int i, index;
import cv2
import numpy as np
# Create a VideoCapture object and read from input file
# If the input is the camera, pass 0 instead of the video file name
cap = cv2.VideoCapture('video.mp4')
# Check if camera opened successfully
if (cap.isOpened()== False):
print("Error opening video stream or file")
@ayyucedemirbas
ayyucedemirbas / count_people.py
Created November 12, 2017 08:16
People counter
import argparse
import datetime
import imutils
import math
import cv2
import numpy as np
width = 800
textIn = 0
@ayyucedemirbas
ayyucedemirbas / count.py
Created November 12, 2017 07:58
People counter
##Federico Mejia
import numpy as np
import cv2
import Person
import time
#Contadores de entrada y salida
cnt_up = 0
cnt_down = 0
package sirala;
import java.util.*;
public class Sirala {
public static void main (String[] args) {
//int bir = 'k', iki= 'j', uc = 'q';
Scanner enter= new Scanner(System.in);
int x = enter.nextInt();
int y = enter.nextInt();
int z = enter.nextInt();
@ayyucedemirbas
ayyucedemirbas / error.md
Last active June 28, 2017 13:09
ESP8266 Code Upload Error

Arduino: 1.8.3 (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, 40MHz, DIO, 115200, 512K (64K SPIFFS), ck, Disabled, None"

Archiving built core (caching) in: C:\Users\ay-_-\AppData\Local\Temp\arduino_cache_506492\core\core_esp8266_esp8266_generic_CpuFrequency_80,FlashFreq_40,FlashMode_dio,UploadSpeed_115200,FlashSize_512K64,ResetMethod_ck,Debug_Disabled,DebugLevel_None_____dbad9b36d2bf0921e414ce287b690f59.a

Sketch uses 222201 bytes (51%) of program storage space. Maximum is 434160 bytes.

Global variables use 31576 bytes (38%) of dynamic memory, leaving 50344 bytes for local variables. Maximum is 81920 bytes.

error: failed reading byte

Keybase proof

I hereby claim:

  • I am ayyucedemirbas on github.
  • I am ayyucedemirbas (https://keybase.io/ayyucedemirbas) on keybase.
  • I have a public key ASBCA722LZTwJNGhax-kPC4NQt0rvZko0mhx6cZkHTBaNAo

To claim this, I am signing this object:

USPACE_PREFIX = ../..
BINARY = hello
SOURCES = \
hello.c
include $(USPACE_PREFIX)/Makefile.common