This file contains 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
set_global_assignment -name DEVICE 10M50DAF484C7G | |
set_global_assignment -name RESERVE_ALL_UNUSED_PINS_WEAK_PULLUP "AS INPUT TRI-STATED" | |
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to * | |
set_instance_assignment -name IO_STANDARD "3.3 V Schmitt Trigger" -to KEY[0] | |
set_instance_assignment -name IO_STANDARD "3.3 V Schmitt Trigger" -to KEY[1] | |
# set_instance_assignment -name IO_STANDARD "3.3 V Schmitt Trigger" -to ARDUINO_RESET_N | |
# set_location_assignment PIN_N5 -to ADC_CLK_10 | |
set_location_assignment PIN_P11 -to MAX10_CLK1_50 |
This file contains 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
[Unit] | |
Description=JTAG Deamon | |
[Service] | |
Type=simple | |
Environment="LD_LIBRARY_PATH=/home/{YOUR USER}/intelFPGA_lite/{YOUR QUARTUS VERSION}/quartus/linux64" | |
# Environment="LD_LIBRARY_PATH=/home/user/intelFPGA_lite/21.1/quartus/linux64" # This works for "user" and Quartus 21.1 | |
ExecStart=/home/user/intelFPGA_lite/21.1/quartus/linux64/jtagd --foreground # --debug | |
# Restart=on-failure | |
# RestartSec=5 |
This file contains 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
group: IU Databases. Lab 3. Tasks | |
description: Tasks database for the "Databases" course in Innopolis University. | |
Students = { | |
SID:number, Name:string, Surname:string | |
1, Warren, Hayes | |
2, Clement, Valdez | |
3, Albion, Fraley | |
4, Bailey, Ruiz | |
} |
This file contains 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
group: IU Databases. Lab 3. Example | |
description: Example database for the "Databases" course in Innopolis University. | |
Supplier = { | |
SID:number, Name:string, City:string | |
1, Robert, Moscow | |
2, Denis, Saratov | |
3, Patrick, Moscow | |
4, Bailey, Kazan | |
} |
This file contains 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 <string> | |
#include <vector> | |
using namespace std; | |
int main(int argc, char[] *argv) | |
{ | |
This file contains 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> // cin, cout | |
#include <cmath> // sqrt | |
#include <iomanip> // setpresicion | |
using namespace std; | |
int main() { | |
// Настраиваем консоль выводить 12 знаков после запятой | |
cout << setprecision(12); |
This file contains 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
#!/usr/bin/env python3 | |
""" | |
Forked from: https://gist.github.com/mdonkers/63e115cc0c79b4f6b8b3a6b797e485c7 | |
""" | |
import logging | |
from http.server import BaseHTTPRequestHandler, HTTPServer | |
# Server address is a tuple of 'host' and 'port' | |
SERVER_ADDRESS = ("127.0.0.1", 8000) |
This file contains 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 <string> | |
#include <vector> | |
#include <algorithm> | |
typedef long long ll; | |
typedef unsigned long long ull; | |
using namespace std; |