Skip to content

Instantly share code, notes, and snippets.

View Kimeiga's full-sized avatar
💠
iwaw, iwnl

Hakan Alpay Kimeiga

💠
iwaw, iwnl
View GitHub Profile
This file has been truncated, but you can view the full file.
{"!EXCLAMATION-POINT": [["EH", "K", "S", "K"], ["L", "AH"], ["M", "EY"], ["SH", "AH", "N"], ["P", "OY", "N", "T"]], "\"CLOSE-QUOTE": [["K", "L", "OW", "Z", "K"], ["W", "OW", "T"]], "\"DOUBLE-QUOTE": [["D", "AH"], ["B", "AH", "L", "K"], ["W", "OW", "T"]], "\"END-OF-QUOTE": [["EH", "N"], ["D", "AH", "V", "K"], ["W", "OW", "T"]], "\"END-QUOTE": [["EH", "N", "D", "K"], ["W", "OW", "T"]], "\"IN-QUOTES": [["IH", "N", "K"], ["W", "OW", "T", "S"]], "\"QUOTE": [["K", "W", "OW", "T"]], "\"UNQUOTE": [["AH", "N", "K"], ["W", "OW", "T"]], "#SHARP-SIGN": [["SH", "AA", "R", "P"], ["S", "AY", "N"]], "%PERCENT": [["P", "ER"], ["S", "EH", "N", "T"]], "&AMPERSAND": [["AE", "M"], ["P", "ER"], ["S", "AE", "N", "D"]], "'APOSTROPHE": [["AH"], ["P", "AA", "S", "T"], ["R", "AH"], ["F", "IY"]], "'BOUT": [["B", "AW", "T"]], "'CAUSE": [["K", "AH", "Z"]], "'COURSE": [["K", "AO", "R", "S"]], "'CUSE": [["K", "Y", "UW", "Z"]], "'EM": [["AH", "M"]], "'END-INNER-QUOTE": [["EH", "N"], ["D", "IH"], ["N", "ER", "K"], ["W", "OW", "T"]], "'END-QUO
@Kimeiga
Kimeiga / number-of-islands.md
Last active September 14, 2023 04:08
200. Number of Islands

200. Number of Islands

from collections import deque

class Solution:
  def numIslands(self, grid: List[List[str]]) -> int:
    # Return 0 if the grid is empty.
    if not grid:
      return 0
@Kimeiga
Kimeiga / ruumii_questions1.txt
Last active August 30, 2023 23:15
draft 1 of ruumii questions
const questions = [
{
type: 'text',
you: {
question: 'What is your name?',
id: 'name'
}
// autofill with name from google account
},
{
@Kimeiga
Kimeiga / test.md
Created February 21, 2023 21:41
test

image

@Kimeiga
Kimeiga / globe-treehecks.markdown
Created February 13, 2021 07:09
globe treehecks
@Kimeiga
Kimeiga / flier.svg
Created February 13, 2021 04:52
flier
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Kimeiga
Kimeiga / cs130_dis_2020-10-30.java
Created October 30, 2020 17:50
cs130_dis_2020-10-30
class Dropbox {
public void uploadFiles(files, credentials) {
UserAuth userAuth = new UserAuth();
validity = userAuth.isValid(credentials);
if (validity) {
for file in files {
Filesystem filesystem = new Filesystem();
cached = filesystem.uploadFile(file);
@Kimeiga
Kimeiga / index.html
Created April 29, 2020 00:25
hi brandon
<script Language="JavaScript">
count = 0;
numberCorrect = 0;
questin = 'What is the capital of Massachusetts?-Boston,What is the capital of California?-Sacramento,What is the capital of Oregon-Salem,What is the capital of Texas-Austin,What is the capital of Idaho?-Boise';
quests = questin.split(",");
questionShuffle(quests);
answer = questin.split("-");
@Kimeiga
Kimeiga / ldconfig
Created November 11, 2019 23:31
alpine ldconfig
#!/bin/sh
if [ "$1" = "-p" ]; then
# Hack to mimic GNU ldconfig s -p option, needed by ctypes, used by shapely
echo " libc.musl-x86_64.so.1 (libc6,x86-64) => /lib/libc.musl-x86_64.so.1"
exit 0
fi
scan_dirs() {
scanelf -qS "$@" | while read SONAME FILE; do
TARGET="${FILE##*/}"
LINK="${FILE%/*}/$SONAME"
@Kimeiga
Kimeiga / kacit.min.css
Last active August 30, 2018 04:52
kimeiga's version of the awesome tacit
input,textarea,select,button,option,html,body{font-family:Georgia,serif;font-size:18px;font-stretch:normal;font-style:normal;font-weight:400;line-height:29.7px}input,textarea,select,button,option,html,body{font-size:18px;font-stretch:normal;font-style:normal;font-weight:400;line-height:29.7px}th{font-weight:600}td,th{border-bottom:1.08px solid #595959;overflow:auto;padding:14.85px 18px;text-align:left;vertical-align:top}thead th{border-bottom-width:2.16px;padding-bottom:6.3px}table{display:table;overflow-x:auto}input,textarea,select,button,option,html,body{font-size:18px;font-stretch:normal;font-style:normal;font-weight:400;line-height:29.7px}fieldset{display:flex;flex-direction:row;flex-wrap:wrap}fieldset legend{margin:18px 0}input,textarea,select,button{border-radius:3.6px;display:inline-block;padding:9.9px}input+label,input+input[type="checkbox"],input+input[type="radio"],textarea+label,textarea+input[type="checkbox"],textarea+input[type="radio"],select+label,select+input[type="checkbox"],select+input[type