Skip to content

Instantly share code, notes, and snippets.

View pipoblak's full-sized avatar

Felipe Ramos da Silva pipoblak

View GitHub Profile
@pipoblak
pipoblak / install-parcel-plugins.sh
Last active February 10, 2023 16:43
Install all parcel-plugins
#!/bin/bash
root_dir=$1
command=$2
for dir in $(find parcel-plugins -type d); do
cd "$dir"
npm install
npm run build
cd ..
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/Users/felipe/.oh-my-zsh"
#LOCALE
export LC_ALL=en_US.UTF-8
# Set name of the theme to load --- if set to "random", it will
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: jenkins-rbac
subjects:
- kind: ServiceAccount
name: default
namespace: default
roleRef:
kind: ClusterRole
/*
Projeto Flutuador
*/
#include "SoftwareSerial.h"
SoftwareSerial bluetooth(2, 3); //TX, RX (Bluetooth)
const int pumpPin = 13; // the pin that the LED is attached to
int incomingByte; // a variable to read incoming serial data into
#include <Arduino.h>
void serialReadCall() {
if (Serial.available() > 0) {
String recivedDataStr = "";
char recivedChar;
while (Serial.available() > 0) {
recivedChar = Serial.read();
if (recivedChar != '\n') {
// Concatena valores
#define FASTLED_ESP8266_NODEMCU_PIN_ORDER
#define FASTLED_ALLOW_INTERRUPTS 0
#include "FastLED.h"
#include <Arduino.h>
#include <Thread.h>
#include <ThreadController.h>
//THREADS
ThreadController controll = ThreadController();
Thread threadRead = Thread();
#define FASTLED_ESP8266_NODEMCU_PIN_ORDER
#define FASTLED_ALLOW_INTERRUPTS 0
#include "FastLED.h"
#include <Arduino.h>
#include <ESP8266mDNS.h>
#include <ESP8266WiFi.h>
#include <Thread.h>
#include <ThreadController.h>
#include <WebSocketsServer.h>
/*!
* Datetimepicker for Bootstrap 3
* version : 4.15.35
* https://github.com/Eonasdan/bootstrap-datetimepicker/
*/
.bootstrap-datetimepicker-widget {
list-style: none;
}
.bootstrap-datetimepicker-widget.dropdown-menu {
margin: 2px 0;
.clockpicker .input-group-addon{cursor:pointer}
.clockpicker-moving{cursor:move}
.clockpicker-align-left.popover>.arrow{left:25px}
.clockpicker-align-top.popover>.arrow{top:17px}
.clockpicker-align-right.popover>.arrow{left:auto;right:25px}
.clockpicker-align-bottom.popover>.arrow{top:auto;bottom:6px}
.clockpicker-popover .popover-title{background-color:white;color:#00162d;font-size:24px;font-weight:700;line-height:30px;text-align:center}
.clockpicker-popover .popover-title span{cursor:pointer}
.clockpicker-popover .popover-content{background-color:#f8f8f8;padding:12px}
.popover-content:last-child{border-bottom-left-radius:5px;border-bottom-right-radius:5px}