Skip to content

Instantly share code, notes, and snippets.

View Vanethos's full-sized avatar
⚒️
WIP

Gonçalo Palma Vanethos

⚒️
WIP
View GitHub Profile
@auremoser
auremoser / README.md
Created May 28, 2015 08:08
Github Issue Template

This template is my ideal format for issues submitted to a github repository.

@miyoyo
miyoyo / main.go
Created June 29, 2018 20:33
Flutter doc explorer bot
package main
import (
"bytes"
"encoding/json"
"fmt"
"net/http"
"os"
"os/signal"
"regexp"
@proteye
proteye / rsa_pem.dart
Last active July 25, 2024 10:24
How to encode/decode RSA private/public keys to PEM format in Dart with asn1lib and pointycastle
import 'dart:convert';
import 'dart:math';
import 'dart:typed_data';
import "package:pointycastle/export.dart";
import "package:asn1lib/asn1lib.dart";
List<int> decodePEM(String pem) {
var startsWith = [
"-----BEGIN PUBLIC KEY-----",
"-----BEGIN PRIVATE KEY-----",