Skip to content

Instantly share code, notes, and snippets.

View victorvhs's full-sized avatar
🎯
Focusing

Victor Reis victorvhs

🎯
Focusing
View GitHub Profile
@victorvhs
victorvhs / project-ideas01.md
Created June 8, 2023 14:34 — forked from MWins/project-ideas01.md
Back end Projects - list

Project Ideas

Ok. I'm going to list off some ideas for projects. You will have to determine if any particular idea is good enough to include in a portfolio. These aren't creative ideas. They likely already exist. Some are way too advanced while others are simplistic.

I will recommend to post any project you make to github and make a github project page for it. Explain in as much detail as possible how you made it, how it can be improved etc. Document it.

If you pick an advanced idea, setup a development roadmap and follow it. This will show some project management skills.

Another piece of advice for those who are design challenged. Use different front end frameworks and use different themes for those frameworks to provide appealing designs without looking like yet another bootstrap site.

@victorvhs
victorvhs / gist:c89a7c603c3d03a456b39085ea5c4965
Created February 13, 2018 14:00
Virtual Host Para apache
<VirtualHost *:80>
ServerName Server
DirectoryIndex index.php
DocumentRoot /var/www/html/blog/public
<Directory "/var/www/html/blog/public>
Options All
AllowOverride All
Order Allow,Deny
Allow from All
</Directory>
@victorvhs
victorvhs / _service.md
Created December 3, 2015 13:57 — forked from naholyr/_service.md
Sample /etc/init.d script

Sample service script for debianoids

Look at LSB init scripts for more information.

Usage

Copy to /etc/init.d:

# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
@victorvhs
victorvhs / apc.c
Last active December 3, 2015 11:24
Apc.c
#include <SPI.h>
#include <SD.h>
#include <Wire.h>
#include "RTClib.h"
/* Ciclos de trabalho */
#define CYCLE_1S 1000UL
#define CYCLE_5S 5000UL
#define CYCLE_30S 30000UL
#define CYCLE_60S 60000UL
@victorvhs
victorvhs / gerenciaRotas.sh
Last active May 24, 2023 21:22
Configuração do Hostpad.md
#!/bin/bash
#Initial wifi interface configuration
#fonte : http://askubuntu.com/questions/472794/hostapd-error-nl80211-could-not-configure-driver-mode
#nmcli nm wifi off
rfkill unblock wlan
ifconfig $1 up 192.168.45.1 netmask 255.255.255.0
sleep 2
###########Start dnsmasq, modify if required##########
@victorvhs
victorvhs / Fórmula Excel.md
Last active October 1, 2015 18:33
Fórmula Excel

Fórmula para pegar o valor que mais se repete(moda) numa matriz ou o último valor . Esta regra é normalmente aplicada para o calculo de compraração de direção do vento.

Esta é a versão 1:

=SEERRO(MODO.ÚNICO(C:C);ÍNDICE(C:C;(LINS(C:C))))

@victorvhs
victorvhs / fórmula.txt
Last active August 31, 2021 19:53
Converter graus em pontos cardeais no Excel
=SE(E(C2>=0;C2<22,5);"N";
SE(E(C2>=22,5;C2<45);"NNE";
SE(E(C2>=45;C2<67);"NE";
SE(E(C2>=67,5;C2<90);"ENE";
SE(E(C2>=90;C2<112,5);"E";
SE(E(C2>=112,5;C2<135);"ESE";
SE(E(C2>=135;C2<157,5);"SE";
SE(E(C2>=157,5;C2<180);"SSE";
SE(E(C2>=180;C2<202,5);"S";
SE(E(C2>=202,5;C2<225);"SSO";