Skip to content

Instantly share code, notes, and snippets.

View Aeres-u99's full-sized avatar
💭
Working

Kei Tachikawa Aeres-u99

💭
Working
View GitHub Profile
import math
class Shape(object):
def __init__(self,base,side):
self.base=base
self.side=side
def area(self):
return self.base*self.side
def perimeter(self):
return 2*(self.base+self.side)
@Aeres-u99
Aeres-u99 / Str_out.asm
Last active July 24, 2018 04:03
The booting code and printing code
;
;Printing function
;
pusha ; push the content of register to save it properly!!
str_out: mov ah,0x0e ;Interrupt requires 0x0e
printing: mov al, [bx] ;load the start of string into bx
int 0x10 ;call Interrupt 0x10,which upon having 0x0e in ah prints the char
add bx, 0x01 ;increment bx for the next character
cmp al,0 ; see if its zero, if yes that means the string has ended
jg printing ; jump on greater to prinitng
sudo sed -i -- 's/#deb-src/deb-src/g' /etc/apt/sources.list && sudo sed -i -- 's/# deb-src/deb-src/g' /etc/apt/sources.list
@Aeres-u99
Aeres-u99 / table.mkdn
Created July 23, 2020 05:23 — forked from ngs/table.mkdn
Unicode character table

A

Description Entity Preview
A With Acute, Latin Capital Letter Á Á
A With Acute, Latin Small Letter á á
A With Breve, Latin Small Letter ă ă
A With Caron, Latin Small Letter ǎ ǎ
A With Circumflex, Latin Capital Letter  Â
A With Circumflex, Latin Small Letter â â
@Aeres-u99
Aeres-u99 / vimrc
Created July 17, 2021 18:09
A copy of minimal vimrc by lemonase
"
" minimal vimrc with no (extra) plugins
"
"load system defaults
if filereadable(expand('$VIMRUNTIME/defaults.vim'))
unlet! g:skip_defaults_vim
source $VIMRUNTIME/defaults.vim
endif
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>Kei Tachikawa</title>
<style>
html {
line-height: 1.5;
{
"basics": {
"name": "Thomas Edison",
"label": "Inventor and Businessman",
"picture": "https://example.com/photo.jpg",
"email": "[email protected]",
"phone": "(123) 456-7890",
"website": "https://thomasedison.com",
"summary": "Prolific inventor and businessman known for developing many devices that greatly influenced life around the world, including the phonograph, the motion picture camera, and the electric light bulb.",
"location": {