This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ExemploAdapter extends RecyclerView.Adapter<ExemploAdapter.ExemploViewHolder> { | |
private final ArrayList<Exemplo> exemploArrayList; | |
private final Context context; | |
private ExemploOnClickListener exemploOnClickListener; | |
public ExemploAdapter(Context context, ArrayList<Exemplo> exemploArrayList, ExemploOnClickListener exemploOnClickListener) { | |
this.context = context; | |
this.exemploArrayList = exemploArrayList; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<android.support.v7.widget.Toolbar | |
android:id="@+id/toolbar" | |
android:layout_width="match_parent" | |
android:layout_height="?attr/actionBarSize" | |
android:background="?attr/colorPrimary" | |
app:popupTheme="@style/AppTheme.PopupOverlay" /> | |
Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); | |
setSupportActionBar(toolbar); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> | |
<title>reveal.js</title> | |
<link rel="stylesheet" href="css/reveal.css"> | |
<link rel="stylesheet" href="css/theme/black.css"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo docker kill $(sudo docker ps -q) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
portainer: | |
image: portainer/portainer | |
ports: | |
- "9000:9000" | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
- /srv/docker/portainer:/data |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--PEGA LOGIN DE ALUNO | |
SELECT( | |
SELECT w.miolousername | |
FROM acdcontract z | |
INNER JOIN ONLY basphysicalpersonstudent w | |
USING (personid) | |
WHERE z.contractid = x.contractid) | |
AS login | |
FROM acdenroll x | |
WHERE x.groupid = ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo docker run -v $PWD/output:/output schemaspy/schemaspy:snapshot -t pgsql -db sagu -host serverip -u postgres -p postgres [-hq] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gunzip -c dbdump.sql.gz | psql -Upostgres database |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?><!-- | |
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. | |
Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved. | |
Oracle and Java are registered trademarks of Oracle and/or its affiliates. | |
Other names may be trademarks of their respective owners. | |
The contents of this file are subject to the terms of either the GNU General Public | |
License Version 2 only ("GPL") or the Common Development and Distribution |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script criar um alias que gera uma notivicação ao terminar um processo | |
# desenvolvido por Matheus Henrique de Souza | |
# Mail: [email protected] | |
# Data de criação: 07-10-2017 | |
echo "alias aviso='notify-send --icon=utilities-terminal \"Aviso\" \"O processo que estava monitorando chegou ao fim\"'" >> ~/.bashrc |
OlderNewer