configuration.nix
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, ... }:
{
configuration.nix
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, ... }:
{
#!/bin/bash | |
echo "install tftp and dhcp server" | |
sudo apt install isc-dhcp-server tftpd-hpa samba cifs-utils samba-client -y | |
sudo systemctl start isc-dhcp-server | |
sudo systemctl enable isc-dhcp-server | |
sudo systemctl start tftpd-hpa |
CREATE FOLDER TO SHARE AND ADD PERMISSIONS
cd ~/Documents
mkdir sambaPublicShare
chmod 777 sambaPublicShare
INSTALL SAMBA
sudo apt-get install samba
#include "freertos/FreeRTOS.h" | |
#include "nvs_flash.h" | |
#include "lwip/err.h" | |
#include "esp_wifi.h" | |
#include "esp_wifi_internal.h" | |
#include "esp_system.h" | |
#include "esp_event.h" | |
#include "esp_event_loop.h" | |
uint16_t offset = 0; |
/* ESP32 Get RSSI of packets- Promiscuous Mode | |
(C) 2017, Staubgeborener | |
https://github.com/Staubgeborener/ */ | |
#include "esp_wifi.h" | |
#include "esp_wifi_internal.h" | |
#include "lwip/err.h" | |
#include "esp_system.h" | |
#include "esp_event.h" | |
#include "esp_event_loop.h" |
#!/bin/bash | |
sudo apt-get install poppler-utils | |
mkdir ConvertedJPG | |
echo "hi" | |
for f in * | |
do | |
echo "converting" $f | |
pdftoppm -jpeg -rx 300 -ry 300 "$f" JPG | |
echo "moving converted JPG to " $f "\n" | |
mkdir "./ConvertedJPG/$f" |