Run gpedit-windows-10-home.bat
using administrator rights
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
/* | |
* MIT License | |
* | |
* Copyright (c) 2022 Albert Chang & Andra Antariksa | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is |
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 time | |
import statistics | |
import unittest | |
from unittest import TextTestRunner | |
from django.test.runner import DiscoverRunner | |
class StopwatchTestResult(unittest.TextTestResult): | |
""" | |
Times test runs and formats the result |
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
class SomeTypedDict(TypedDict): | |
brands = forms.ModelChoiceField(required=True, queryset=None) | |
class MerchantBrandsForm(forms.Form, SomeTypedDict): | |
fields: SomeTypedDict | |
def __init__(self: merchant: Merchant, *args: Any, **kwargs: Any): | |
super().__init__(*args, **kwargs) | |
self.fields['brands'].queryset = merchant.brands.all() |
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
1. Register yourself to github.com | |
2. Fork the repository | |
3. Clone repository to your machine | |
4. Checkout to the new branch | |
5. Create a file in `student` folder | |
6. Commit your work | |
7. Push it to remote or internet | |
8. Open a pull request | |
Learning resource: |
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
package io.github.andraantariksa; | |
import java.io.*; | |
import java.net.Socket; | |
import java.net.SocketException; | |
import java.net.UnknownHostException; | |
import java.util.Date; | |
import java.util.Scanner; | |
public class MainClient { |
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 "RenderSystem.hpp" | |
#include <SFML/Graphics.hpp> | |
#include <entt/entt.hpp> | |
#include <glm/glm.hpp> | |
#include <cmath> | |
#include "../Component/TransformComponent.hpp" | |
#include "../Component/SphereComponent.hpp" | |
#include "../Util/Logger.hpp" |
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
y(t) = A*sin(2*π*f*t+φ) = A*sin(ω*t+φ) | |
ω = 2*π*f = 2*π/T | |
https://www.desmos.com/calculator/6ssiybs0a4 | |
https://colab.research.google.com/drive/1JlgHLRYjPBKEg3JaRkNFSCs_dR8VIqkw?usp=sharing | |
https://docs.google.com/spreadsheets/d/1SNW_uQUGfa2uRMes6wyxcePPoHzMR9EoJQIrwyl7KlY/edit?ts=5f584788#gid=0 | |
T = Period (s) | |
A = Amplitude (Not constant), depend on how many cycle | |
f = Frequency (How many cycle in a second) (Hz or rad/s) |
A quine is a computer program which takes no input and produces a copy of its own source code as its only output. The standard terms for these programs in the computability theory and computer science literature are "self-replicating programs", "self-reproducing programs", and "self-copying programs".
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
Mid 35 | |
Final 35 | |
*Exam is open book | |
Quiz/Assignment 30 | |
*Project is individual except for the final project (Max 4 person) | |
Assignment may start from Week 4 | |
Mid example | |
Create class diagram from some use cases |
NewerOlder