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
@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
Loading
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
@Kimeiga
Kimeiga / index.html
Created August 30, 2018 02:15
html boilerplate
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Hakan Kimeiga Alpay</title>
<meta name="description" content="Game, Web, Language Designer">
<meta name="author" content="Hakan Kimeiga Alpay">