Skip to content

Instantly share code, notes, and snippets.

Oğuzhan Yiğit sirmordred

Block or report user

Report or block sirmordred

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
private boolean checkPermission() {
return ContextCompat.checkSelfPermission(MainActivity.this,
android.Manifest.permission.WRITE_EXTERNAL_STORAGE) == PackageManager.
private void requestPermission() {
if (ActivityCompat.shouldShowRequestPermissionRationale(MainActivity.this,
android.Manifest.permission.WRITE_EXTERNAL_STORAGE)) {
Toast.makeText(MainActivity.this, "Write External Storage permission allows us to " +
from scipy.spatial import distance as dist
from import VideoStream
from imutils import face_utils
import imutils
import dlib
import cv2
import tkinter as Tkinter
import threading
btnArr = []
import java.util.ArrayList;
import java.util.Random;
public class Main {
public static void main(String[] args) {
ArrayList<Integer> exArr = generateSortedIntArr(10000);
ArrayList<Integer> exArrTemp = new ArrayList<>(exArr);
sirmordred / build_cross_gcc
Created May 5, 2016 — forked from preshing/build_cross_gcc
A shell script to download packages for, configure, build and install a GCC cross-compiler.
View build_cross_gcc
#! /bin/bash
set -e
trap 'previous_command=$this_command; this_command=$BASH_COMMAND' DEBUG
trap 'echo FAILED COMMAND: $previous_command' EXIT
# This script will download packages for, configure, build and install a GCC cross-compiler.
# Customize the variables (INSTALL_PATH, TARGET, etc.) to your liking before running.
# If you get an error and need to resume the script from some point in the middle,
# just delete/comment the preceding lines before running it again.
You can’t perform that action at this time.