This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef struct circular_buffer | |
{ | |
void *buffer; // data buffer | |
void *buffer_end; // end of data buffer | |
size_t capacity; // maximum number of items in the buffer | |
size_t count; // number of items in the buffer | |
size_t sz; // size of each item in the buffer | |
void *head; // pointer to head | |
void *tail; // pointer to tail | |
} circular_buffer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.onload = function () { | |
// focus on the input field for easy access... | |
var input = document.getElementById ('focusme'); | |
input.focus (); | |
// ...but if someone wishes to go back in their history, let them! | |
document.onkeydown = function (e) { | |
if (!e) { | |
var e = window.event; | |
} | |
if (e.keyCode === 8 && !input.value) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Happy Birthday | |
'P 'P 'D 'P S 'N - 'P 'P 'D 'P R S - 'P'P P G S 'N 'D - mm G S R S | |
Happy Birthday (Alternative) | |
s s r~ s~ m~ g~~~~ | |
Happy birth day to you | |
s s r~ s~ p~ m~~~~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Easy - | |
S P DP DP GS g R SR SR SR SR S (x2) | |
GG R | |
M’ PD | |
D S n DPM GR S | |
Difficult - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
S G R S N | |
S g R S N | |
S S G S G M D PP G(k) R | |
G G M G R GG MDPM G(k) R | |
Source : https://www.youtube.com/watch?v=3YjRdMJ24v8 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am harshkn on github. | |
* I am harshkn (https://keybase.io/harshkn) on keybase. | |
* I have a public key ASCYRw0hBHl7qIaxWbKEoWrvVwFx3qEFLv9bLraH2Oxodgo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2 as cv2 | |
import numpy as np | |
fn = '200px-Traffic_lights_dark_red-yellow.svg.png' | |
# OpenCV reads image with BGR format | |
img = cv2.imread(fn) | |
# Convert to HSV format | |
img_hsv = cv2.cvtColor(img, cv2.COLOR_BGR2HSV) | |
# lower mask (0-10) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Banana Bread | |
- Recipe - One Loaf | |
Oven at 180 degree Celsius | |
- three ripe bananas | |
- 1 1/2 cups of flour | |
- 1/2 cups sugar | |
- 74grams or 2/6 cup melted butter(unsalted) | |
- 2 eggs | |
- 1 tsp vanilla extract |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Naguva Nayana Ukulele | |
Not complete, will update it when i figure out the rest of it. | |
-------------------------------------- | |
---1--3--4--3--1--3--1--0--1---------- | |
----------------------------------0--0 | |
-------------------------------------- | |
OlderNewer