git branch | grep -v "main" | xargs git branch -D
Category: Uncategorized
Android – Set the Background Color Notification Notification
private fun createTimerNotification(application: Application, body: String): Notification {
return NotificationCompat.Builder(application, FOREGROUND_TIMER_NOTIFICATION_CHANNEL_ID)
.setContentTitle("Title")
.setContentText(body)
.setColor(AccentPurple.toArgb())
.setColorized(true)
.setStyle(NotificationCompat.DecoratedCustomViewStyle())
.setPriority(NotificationCompat.PRIORITY_MIN)
.setWhen(0)
.setSmallIcon(R.drawable.ic_launcher_foreground)
.setOngoing(true)
.build()
}
Allow Console Logging with ESLint
/* eslint no-console: [“error”, { allow: [“warn”, “error”, “log”] }] */
Nuget File Locations
NuGet File Locations
NuGet Cache
Stores downloaded NuGet packages (.nupkg).
- %LocalAppData%\NuGet\Cache
- %UserProfile%\.nuget\packages
NuGet Configuration
The NuGet.Config file stores user defined NuGet package sources, credentials and proxy settings. The default location for this file is:
- %AppData%\NuGet\NuGet.Config
Machine Wide NuGet Configuration
Machine wide configurations are used to define NuGet package sources specific to a machine or a particular IDE, such as Visual Studio.
- %ProgramData%\NuGet\Config
Git disable ssl check.
You probably don’t want to do this, but if you really have to
git config http.sslVerify "false"