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
View tscard-esample.ts
// example for typescript library TsCard
import { TsCard } from './index';
import Reader, { ApduResponse } from './reader';
import SmartCard from './cards/smartcard';
import { Sle } from './cards/memorycard';
import Utilities from './utilities';
class Example {
static async eventTest(){
lewixlabs /
Created Aug 30, 2019 — forked from pcgeek86/
Install Go Lang 1.11.1 on Raspberry Pi 3 B+
cd $HOME
sudo tar -C /usr/local -xvf $FileName
cat >> ~/.bashrc << 'EOF'
export GOPATH=$HOME/go
export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin
source ~/.bashrc
lewixlabs / Dockerfile
Last active Aug 9, 2019
Dockerfile to build a Kali Linux 2019.3 image ready with top 10 tools
View Dockerfile
FROM kalilinux/kali-linux-docker
RUN apt update
RUN apt upgrade -y
RUN apt install kali-linux-top10 -y
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<YOUR ACCOUNT>/<YOUR REPOS>.git
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
public class CustomOAuth2Authenticator : OAuth2Authenticator
You can’t perform that action at this time.