Skip to content

Instantly share code, notes, and snippets.

View armaandh's full-sized avatar

Armaan Dhanji armaandh

  • BCIT
  • Vancouver, BC
View GitHub Profile
// syllable code ranges by consonant
const GIYEOK_BEGIN = 44032;
const GIYEOK_END = 44619;
const SSANGGIYEOK_BEGIN = 44620;
const SSANGGIYEOK_END = 45207;
const NIEUN_BEGIN = 45208;
const NIEUN_END = 45795;
const DIGEUT_BEGIN = 45796;
const DIGEUT_END = 46383;
const SSANGDIGEUT_BEGIN = 46384;
enum ConsonantAssimilation {
Progressive,
Regressive
};
enum Type {
Substantives,
Compound,
District,
Name,
NameTypical,
@armaandh
armaandh / cit-env-setup.ps1
Last active August 27, 2020 05:52
Quick Environment Setup for Windows
# Simple environment setup script for Windows
# Install Applications
choco install vscode -y
choco install vagrant -y
# Install Utilities
choco install git -y
choco install cmder -y
choco install nodejs -y
<!DOCTYPE html>
<html>
<head>
<title>Javascript + DOM</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<h1>Shopping List</h1>
<p id="first">Get it done today</p>
<input id="userinput" type="text" placeholder="enter items" />
var button = document.getElementById("enter");
var input = document.getElementById("userinput");
var ul = document.querySelector("ul");
function inputLength() {
return input.value.length;
}
function createListElement() {
var li = document.createElement("li"); // <li></li>
this.getField("Recess:LowAlertB").fillColor = color.transparent;
var str;
var boldWords = ["BG", "is", "4.0", "or", "above", "give"]
var objectName = "Recess:LowAlertB";
if(this.getField("Recess:LowAlertB").value.indexOf("pump") > -1){
str = 'Once BG is 4.0 or above, give "recess" snack; after student finishes "recess" snack, give "recess" snack';
boldOrUnderline(objectName, str, boldWords, null, null, null, null, null, null);
}else{
@armaandh
armaandh / jasonProject.html
Created January 30, 2018 05:13
my proj code
<html><head>
<style>
#myDiv {
max-width: 850px;
margin: auto;
}
</style>
<script>
onload = function(){
var i = 0;
<!DOCTYPE html>
<html>
<head>
<style>
body {
margin: 0;
padding: 0;
}
@armaandh
armaandh / grammar.txt
Created June 17, 2017 02:11
grammar_text
복녀는 원래 가난은 하나만 (감자 1)
Pattern: -나만 a non-standard combination of adversative -나 but, strengthened by particle 만.
Here: 복녀 [was from] an originally poor, but [honest farming family] . . .
농민으로 떨어지자부터 (감자 1)
Pattern: -자부터 ever since the moment when . . ., from the moment when . . .,
right from when . . .
Here: Ever since [the family] fell in status to that of farmer, . . .
막연하나마 (감자 1)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.