#List of countries
It's time someone compiled a list of countries to use within a web application. This gist attempts to make a first move at that.
I've also compiled a list of nationalities
#List of countries
It's time someone compiled a list of countries to use within a web application. This gist attempts to make a first move at that.
I've also compiled a list of nationalities
import java.io.*; | |
import java.util.*; | |
/** | |
* https://class.coursera.org/algo/quiz/attempt?quiz_id=52 | |
*/ | |
public class MinCut { | |
private static class Graph { | |
// -------------------------------------------------- | |
// Flexbox SASS mixins | |
// The spec: http://www.w3.org/TR/css3-flexbox | |
// -------------------------------------------------- | |
// Flexbox display | |
@mixin flexbox() { | |
display: -webkit-box; | |
display: -moz-box; | |
display: -ms-flexbox; |
Roslyn helps opening up the black boxes and allowing tools and end users to share in the wealth of information compilers have about | |
our code. | |
Instead of being opaque source-code-in and object-code-out translators, through Roslyn, compilers become platforms—APIs that you | |
can use for code related tasks in your tools and applications. | |
It creates many opportunities for innovation in areas such as meta-programming, code generation and transformation, interactive | |
use of the C# and VB languages, and embedding of C# and VB in domain specific languages. | |
------------------------------------------------------------------------------------------------------------- |
(C) 2015 by Derek Hunziker, (C) 2017 by AppsOn
As of releasing MongoDB 3.4 and C# Driver v2.4, original cheatsheet by Derek is outdated. In addition, it has some deficiencies like connecting to MongoDB, creating indexes, etc. This updated version works fine with C# Driver v2.4.7 and MongoDB v3.4.
Note: Defined models and collections will be used in entire cheatsheet.
# !/bin/bash | |
# Remove all files in these directories. | |
rm -rf ~/.helm/cache/archive/* | |
rm -rf ~/.helm/repository/cache/* | |
# Refreash repository configurations | |
helm repo update | |
#That's all. | |
#If you "helm search" next time, you can find newest stable charts in repository. |
# Basically the nginx configuration I use at konklone.com. | |
# I check it using https://www.ssllabs.com/ssltest/analyze.html?d=konklone.com | |
# | |
# To provide feedback, please tweet at @konklone or email eric@konklone.com. | |
# Comments on gists don't notify the author. | |
# | |
# Thanks to WubTheCaptain (https://wubthecaptain.eu) for his help and ciphersuites. | |
# Thanks to Ilya Grigorik (https://www.igvita.com) for constant inspiration. | |
server { |
using System; | |
using MongoDB.Bson; | |
using MongoDB.Driver; | |
namespace MongoDBCRUDExample | |
{ | |
class Program | |
{ | |
static void Main(string[] args) |