Difference between revisions of "User:Saul"

From Organic Design wiki
m (Removed unnecessary text align center.)
(Added bash section and alias command.)
Line 2: Line 2:
  
 
== Snippets: ==
 
== Snippets: ==
=== CSS Sticky Footer: ===
+
=== BASH: ===
 +
 
 +
==== Alias ====
 +
To save a command run:
 +
<source lang="BASH">
 +
alias COMMANDNAME="COMMAND";
 +
</source>
 +
This will be lost on reboot however so to save it run:
 +
<source lang="BASH">
 +
echo "alias COMMANDNAME=\"COMMAND\";" >> ~/.bashrc;
 +
</source>
 +
 
 +
=== CSS: ===
 +
==== CSS Sticky Footer: ====
 
<source lang="CSS">
 
<source lang="CSS">
 
body .site{
 
body .site{
Line 11: Line 24:
  
 
#content {
 
#content {
  flex: 1 !important;
+
flex: 1 !important;
 
}
 
}
 
</source>
 
</source>
  
=== CSS Same Height Columns: ===
+
==== CSS Same Height Columns: ====
 
<source lang="CSS">
 
<source lang="CSS">
 
.Container{
 
.Container{

Revision as of 20:01, 13 March 2018

I like to be making notes for mysql php and other technologys, and am a friend to linux and open-source programs.

Snippets:

BASH:

Alias

To save a command run:

alias COMMANDNAME="COMMAND";

This will be lost on reboot however so to save it run:

echo "alias COMMANDNAME=\"COMMAND\";" >> ~/.bashrc;

CSS:

CSS Sticky Footer:

body .site{
	display: flex !important;
	min-height: 100vh !important;
	flex-direction: column !important;
}

#content {
	flex: 1 !important;
}

CSS Same Height Columns:

.Container{
	display: flex;
}

.Column{
	flex: 1; /* optional to equalize widths */
}

Useful links in this wiki