Skip to content

Instantly share code, notes, and snippets.

View onuralpszr's full-sized avatar
🎯
Focusing

Onuralp SEZER onuralpszr

🎯
Focusing
View GitHub Profile
@onuralpszr
onuralpszr / gh-graphql-roboflow.json
Created January 3, 2024 23:56
roboflow-stargazers number listing of all public repo - GraphQL query
query {
organization(login: "roboflow") {
repositories(first: 100, privacy: PUBLIC) {
nodes {
nameWithOwner
stargazerCount
}
pageInfo {
hasNextPage
endCursor
@onuralpszr
onuralpszr / openCV-portait-camera-android.java
Created October 24, 2022 10:28 — forked from heaversm/openCV-portait-camera-android.java
Renders openCV's camera in portrait mode on android - to be placed in `CameraBridgeViewBase.java`
private final Matrix mMatrix = new Matrix();
private void updateMatrix() {
float mw = this.getWidth();
float mh = this.getHeight();
float hw = this.getWidth() / 2.0f;
float hh = this.getHeight() / 2.0f;
float cw = (float)Resources.getSystem().getDisplayMetrics().widthPixels; //Make sure to import Resources package
@onuralpszr
onuralpszr / fetchKdePackageInfos.py
Last active August 10, 2022 11:18
Fetch KDE Package infos
import requests
import re
import asyncio
import aiohttp
from asgiref import sync
from kdePackageUrlList import FRAMEWORK_URL_LIST, GEAR_URL_LIST, PLASMA_URL_LIST
import csv
class FetchPackageVersions:
@onuralpszr
onuralpszr / main.kt
Created May 15, 2022 13:02
Kotlin practice codes
//////////////////////////////////////////////////////////////////////
fun main() {
println("Use the val keyword when the value doesn't change. ")
println("Use the var keyword when the value can change.")
println("When you define a function, you define the parameters that can be passed to it.")
println("When you call a function, you pass arguments for the parameters.")
println("New chat message from a friend")
val item = "Google Chromecast"

Keybase proof

I hereby claim:

  • I am thunderbirdtr on github.
  • I am thunderbirdtr (https://keybase.io/thunderbirdtr) on keybase.
  • I have a public key ASA4uHhIPOXkntMIj5PiQL3er7VfgVVrBimAI0hjxNTNVAo

To claim this, I am signing this object:

//rx_tx_master.ino
#include "SoftwareSerial.h"
int value;
int a;
void setup() {