Skip to content

Instantly share code, notes, and snippets.


German Viscuso germanviscuso

  • 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
Itslet / Sessionfactory.cs
Created Jan 9, 2011
Db4o Sessionfactory
View Sessionfactory.cs
using Db4objects.Db4o;
using System.Linq;
using Db4objects.Db4o.Linq;
using System.Web;
using System.IO;
using System;
using System.Collections.Generic;
namespace Web.Infrastructure {
klauswuestefeld / gist:1103582
Created Jul 25, 2011
PrevaylerJr - "To serve the persistence needs of 99% of information systems in the world using 23 semicolons."
View gist:1103582
public class PrevaylerJr {
public static interface Command extends Serializable {
Object executeOn(Object system);
kings13y / MinimalRestServer.scala
Created Aug 9, 2011
Sample Rest style service using just Scala and Java 6 annotations
View MinimalRestServer.scala
package output
import javax.xml.bind.{ Marshaller, JAXBContext }
import javax.xml.bind.annotation._
import javax.xml.bind.util.JAXBSource
import javax.xml.transform.Source
import{ Endpoint, Provider, ServiceMode, WebServiceContext, WebServiceProvider }
import javax.annotation.Resource
germanviscuso /
Created Jan 11, 2012
NFC utility classes for Android
package android.stickynotes;
import android.nfc.NdefRecord;
public interface NdefConverter {
public NdefRecord asNdef();
caniszczyk /
Created Oct 9, 2012
Clone all repos from a GitHub organization
curl -s | ruby -rubygems -e 'require "json"; JSON.load( { |repo| %x[git clone #{repo["ssh_url"]} ]}'
DanHerbert /
Last active Oct 16, 2019
Instructions on how to fix npm if you've installed Node through Homebrew on Mac OS X or Linuxbrew

Fixing npm On Mac OS X for Homebrew Users

Installing node through Homebrew can cause problems with npm for globally installed packages. To fix it quickly, use the solution below. An explanation is also included at the end of this document.


This solution fixes the error caused by trying to run npm update npm -g. Once you're finished, you also won't need to use sudo to install npm modules globally.

Before you start, make a note of any globally installed npm packages. These instructions will have you remove all of those packages. After you're finished you'll need to re-install them.

View CountQueryUnity.mkd
using UnityEngine;
using System.Collections;
using System.Net;
using System.IO;
using JsonOrg;

public class NewBehaviourScript : MonoBehaviour {

	private string message = "";
staltz /
Last active Oct 17, 2019
The introduction to Reactive Programming you've been missing
gabrielemariotti / AndroidManifest.xml
Last active Sep 28, 2017
Android Wear: Heart Rate and Samsung Gear Live. (basic example)
View AndroidManifest.xml
<!-- Declare the permission for body sensor -->
<uses-permission android:name="android.permission.BODY_SENSORS" />
krhoyt / parse.ino
Last active Mar 16, 2017
Arduino Yun to (Process, curl).
View parse.ino
// Original:
// Libraries
#include <Process.h>
// Literals
// #define DEBUG
// Constants
You can’t perform that action at this time.