Skip to content

Instantly share code, notes, and snippets.

@boberetezeke
boberetezeke / gist:2651526c9924e199b6f52871e3ca1dea
Last active August 2, 2016 18:30
Failed Npgsql Entity Framework error.
This contains two things:
1. The exception I get
2. The relevant portion of my Web.config
=======
1. Exception info
System.InvalidOperationException
The Entity Framework provider type 'Npgsql.NpgsqlServices, Npgsql.EntityFramework' registered in the application config file for the ADO.NET provider with invariant name 'Npgsql' could not be loaded. Make sure that the assembly-qualified name is used and that the assembly is available to the running application. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.
using System;
using Npgsql;
namespace npgsql_test
{
class MainClass
{
public static void Main(string[] args)
{
Console.WriteLine("Hello World!");
mod simple_guessing_game;
use simple_guessing_game::SimpleGuessingGame;
use simple_guessing_game::GameOption;
fn main() {
let game = SimpleGuessingGame::new();
let ans = game.answer();
@boberetezeke
boberetezeke / gist:eb1f4379504193342ef6
Created September 4, 2014 18:42
Log output from /Users/stevetuckner/.rvm/src/ruby-1.9.3-p547/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/Users/stevetuckner/.rvm/rubies/ruby-1.9.3-p547 --with-gcc=clang --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libksba:/usr/local/opt/openssl --without-tcl --without-tk --disable-install-doc --enable-shared
## --------- ##
## Platform. ##
@boberetezeke
boberetezeke / A.java
Created June 10, 2014 17:36
Test of JRuby/Java reflection
public class A {
public void hello() {
System.out.println("hello from A");
}
}
### Keybase proof
I hereby claim:
* I am boberetezeke on github.
* I am boberetezeke (https://keybase.io/boberetezeke) on keybase.
* I have a public key whose fingerprint is 52DB 579C BE15 0BC8 2A8B 995B DA4D D1E2 5865 EFC5
To claim this, I am signing this object:
@boberetezeke
boberetezeke / Rake output
Created September 14, 2012 19:23
Simple Ruby Motion app delegate to show autoRotate not getting called
$ rake
Build ./build/iPhoneSimulator-5.1-Development
Compile ./app/app_delegate.rb
Link ./build/iPhoneSimulator-5.1-Development/motionRotateTest.app/motionRotateTest
Create ./build/iPhoneSimulator-5.1-Development/motionRotateTest.dSYM
Simulate ./build/iPhoneSimulator-5.1-Development/motionRotateTest.app
(main)> 2012-09-14 14:34:34.090 motionRotateTest[86196:11303] in viewWillAppear
(main)>