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
--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
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
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
<!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
<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
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; |
NewerOlder