Skip to content

Instantly share code, notes, and snippets.

View edsonalvesan's full-sized avatar

Edson Alves edsonalvesan

View GitHub Profile
@edsonalvesan
edsonalvesan / index.html
Created June 24, 2018 17:13
WhatsApp in Pure CSS and JS
<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>
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';
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';
{
"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 August 17, 2016 20:02
Exemplo Vue.Js
<!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>
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
@edsonalvesan
edsonalvesan / deploy_app_laravel_digital_ocean
Last active September 21, 2015 21:01 — forked from vedovelli/deploy_app_laravel_digital_ocean
Deploy app Laravel no 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>)