Skip to content

Instantly share code, notes, and snippets.

View Aldhanekaa's full-sized avatar
🎏
Make Indonesia great again!

Aldhanekai Aldhanekaa

🎏
Make Indonesia great again!
View GitHub Profile
// Welcome to the TypeScript Playground, this is a website
// which gives you a chance to write, share and learn TypeScript.
// You could think of it in three ways:
//
// - A place to learn TypeScript in a place where nothing can break
// - A place to experiment with TypeScript syntax, and share the URLs with others
// - A sandbox to experiment with different compiler features of TypeScript
const anExampleVariable = "Hello World"
// TypeScript has some fun special cases for literals in
// source code.
// In part, a lot of the support is covered in type widening
// and narrowing ( example:type-widening-narrowing ) and it's
// worth covering that first.
// A literal is a more concrete subtype of a collective type.
// What this means is that "Hello World" is a string, but a
// string is not "Hello World" inside the type system.
@Aldhanekaa
Aldhanekaa / mts-technonatura-server.license.txt
Last active April 17, 2021 22:46
mts technonatura server license
Mts-Technonatura-Server License
Software MTs TechhnoNatura tidak dibuka untuk umum, software file tersimpan didalam github organisasi "madrasah-technonatura". Tidak semua orang dapat berkontribusi, hanya orang-orang yang tergabung dalam organisasi github "madrasah-technonatura" yang dapat berkontribusi pada software ini.
PENGEMBANG YANG BERTANGGUNG JAWAB ATAS SOFTWARE OPEN SOURCE KAMI INI ADALAH ALDHAN. SEMUA PENGEMBANG BERTANGGUNG JAWAB ATAS BUG ATAU DAN ERROR YANG MEREKA "PUSH" KE REPOSITORI PROYEK INI. KEAMANAN PRIVASI USER DITANGGUNG JAWAB OLEH DEVELOPER YANG MEMBUAT COMMIT DAN JUGA ALDHAN.
lisensi dapat berganti suatu waktu
---
import React, { useState, useEffect } from 'react';
import InfoCard from 'components/Cards/InfoCard';
import PageTitle from 'components/Typography/PageTitle';
import { ChatIcon, PeopleIcon } from '../../icons';
import RoundIcon from 'components/RoundIcon';
import {
Button,
Alert,
AlertIcon,
{
"Hello": "HYE"
}
The BSD Zero Clause License (0BSD)
Copyright (c) [year] [company].
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
@Aldhanekaa
Aldhanekaa / urllib.py
Created May 29, 2021 04:57
Python urllib library simple example
import urllib.request, urllib.parse, urllib.error
words = dict()
fhand = urllib.request.urlopen("http://google.co.uk")
print("Loading...")
for line in fhand:

To create a project :

enter the folder cd folderName

pipenv install Django==3.2 --python python3 3.2 is the latest version in 2021

activate your virtual env pipenv shell

check the package inside here pip freeze

  1. python3 -m pip install pipenv pip --upgrade

  2. if you have trouble on '1.' pls try sudo pip3 install pipenv --force-reinstall

  3. Or use Homebrew to install $ brew install pipenv

  4. Check your python version by python -V, Choose your default by python3.9

  5. Create virtual environment for projects pipenv install --python python3

#include <iostream>
#include <cstdio>
/*n = 1
1
n = 2
1 1 1
1 2 1