Skip to content

Instantly share code, notes, and snippets.

View bojanrajkovic's full-sized avatar

Bojan Rajkovic bojanrajkovic

View GitHub Profile
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=80%, initial-scale=1, shrink-to-fit=yes">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css"
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=80%, initial-scale=1, shrink-to-fit=yes">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css"
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=80%, initial-scale=1, shrink-to-fit=yes">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css"
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
@bojanrajkovic
bojanrajkovic / sounds.workbook
Created February 20, 2018 03:41
A workbook on generating sound
uti platforms
com.xamarin.workbook
Console

Generating sounds in C#

Sound is all around us—very few of us ever spend time in a totally quiet room. Similarly few of us ever consider what sounds are made up of. In this workbook, we’ll explore generating some simple tones, including a few different kinds of sound waves: square waves, sine waves, and triangle waves.

@bojanrajkovic
bojanrajkovic / chickencodec.cs
Created February 20, 2018 03:25
Chicken codec
using System;
using System.Text;
namespace CodeRinseRepeat.Chicken
{
public class ChickenCodec
{
static readonly Char [] FeedStock = { 'C', 'H', 'I', 'C', 'K', 'E', 'N', '.' };
public static Lazy<byte []> ChickenFeed = new Lazy<byte []> (SpreadFeed);
@bojanrajkovic
bojanrajkovic / cpbitmap.cs
Created February 20, 2018 03:22
CPBitmap Reader
using System;
using System.IO;
using System.Threading.Tasks;
namespace CodeRinseRepeat.CPBitmapReader
{
public sealed class CPBitmap
{
public int Width { get; set; }
public int Height { get; set; }
uti id title platforms
com.xamarin.workbook
3a1d5215-9db7-48dd-8f1d-4bab8dcd4f83
Curry
Console
Type CurryGeneric(Type genericType, params Type[] bound)
Microsoft (R) Build Engine version 15.2.0.0 (xplat-2017-02/1dd007b Sat Apr 29 11:14:11 EDT 2017)
Copyright (C) Microsoft Corporation. All rights reserved.
/Library/Frameworks/Mono.framework/Versions/5.0.0/lib/mono/msbuild/15.0/bin/MSBuild.dll /p:Configuration=Debug /v:Diag Xamarin.Interactive.Tests.Mac.csproj
Build started 5/4/2017 12:07:36 PM.
Environment at start of build:
VISUAL = nano
BROWSER = open
LESS_TERMCAP_mb = 
_ = /Library/Frameworks/Mono.framework/Versions/Current/Commands/msbuild