Skip to content

Instantly share code, notes, and snippets.

View gedean's full-sized avatar
🎯
Focusing

Gedean Dias gedean

🎯
Focusing
View GitHub Profile
h3 Listando produtos
section.container-div.flex-end_new
.btn_new
= button_to 'Novo Produto', new_product_path, method: :get, class: 'btn btn-primary'
table.table.table-hover border="1"
thead
tr
th Descrição
th Preço
th Categoria
@gedean
gedean / rails_six_basic_app_setup.md
Last active August 8, 2020 21:20
Rails 6 Basic App Setup
@gedean
gedean / Dockerfile
Created July 12, 2020 07:34 — forked from siklodi-mariusz/Dockerfile
Dockerfile example for Ruby on Rails running on Alpine Linux
FROM ruby:2.4-alpine3.7
# Install dependencies:
# - build-base: To ensure certain gems can be compiled
# - nodejs: Compile assets
# - postgresql-dev postgresql-client: Communicate with postgres through the postgres gem
# - libxslt-dev libxml2-dev: Nokogiri native dependencies
# - imagemagick: for image processing
RUN apk --update add build-base nodejs tzdata postgresql-dev postgresql-client libxslt-dev libxml2-dev imagemagick
require 'pry'
class Envia
def metodo_envia
puts "metodo composto"
@a = 2
return @a
Recebe.new.metodo_recebe(a)
end
CREATE TABLE `tabwin_base` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`pa_coduni` mediumint(8) unsigned DEFAULT NULL,
`pa_gestao` mediumint(8) unsigned DEFAULT NULL,
`pa_condic` varchar(2) DEFAULT NULL,
`pa_ufmun` mediumint(8) unsigned DEFAULT NULL,
`pa_regct` varchar(4) DEFAULT NULL,
`pa_incout` varchar(4) DEFAULT NULL,
`pa_incurg` varchar(4) DEFAULT NULL,
`pa_tpups` varchar(2) DEFAULT NULL,
javascript: (function () {
function ats() {
var styles = '*,p,div{user-select:text !important;-moz-user-select:text !important;-webkit-user-select:text !important;}';
jQuery('head').append(jQuery('<style />').html(styles));
var allowNormal = function () {
return true;
};
jQuery('*[onselectstart], *[ondragstart], *[oncontextmenu], #songLyricsDiv').unbind('contextmenu').unbind('selectstart').unbind('dragstart').unbind('mousedown').unbind('mouseup').unbind('click').attr('onselectstart', allowNormal).attr('oncontextmenu', allowNormal).attr('ondragstart', allowNormal);
}
CLS
@ECHO off
SET base_folder=C:\Program Files\Datasus\Autorizador
CD %base_folder%
Autorizador.exe
ECHO ----------------------------------------------------------
ECHO PROGRAMA DE BACKUP DO MODULO AUTORIZADOR
ECHO Criacao: Gedean Dias ([email protected])
CLS
@ECHO off
SET base_folder=C:\DATASUS\BPA\BPA
CD %base_folder%
bpamag.exe
ECHO ----------------------------------------------------------
ECHO PROGRAMA DE BACKUP DO BPA
ECHO Criacao: Gedean Dias ([email protected])
CLS
@ECHO off
SET base_folder=C:\DATASUS\BPA\BPA
CD %base_folder%
bpamag.exe
ECHO ----------------------------------------------------------
ECHO PROGRAMA DE BACKUP DO BPA
ECHO Criacao: Gedean Dias ([email protected])
CLS
@ECHO off
SET base_folder=C:\DATASUS\BPA\BPA
CD %base_folder%
bpamag.exe
ECHO ----------------------------------------------------------
ECHO PROGRAMA DE BACKUP DO BPA
ECHO Criacao: Gedean Dias ([email protected])