Skip to content

Instantly share code, notes, and snippets.

View yash10019coder's full-sized avatar

Yash Verma yash10019coder

View GitHub Profile
@file:OptIn(ExperimentalMaterial3Api::class, ExperimentalFoundationApi::class)
package de.kuno.listsections
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.compose.animation.core.animateDpAsState
import androidx.compose.animation.core.animateRectAsState
import androidx.compose.foundation.ExperimentalFoundationApi
directories:
# Add the directories you want added as source here
# By default, we've added your entire workspace ('.')
.
# Automatically includes all relevant targets under the 'directories' above
#derive_targets_from_directories: true
targets:
# If source code isn't resolving, add additional targets that compile it here
@erikvip
erikvip / reset-display.md
Last active March 3, 2024 19:37
Reinstall default graphics driver on Ubuntu

Remove installed nvidia driver & reset to default graphics driver

On Ubuntu 15.10, after installing the nvidia proprietary driver, it didn't quite work as expected...going down to older version made it work, but graphics were slow. Run the below to reset back to the original graphics setup.

sudo apt-get purge nvidia-*
sudo apt-get install --reinstall xserver-xorg-video-intel libgl1-mesa-glx libgl1-mesa-dri xserver-xorg-core
sudo dpkg-reconfigure xserver-xorg

# May not have any alternatives configured (ok to skip)

sudo update-alternatives --remove gl_conf /usr/lib/nvidia-current/ld.so.conf