Skip to content

Instantly share code, notes, and snippets.

Edson Alves edsonalvesan

Block or report user

Report or block edsonalvesan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@edsonalvesan
edsonalvesan / index.html
Created Jun 24, 2018
WhatsApp in Pure CSS and JS
View index.html
<div class="page">
<div class="marvel-device nexus5">
<div class="top-bar"></div>
<div class="sleep"></div>
<div class="volume"></div>
<div class="camera"></div>
<div class="screen">
<div class="screen-container">
<div class="status-bar">
<div class="time"></div>
View PDF - FMX
var
PDF : TPDFDocumentGDI;
Page : TPDFPage;
begin
PDF := TPdfDocumentGDI.Create();
try
PDF.Info.Author := 'Fábio Feltrin da Silveira';
PDF.Info.CreationDate := now;
PDF.Info.Creator := 'Fábio Feltrin da Silveira';
View PDF - FMX
var
PDF : TPDFDocumentGDI;
Page : TPDFPage;
begin
PDF := TPdfDocumentGDI.Create();
try
PDF.Info.Author := 'Fábio Feltrin da Silveira';
PDF.Info.CreationDate := now;
PDF.Info.Creator := 'Fábio Feltrin da Silveira';
View gist:8763633ccca5e957a41140c80c57d4a7
{
"data": [
{
"id": "d7dc1370-d266-11e6-86a8-29a71d78b69f",
"name": "occaecati",
"barcode": "12",
"unit": "UN",
"cost_price": 37,
"markup": 13,
"alter_price": 0,
@edsonalvesan
edsonalvesan / HTML
Created Aug 17, 2016
Exemplo Vue.Js
View HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>My Books</title>
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.css">
<link rel="stylesheet" href="node_modules/font-awesome/css/font-awesome.css">
</head>
<body>
View Comandos Básicos - Linux
ESTRUTURA DAS PASTAS LINUX
/home = pasta de usuarios
/dev = devices
/media = driver de cd
/root = estrutura de pasta do root/superusuario
/tmp = logs etc
/etc=arquivos de configuracao
/var=conteudo de arquivos logs, mysql
/bin=executavel
View deploy_app_laravel_digital_ocean
1. Crie uma conta no Digital Ocean;
2. Crie um droplet Ubuntu (estas instruções são baseadas em Ubuntu)
3. Escolha o pacote LEMP para ser instalado com seu Ubuntu
4. Escolha ou associa sua chave publica para acesso ao servidor
5. Acesse seu server usando SSH (ssh root@<ip informado pelo DO>)
You can’t perform that action at this time.