Skip to content

Instantly share code, notes, and snippets.

View ayyucedemirbas's full-sized avatar
🌴
On vacation

Ayyuce Demirbas ayyucedemirbas

🌴
On vacation
View GitHub Profile
@ayyucedemirbas
ayyucedemirbas / CMakeError.log
Created November 5, 2016 14:22
Malmo Build Error
Determining if the pthread_create exist failed with the following output:
Change Dir: /home/ayyuce/Desktop/malmo/malmo/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/make "cmTryCompileExec3664518927/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec3664518927.dir/build.make CMakeFiles/cmTryCompileExec3664518927.dir/build
make[1]: Entering directory `/home/ayyuce/Desktop/malmo/malmo/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/ayyuce/Desktop/malmo/malmo/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec3664518927.dir/CheckSymbolExists.c.o
/usr/bin/cc -o CMakeFiles/cmTryCompileExec3664518927.dir/CheckSymbolExists.c.o -c /home/ayyuce/Desktop/malmo/malmo/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTryCompileExec3664518927
@ayyucedemirbas
ayyucedemirbas / CMakeOutput.log
Created November 5, 2016 14:24
Malmo Build Error
The system is: Linux - 3.16.0-38-generic - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /usr/bin/cc
Build flags:
Id flags:
The output was:
0

Keybase proof

I hereby claim:

  • I am ayyucedemirbas on github.
  • I am ayyucedemirbas (https://keybase.io/ayyucedemirbas) on keybase.
  • I have a public key whose fingerprint is 917B D0D3 1994 11AE 3863 AF8A B191 7AE0 C01C 52F7

To claim this, I am signing this object:

USPACE_PREFIX = ../..
BINARY = hello
SOURCES = \
hello.c
include $(USPACE_PREFIX)/Makefile.common
@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

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 / 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
@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
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")
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;