some stuff

This commit is contained in:
Debucquoy Anthony 2023-05-11 21:36:11 +02:00
parent f0bcb58a63
commit 03b9ac3cd0
Signed by: tonitch
GPG Key ID: A78D6421F083D42E
4 changed files with 83 additions and 0 deletions

53
code_lint.md Normal file
View File

@ -0,0 +1,53 @@
# My coding style
For my years of programming in different language I sort of got a coding style in different language that I more or less follows.
The problem is that I'm not really so consistent with it.
## Defining a scope
For Languages that uses Brackets {} or something similar to define their scope,
the opening bracket should be on the same line as the definition and
the closing bracket should be on a separate line.
for instance:
```c
...
bool move(double x, double y){
if(x - y < 0){
x = y;
return false;
}
y = x;
return true;
}
int main(int argc, char *argv[]) {
...
```
but, if the conditional statement before is on multiple line then the openning bracket should be on a new line.
This help differientiate between the condition and the actual scope
for instance:
```java
...
boolean move(Vec2 position){
if(position.blocked &&
position.empty &&
something.else())
{
position.setPos(x, y);
return false;
}
this.position = position;
return true;
}
int main(int argc, char *argv[]) {
...
```

3
ideas.md Normal file
View File

@ -0,0 +1,3 @@
# Ideas
Here I can store all idea of writings I would like to do but haven't done/finished yet.

View File

@ -24,3 +24,4 @@ Here I will list my current idea of projects and a brief description of what the
- [ ] ClientLess Games
- [ ] Clicker general
- [ ] MMORPG
- [ ] Hack linkito

26
rpi_plan.md Normal file
View File

@ -0,0 +1,26 @@
# Raspberry pi plans for home
## Goals
- Tv with kodi
- Streaming Services
- Media Center
- Control with phone
- File Storage
- VPN
- Pi Hole
- Network monitor (later)
- Music streaming
- Voice recognition (later)
- mi magic cube controller (later)
## Software
- Kodi
- Samba
- filerun
- PiHole
- spotifyd
- self-made interface for remote (TODO)
- self-made app with xiami