Skip to content

Instantly share code, notes, and snippets.

View LintangWisesa's full-sized avatar
🍔
Udah makan blon?

Lintang Wisesa LintangWisesa

🍔
Udah makan blon?
View GitHub Profile
@LintangWisesa
LintangWisesa / palestine.py
Created November 12, 2023 09:18
palestine.py
colors = ["🟥", "⬛", "⬜", "🟩"]
height, width = 10, 15
flag, bars = "", ""
for i in range(0, height-1):
if i <= 4:
flag += colors[0]
if i <= 2:
bars = colors[1] * (width-i+1)
else:
bars = colors[2] * (width-i+1)
@LintangWisesa
LintangWisesa / statusCode.ts
Created January 12, 2024 07:53
HTTP STATUS CODE
export const ACCEPTED = 202;
export const BAD_GATEWAY = 502;
export const BAD_REQUEST = 400;
export const CONFLICT = 409;
export const CONTINUE = 100;
export const CREATED = 201;
export const EXPECTATION_FAILED = 417;
export const FAILED_DEPENDENCY = 424;
export const FORBIDDEN = 403;
export const GATEWAY_TIMEOUT = 504;
@LintangWisesa
LintangWisesa / zwicon-tutor.html
Created January 7, 2024 02:35
Zwicon Tutorial
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Zwicon Tutorial</title>
<link href="zwicon-V11/webfont/zwicon.css" type="text/css" rel="stylesheet"/>
</head>
<body>
<h1>Zwicon Tutorial</h1>
@LintangWisesa
LintangWisesa / devicon-tutor.html
Created January 7, 2024 02:35
Devicon Tutorial
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Devicon Tutorial</title>
<!-- Devicon CDN -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/devicons/devicon@v2.15.1/devicon.min.css">
<!-- Devicon local -->
<!-- <link rel="stylesheet" href="devicon/devicon-base.css" type="text/css"/> -->
@LintangWisesa
LintangWisesa / cssgg-tutor.html
Created January 7, 2024 02:34
CSS.gg Tutorial
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CSS.gg Tutorial</title>
<!-- CDN CSS.gg -->
<link href="https://css.gg/css" rel="stylesheet" />
<!-- local CSS.gg -->
<link type="text/css" rel="stylesheet" href="css.gg/icons/icons.css"/>
@LintangWisesa
LintangWisesa / lineicons-tutor.html
Created January 7, 2024 02:33
Lineicons Tutorial
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Lineicons Tutorial</title>
<!-- Lineicons CDN -->
<link href="https://cdn.lineicons.com/4.0/lineicons.css" rel="stylesheet" />
<!-- local css lineicons -->
<link href="lineicons-4.0-basic-free/web-font-files/css/icons.css" rel="stylesheet" type="text/css"/>
@LintangWisesa
LintangWisesa / yaml.md
Created December 30, 2020 04:46
yaml.md

simplinnovation

YAML (YAML Ain't Markup Language)

Video

YAML (YAML Ain't Markup Language) is a human-readable data-serialization language. Serialization is the process of translating a data structure or object state into a format that can be stored, transmitted and reconstructed later. YAML is commonly used for configuration files and in applications where data is being stored or transmitted.

@LintangWisesa
LintangWisesa / a.py
Created August 12, 2023 05:26
Chatterbot - Webinar HIMTI UPI YAI - 12 Aug 2023
# 1. Basic Chatterbot
# python -m pip install ChatterBot==1.0.4
# pip install ChatterBot==1.0.4
from chatterbot import ChatBot
chatbot = ChatBot("Iron Man")
exit_text = ("x", "exit", "quit")
while True:
query = input(" You 🧑 : ")
@LintangWisesa
LintangWisesa / fontAwesomeTutor.html
Created February 18, 2023 07:15
Font Awesome Tutorial
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- REPLACE LINE BELOW WITH YOUR FONT AWESOME KIT JS/CSS CODE -->
<script src="https://kit.fontawesome.com/your-font-awesome-kit-id.js" crossorigin="anonymous"></script>
<title>Font Awesome Tutorial</title>
</head>
@LintangWisesa
LintangWisesa / httpie.md
Created January 10, 2023 09:27
HTTPie Tutorial

simplinnovation

HTTPie Tutorial

Video

HTTPie is a command-line HTTP client. Its goal is to make CLI interaction with web services as human-friendly as possible. HTTPie is designed for testing, debugging, and generally interacting with APIs & HTTP servers. The http & https commands allow for creating and sending arbitrary HTTP requests. They use simple and natural syntax and provide formatted and colorized output.