Skip to content

Instantly share code, notes, and snippets.

🎮
8 bits are back!

lewix lewixlabs

🎮
8 bits are back!
Block or report user

Report or block lewixlabs

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@lewixlabs
lewixlabs / Dockerfile
Last active Aug 9, 2019
Dockerfile to build a Kali Linux 2019.3 image ready with top 10 tools
View Dockerfile
# https://hub.docker.com/r/lewixlabs/kalitop10
FROM kalilinux/kali-linux-docker
RUN apt update
RUN apt upgrade -y
RUN apt install kali-linux-top10 -y
@lewixlabs
lewixlabs / git-clearHistory
Created Jul 23, 2019 — forked from stephenhardy/git-clearHistory
Steps to clear out the history of a git/github repository
View git-clearHistory
-- Remove the history from
rm -rf .git
-- recreate the repos from the current content only
git init
git add .
git commit -m "Initial commit"
-- push to the github remote repos ensuring you overwrite history
git remote add origin git@github.com:<YOUR ACCOUNT>/<YOUR REPOS>.git
@lewixlabs
lewixlabs / OAuth2Custom.cs
Last active Nov 19, 2018
Xamarin OAuth2 Custom Class to get & use refresh_token
View OAuth2Custom.cs
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Xamarin.Auth;
namespace MyNetStandardLibrary.OAuth2
{
// inspired by https://lostechies.com/jimmybogard/2014/11/13/mobile-authentication-with-xamarin-auth-and-refresh-tokens/
public class CustomOAuth2Authenticator : OAuth2Authenticator
{
You can’t perform that action at this time.