Skip to content

Instantly share code, notes, and snippets.

View samsamm777's full-sized avatar

Sam Hudson samsamm777

View GitHub Profile
// BAD
searchResults: [
{name: 'New Noise',
artist: 'The Refused',
album: 'The Shape of Punk to Come'},
{name: 'Hands Down',
artist: 'Dashboard Confessional',
album: 'A Mark, a Mission, a Brand, a Scar'},
{name: 'name',
artist: 'artist',
import {TestBed} from '@angular/core/testing';
import {ArtworkService} from './artwork.service';
import * as path from 'path';
import {remote} from 'electron';
//import * as child from 'child_process';
import * as ChildProcess from 'child_process';
//import {spawn} from 'child_process';
import {shell} from 'electron';
//import * as et from 'electron';
import { ApplicationService, NotificationService, WorkspaceService } from '../../core';
import { Component, OnInit } from '@angular/core';
import { FlixBaseComponent } from '../base/flixbase.component';
import { remote } from 'electron';
@Component({
selector: 'flx-main',
templateUrl: './main.component.html',
styleUrls: ['./main.component.scss']
})
@samsamm777
samsamm777 / map.go
Last active September 26, 2017 16:02
package main
import (
"fmt"
"math/rand"
"strconv"
"time"
)
type Vector2D struct {
#!/bin/bash
echo "try to connect..."
ssh -R 8080:127.0.0.1:80 filth@danderson.ddns.net
tail -f /tmp/dummy_file
using UnityEngine;
using System.Collections;
public class Looky : MonoBehaviour
{
/**
* The target we will snap to.
*/
public Transform target;
Scenario: Ensure we can successfully create panel revisions and prove the panel
revision number increments properly.
Given I send a header-signed "POST" request to "/show/$showId/panel" with content type "application/json" with body:
"""
{
"title": "my show",
"description": "this is a test show"
}
"""
And the response code should be 201
using UnityEngine;
using System.Collections;
public class Looky : MonoBehaviour
{
/**
* The target for where we want to face
*/
public Transform target;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using FluffyUnderware.Curvy;
using FluffyUnderware.Curvy.Controllers;
[System.Serializable]
public class ConveyorObject
{
public GameObject obj;
using UnityEngine;
using System.Collections;
public class DeliverySheetPanel : MonoBehaviour {
public InventoryManager inventoryManager;
public GameObject listItemPrefab;
// Use this for initialization
void Start () {