Skip to content

Instantly share code, notes, and snippets.

View armandgrillet's full-sized avatar

Armand Grillet armandgrillet

View GitHub Profile

Experimental Generation of Interpersonal Closeness

Instructions to Subjects Included With Task Slips Packet

This is a study of interpersonal closeness, and your task, which we think will be quite enjoyable, is simply to get close to your partner. We believe that the best way for you to get close to your partner is for you to share with them and for them to share with you. Of course, when we advise you about getting close to your partner, we are giving advice regarding your behavior in this demonstration only, we are not advising you about your behavior outside of this demonstration.

In order to help you get close we've arranged for the two of you to engage in a kind of sharing game. You're sharing time will be for about one hour, after which time we ask you to fill out a questionnaire concerning your experience of getting close to your partner.

You have been given three sets of slips. Each slip has a question or a task written on it. As soon as you both finish reading these instructions, you should

@satoshihirose
satoshihirose / breeze-viz-example.scala
Created November 16, 2014 02:56
breeze-viz-example
object Main {
def main(args: Array[String]) = {
import breeze.linalg._
import breeze.plot._
import breeze.numerics._
val f = Figure()
val p = f.subplot(0)
val x = linspace(-10.0,10.0)
@nathanborror
nathanborror / ViewController.swift
Last active August 29, 2015 14:05
Programatic example of UISearchDisplayController
//
// ViewController.swift
// Example
//
// Created by Nathan Borror on 8/28/14.
// Copyright (c) 2014 Nathan Borror. All rights reserved.
//
import UIKit
import Foundation
extension String
{
var length: Int {
get {
return countElements(self)
}
}
@jorilallo
jorilallo / Github's usage of the showdown.js in example
Created October 13, 2011 01:16
Showdown.js with GitHub Flavored Markdown
$(function() {
var converter = new Showdown.converter();
$("#user_input").keyup(function(){
var txt = $("#user_input").val();
var html = converter.makeHtml(txt);
$("#result").html(html)
$("#html_result").val(html.replace(/>/g, ">\n").replace(/</g, "\n<").replace(/\n{2,}/g, "\n\n"));
});
var sample = "#### Underscores\nthis should have _emphasis_\nthis_should_not\n_nor_should_this\n\n\