Skip to content

Instantly share code, notes, and snippets.

@AlexanderWyss
AlexanderWyss / Pokemon.cpp
Created October 19, 2021 16:52
Pokemon console
#include <stdio.h>
#include <string.h>
#include <windows.h>
#include <time.h>
int choosePokemon();
void showGui();
int playerChooseAttack();
void executeAttack();
bool checkForVictory();
@AlexanderWyss
AlexanderWyss / RPi3-Auto-WiFi.md
Created September 10, 2021 20:42 — forked from carry0987/RPi3-Auto-WiFi.md
Raspberry Pi 3B+ Auto reconnect to wifi when lost connect

Auto reconnect to wifi when lost connect

Create script file

Use touch /home/pi/wifi-reconnect.sh to create shell script file, with following content:

#!/bin/bash 
 
SSID=$(/sbin/iwgetid --raw)