Skip to content

Instantly share code, notes, and snippets.

View trinnguyen's full-sized avatar

Tri Nguyen trinnguyen

View GitHub Profile
@trinnguyen
trinnguyen / gist:b37daa22bef2b3293fcbe08b0d4b22c6
Created April 6, 2019 10:00
Commands sequence to fix Foxit Reader in Fedora 29
cd ~/opt/foxitsoftware/foxitreader
rm lib/libssl.so.10
rm lib/libcrypto.so.10
ln -s /lib64/libssl.so.10 lib/libssl.so.10
ln -s /lib64/libcrypto.so.10 lib/libcrypto.so.10
@trinnguyen
trinnguyen / ObservableTableViewController.cs
Created April 19, 2016 08:34 — forked from praeclarum/ObservableTableViewController.cs
This is my UITableViewController with DataSource property that listens for INotifyCollectionChanged
using System;
using System.Collections;
using System.Collections.Specialized;
using System.Diagnostics;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
namespace Praeclarum.UI
{
@trinnguyen
trinnguyen / report-asp.net-vs-node.js-for-backend-comparison.md
Created March 18, 2016 07:37 — forked from ilyaigpetrov/report-asp.net-vs-node.js-for-backend-comparison.md
Report: Comparison of ASP.NET MVC and Node.js for Backend Programming

Comparison of ASP.NET MVC and Node.js for Backend Programming

We will compare ASP.NET and Node.js for backend programming.
Source codes from examples.

Updates

This document was published on 21.09.2015 for a freelance employer. Some changes since then (14.02.2016):

  1. Koa.js no longer uses co-routines, it has switched to Babel's async/await.
@trinnguyen
trinnguyen / EasyLayout.cs
Last active February 29, 2016 19:48 — forked from praeclarum/EasyLayout.cs
EasyLayout makes writing auto layout code in Xamarin.iOS easier. See [the example](https://gist.github.com/praeclarum/8185036) for hints on how to use this library. #Fixed crash on using static value instead of variable
//
// Copyright (c) 2013-2015 Frank A. Krueger
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//