Skip to content

Instantly share code, notes, and snippets.

View lemberh's full-sized avatar

Roman Nazarevych lemberh

  • Lviv
View GitHub Profile
@tegansnyder
tegansnyder / disable mcafee endpoint protection.md
Last active December 26, 2023 03:18
Disable McAffee Endpoint Protection OSX

method 1

sudo /usr/local/McAfee/AntiMalware/VSControl stopoas

alternatively

sudo defaults write /Library/Preferences/com.mcafee.ssm.antimalware.plist OAS_Enable -bool False
sudo /usr/local/McAfee/AntiMalware/VSControl stop
sudo /usr/local/McAfee/AntiMalware/VSControl reload
@fazlurr
fazlurr / BorderedCircleTransform.java
Last active February 18, 2021 22:29 — forked from berkkaraoglu/BorderedCircleTransform.java
Extend the Picasso transformation class to create bordered circle image with Picasso
import android.graphics.Bitmap;
import android.graphics.BitmapShader;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import com.squareup.picasso.Transformation;
public class CircleTransform implements Transformation {
private final int BORDER_COLOR = Color.WHITE;