This shell script will compile a C program, generate an hex file and flash it to an AVR microcontroller.
For updates, check my github repository:
“qAVR – Script to compile a C program, generate the hex and flash the microcontroller”
## Astable waveforms
Charge time (output high)
t1 = 0.693(Ra+Rb)C
Discharge time (output low)
t2 = 0.693(Rb)C
T = t1+t2 = 0.693(Ra+2Rb)C
Frequency of oscillation
f = 1/T = 1.44/(Ra+2Rb)C
Read more “555 IC Formulas”
I will maybe expand this project in the future.. but for now, that’s enough.
source @ github
I wrote this code to facilitate calculating USPTO trademark deadlines.
Open source code here ::
Demo here :: http://uspto.dthlabs.com/
In this setup, the SAML IDP will be available at
example.com/auth and we will use the ldap server configured in this post.
Start by moving to the directory above the
DocumentRoot for the domain. Let’s say that it is /var/www/example.com, so
Download the latest
wget https://simplesamlphp.org/res/downloads/simplesamlphp-1.14.4.tar.gz && tar xvfz simplesamlphp-1.14.4.tar.gz
Read more “Configuring a SAML IDP with LDAP as authentication source”
This will be a minimal setup. It’s a good idea to start by doing an update and upgrade on your system. In debian, use:
apt-get update && apt-get upgrade
Install the packages (set and confirm admin password)
apt-get install slapd ldap-utils phpldapadmin
vim /etc/ldap/ldap.conf and include:
Read more “Installing and configuring LDAP and phpldapadmin”
I created this script to automatize sharing of the hotspot connection I’m using.
My laptop is connected to the hotspot wifi. This internet connection will be shared to a router via an ethernet cable (which is also plugged to the laptop). The router then will distribute the connection to multiple devices.
Read more “Quick proxy script for sharing internet among devices”
Install docker (you may need to reboot afterwards)
pacman -S docker
systemctl start docker
Check docker information
Read more “Docker guide”