Skip to content

Instantly share code, notes, and snippets.

:octocat:

German Viscuso germanviscuso

:octocat:
  • Amazon
  • Madrid
Block or report user

Report or block germanviscuso

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View DB4O.cs
using Db4objects.Db4o;
using System.Linq;
using Db4objects.Db4o.Linq;
using System.Web;
using System.IO;
using System;
using System.Collections.Generic;
namespace NoSQL {
View Db4oSession.cs
using Db4objects.Db4o;
using Db4objects.Db4o.Linq;
using System.Collections.Generic;
using System.Configuration;
public class Db4oSession : IDisposable {
private IObjectContainer db;
public Db4oSession(IObjectContainer container) {
db = container;
View DB4OServer.cs
using Db4objects.Db4o;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Web;
public class DB4OServer {
IObjectServer _server;
public DB4OServer() {
View MongoSession.cs
using Norm;
using Norm.Responses;
using Norm.Collections;
using Norm.Linq;
public class MongoSession {
private Mongo _server;
MongoQueryProvider _provider;
public MongoSession() {
@germanviscuso
germanviscuso / NdefConverter.java
Created Jan 11, 2012
NFC utility classes for Android
View NdefConverter.java
package android.stickynotes;
import android.nfc.NdefRecord;
public interface NdefConverter {
public NdefRecord asNdef();
}
View ConsoleInGame.cs
using UnityEngine;
using System;
using System.Collections.Generic;
/// <summary>
/// A console that displays the contents of Unity's debug log.
/// </summary>
/// <remarks>
/// Developed by Matthew Miner (www.matthewminer.com)
/// Forked by Joseph Cassano (jplc.ca) from Console to ConsoleInGame so the console can work from other scripts.
@germanviscuso
germanviscuso / alljoyn_pi
Last active Jul 25, 2017
Compile AllJoyn on the Raspberry Pi
View alljoyn_pi
INDEX
-----
- BUILD IT YOURSELF
- BUILD THE AUDIO SERVICE
- BUILDING FOR ANDROID
- INSTALL WITHOUT BUILDING
BUILD IT YOURSELF
-----------------
@germanviscuso
germanviscuso / ledctrl.cc
Last active Aug 29, 2015
AllJoyn ledctrl.cc - Control the led of the remote device running thin client (AJ_LedService)
View ledctrl.cc
/* ledctrl - Control the led of the remote device.*/
/******************************************************************************
* Copyright (c) 2013, 2014, AllSeen Alliance. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
@germanviscuso
germanviscuso / alljoyn_kii_peer
Last active Jan 27, 2016
Chat example host and client for nodejs. Logs incoming messages on Kii Cloud.
View alljoyn_kii_peer
var alljoyn = require('alljoyn');
require("node-jquery-xhr");
kii = require("./KiiSDK").create();
// process command line arguments
if(process.argv.length != 7){
console.log("Usage: node peer.js [host|client] kiiappid kiiappkey username password");
console.log("Create an app at developer.kii.com (US based) to get the app id and key");
console.log("Username and password will be created if they are not registered on Kii Cloud");
process.exit(1);
@germanviscuso
germanviscuso / rpi_boot_fix
Last active Aug 29, 2015
Fix for RPi: "Volume was not properly unmounted. Some data may be corrupt. Please run fsck."
View rpi_boot_fix
# dmesg | grep corrupt
[ 21.280705] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
# umount /boot
# git clone http://daniel-baumann.ch/git/software/dosfstools.git
# cd dosfstools
# make
cc -O2 -fomit-frame-pointer -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wno-sign-compare -Wno-missing-field-initializers -Wmissing-prototypes -Wstrict-prototypes -g -c -o fatlabel.o src/fatlabel.c
.
You can’t perform that action at this time.