Skip to content

Instantly share code, notes, and snippets.

View ngbaanh's full-sized avatar

Bá Anh Nguyễn ngbaanh

View GitHub Profile
@ngbaanh
ngbaanh / PlistConverter.swift
Created April 25, 2019 03:37
Swift Wrapper for Property List Converter: Binary Plist (bplist 1.0) <==> XML Plist (xml 1.0)
//
// PlistConverter.swift
//
// Copyright (C) 2019 Bá-Anh Nguyễn <baanh.nguyen@outlook.com>
// This software is provided 'as-is', without any express or implied warranty.
//
// In no event will the authors be held liable for any damages arising from the use of this software.
//
// Permission is granted to anyone to use this software for any purpose,including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
//
/// Runs once, you setup arduino pin and initial setup here
void setup() {
}
/// Main method, it will be called again when eveything inside is done
void loop() {
}
@ngbaanh
ngbaanh / Permutation_Generator.cpp
Last active March 30, 2017 10:19
C/C++ Sample Codes
/** Permutation Generator
-- (c) Ba-Anh Nguyen @ Danang University of Technology
-- email: baanh.nguyen@outlook.com
-- https://ngbaanh.github.io
*/
#include <iostream>
#include <algorithm>
using namespace std;