Skip to content

Instantly share code, notes, and snippets.

Not an editor command: waaaaaaaa

Sinclair Target sinclairtarget

Not an editor command: waaaaaaaa
Block or report user

Report or block sinclairtarget

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
sinclairtarget / fish.sim
Last active Nov 16, 2019
Simula Demonstration
View fish.sim
Simulation Begin
! We will use this as input to Normal() below ;
Integer seed;
! Utility method for logging messages along with the current simulation
time ;
Procedure log(message); Text message; Begin
OutFix(Time, 2, 0);
OutText(": " & message);
sinclairtarget / 1-cat-pdp7.s
Last active Sep 20, 2019
cat through the ages
View 1-cat-pdp7.s
" cat
lac 017777 i " Load accumulator (AC) with argument count
sad d4 " Skip next if we have more than 4 words of args
jmp nofiles " Otherwise, jump to nofiles
lac 017777 " Load AC with address of args
tad d1 " Increment AC by 1, past argument count
tad d4 " Increment AC by 4, now AC points to first real arg
dac name " Save arg pointer from AC into 'name'
sinclairtarget / bernoulli.c
Created Aug 17, 2018
Lovelace's Note G Program in C
View bernoulli.c
#include <stdio.h>
* Calculates what Ada Lovelace labeled "B7", which today we would call the 8th
* Bernoulli number.
int main(int argc, char* argv[])
// ------------------------------------------------------------------------
// Data
View Program.cs
using System;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Reflection;
using System.Runtime.InteropServices;
namespace dotnet_console
class Program
sinclairtarget /
Last active Dec 1, 2017
BG API Request and Response

Client Lookup Endpoint

This endpoint takes a first name, last name, or nickname (or any combination of those) and returns a list of matching clients. You should use this endpoint to allow users of your app to search for a client.

Example 1

HTTP Request:

GET"John"&lastName="Doe"&nickname="Red Cat"
View BasicGradient.shader
Shader "Custom/BasicGradient"
_TopColor ("Top Color", Color) = (1, 1, 1, 1)
_BottomColor ("Bottom Color", Color) = (1, 1, 1, 1)
_RampTex ("Ramp Texture", 2D) = "white" {}
View tic_tac_toe.rb
require 'tic_tac_toe_cn'
game =
puts "Starting Tic Tac Toe"
# part 1
puts "Player 1, choose X or 0"
player_one = gets.chomp
sinclairtarget / hobbit.rb
Created Dec 5, 2015
Hobbit Game Code Now
View hobbit.rb
has_sword = false
has_ring = false
has_luck = false
puts "You have entered the dragon's lair!!!!"
puts "Do you have a sword? [yes/no]:"
answer = gets.chomp
if answer == "yes"
You can’t perform that action at this time.