-
python3 -m pip install pipenv pip --upgrade
-
if you have trouble on '1.' pls try sudo pip3 install pipenv --force-reinstall
-
Or use Homebrew to install $ brew install pipenv
-
Check your python version by python -V, Choose your default by python3.9
-
Create virtual environment for projects pipenv install --python python3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import cv2 | |
| import time | |
| import keyboard | |
| cam = cv2.VideoCapture(0) | |
| fourcc = cv2.VideoWriter_fourcc(*'XVID') | |
| time.sleep(2) | |
| width= int(cam.get(cv2.CAP_PROP_FRAME_WIDTH)) | |
| height= int(cam.get(cv2.CAP_PROP_FRAME_HEIGHT)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <cstdio> | |
| /*n = 1 | |
| 1 | |
| n = 2 | |
| 1 1 1 | |
| 1 2 1 |
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import urllib.request, urllib.parse, urllib.error | |
| words = dict() | |
| fhand = urllib.request.urlopen("http://google.co.uk") | |
| print("Loading...") | |
| for line in fhand: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "Hello": "HYE" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | |
| --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 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. |