Skip to content

Instantly share code, notes, and snippets.

View yasincidem's full-sized avatar
🦜

Yasin Çidem yasincidem

🦜
View GitHub Profile
#include <pthread.h>
#include <semaphore.h>
#include <stdio.h>
#include <stdlib.h>
#define NO_OF_THREADS 10
struct Singleton {
char *Data;
};
#include <pthread.h>
#include <semaphore.h>
#include <stdio.h>
#include <stdlib.h>
#define NO_OF_THREADS 10
struct Singleton {
char *Data;
};
@yasincidem
yasincidem / Resume.pdf
Last active March 4, 2025 07:21
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="HW2.PeoplePage"
NavigationPage.HasBackButton="True"
NavigationPage.HasNavigationBar="False">
<ListView x:Name="PersonView" HasUnevenRows="True" >
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
fun Context.vibrate() {
val vibrator: Vibrator = try {
getSystemService(Context.VIBRATOR_SERVICE) as Vibrator
} catch (exception: ClassNotFoundException) {
exception.recordException()
null
} ?: return
when {
VERSION.SDK_INT >= VERSION_CODES.Q -> {