Skip to content

Instantly share code, notes, and snippets.

View lfzawacki's full-sized avatar
💭
Millennials just wanna have 🥑s

Lucas lfzawacki

💭
Millennials just wanna have 🥑s
View GitHub Profile
@lfzawacki
lfzawacki / vendas.md
Last active August 27, 2023 22:31
Vendas

Produtos pra vender

Guitarra do jogo guitar hero genérica, PREÇO R$100

Já tem uns bons anos de uso, mas está em boas condições e funcionando perfeitamente. Plug USB para PC e para Playstation.

Preço: R$100

20230505_160419

@lfzawacki
lfzawacki / custom.css
Last active March 17, 2023 20:36
bbb style
:root {
--color-primary: #ff0000;
--color-success: #95ae3b;
--color-warning: #e59123;
--color-danger: #ca4b57;
--color-off-white: #f7f8f8;
--color-gray-lighter: #d2d2d2;
--color-blue-light: #0f8489;
--color-content-background: #323232;
--color-webcam-letterboxing: #404040;
@lfzawacki
lfzawacki / Dockerfile.kaldi-pt
Created December 20, 2022 19:01
Vosk Server Dockerfile
FROM alphacep/kaldi-vosk-server:latest
RUN mkdir /opt/vosk-model-pt_BR \
&& cd /opt/vosk-model-pt_BR \
&& wget -q https://alphacephei.com/vosk/models/vosk-model-pt-fb-v0.1.1-20220516_2113.zip \
&& unzip vosk-model-pt-fb-v0.1.1-20220516_2113.zip \
&& mv vosk-model-pt-fb-v0.1.1-20220516_2113 model \
&& rm -rf vosk-model-pt-fb-v0.1.1-20220516_2113.zip
EXPOSE 2700
@lfzawacki
lfzawacki / README.md
Last active June 18, 2020 20:56
Generic Component API
@lfzawacki
lfzawacki / 1-write-up.md
Last active July 28, 2019 21:10
Cybrics: Construction - write-up

Construction

Challenge description

Added at 14:40 UTC: to save some guessing, flag is inside the listening Python script.

Hello test subject # 49277. The next pwning room is not yet complete, so you should just wait here and not enter it until further notice.

ssh testsubject@95.179.148.72

Password: LabRat#49277

@lfzawacki
lfzawacki / back-from-audio
Last active July 7, 2017 04:02
Stop useless stuff for music production in Ubuntu Linux (actually Mint)
#!/bin/bash
# Re-enable uneeded services for music
pulseaudio -D
sudo service samba start
sudo service saned start
sudo service smbd start
sudo service nmbd start
@lfzawacki
lfzawacki / links.md
Last active December 3, 2015 19:40
Links to Learn Ruby
@lfzawacki
lfzawacki / README.md
Created August 7, 2015 00:37
Using local Gemfiles

Using local Gemfiles

This is useful if you're working on a project with other developers and want to use different gems locally that you don't have to commit to the repository.

Get the Gemfile.local file

From this repository https://github.com/gerrywastaken/Gemfile.local. The rest the instructions here are mostly based on what is written there with some modifications.

@lfzawacki
lfzawacki / install-owncloud.sh
Last active August 29, 2015 14:23
install-owncloud.sh
#!/bin/bash -e
FILENAME=owncloud-8.0.4.tar.bz2
LATEST=https://download.owncloud.org/community/$FILENAME
SHA=https://download.owncloud.org/community/$FILENAME.sha256
PGP=https://download.owncloud.org/community/$FILENAME.asc
INSTALL_PATH=/var/www
OWNCLOUD_USER='www-data'
echo " --- Download and check sha256 sum"
@lfzawacki
lfzawacki / alarm.ino
Last active August 29, 2015 14:18
Introdução a Programação com Arduino (28/03/15)
/*
Por Lucas Zawacki e galera da oficina de introdução a Arduino
https://matehackers.org/arduino_day_2015
*/
const int buttonPin = 2;
const int buzzerPin = 11;
const int sensorPin = 4;
const int ledPin = 13;