Skip to content

Instantly share code, notes, and snippets.

View ealvesss's full-sized avatar
🏠
esq :q!

Elton Alves ealvesss

🏠
esq :q!
View GitHub Profile
@ealvesss
ealvesss / csvparse.cs
Created September 6, 2022 19:41
asdasd
using System;
using System.Buffers;
using System.ComponentModel.Design;
using System.IO;
using System.IO.Pipelines;
using System.Text;
using System.Threading.Tasks;
using iot.project.domain.entities;
namespace iot.project.service.Util
@ealvesss
ealvesss / flutter.dart
Created August 15, 2022 21:36
chat-twilio
Future<void> sendMessage({required String accountSid, required String authToken, required String sidConversation, required String message})async{
var cred = '$accountSid:$authToken';
var bytes = utf8.encode(cred);
var base64Str = base64.encode(bytes);
String url = 'https://conversations.twilio.com/v1/Conversations/CH1007ef70dfbb43b0a4fbb84d5484cb64/Messages';
var response = await http.post(Uri.parse(url),
headers: {
@ealvesss
ealvesss / mariadb.yml
Last active April 25, 2022 20:58 — forked from geerlingguy/mariadb.yml
Wordpress in Kubernetes K3s on Raspberry Pi
# This manifest assumes 'wordpress' namespace is already present:
#
# kubectl create namespace wordpress
#
# Apply the manifest with:
#
# kubectl apply -f mariadb.yml
---
apiVersion: v1
kind: Secret
@ealvesss
ealvesss / designer.html
Created January 29, 2015 19:43
designer
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<polymer-element name="my-element">
<template>
<style>
:host {