Basic header of mruby. It includes mrbconf.h, mruby/value.h, mruby/version.h internally.
mrb_state*Magic words:
psql -U postgresSome interesting flags (to see all, use -h or --help depending on your psql version):
-E: will describe the underlaying queries of the \ commands (cool for learning!)-l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)| """ssh-copy-id for Windows. | |
| Example usage: python ssh-copy-id.py ceilfors@my-remote-machine | |
| This script is dependent on msysgit by default as it requires scp and ssh. | |
| For convenience you can also try that comes http://bliker.github.io/cmder/. | |
| """ | |
| import argparse, os | |
| from subprocess import call |
Recommendations of unit types per media type:
| Media | Recommended | Occasional use | Infrequent use | Not recommended |
|---|---|---|---|---|
| Screen | em, rem, % | px | ch, ex, vw, vh, vmin, vmax | cm, mm, in, pt, pc |
| em, rem, % | cm, mm, in, pt, pc | ch, ex | px, vw, vh, vmin, vmax |
To remove a submodule you need to:
This specification is inspired by and supersedes the [AngularJS commit message format][commit-message-format].
We have very precise rules over how our Git commit messages must be formatted. This format leads to easier to read commit history.
Each commit message consists of a header, a body, and a footer.
| package main | |
| // http://play.golang.org/p/jZ5pa944O1 <- will not display the colors | |
| import "fmt" | |
| const ( | |
| InfoColor = "\033[1;34m%s\033[0m" | |
| NoticeColor = "\033[1;36m%s\033[0m" | |
| WarningColor = "\033[1;33m%s\033[0m" | |
| ErrorColor = "\033[1;31m%s\033[0m" | |
| DebugColor = "\033[0;36m%s\033[0m" |
| Ini::IniConfig& m_oIniConfig; | |
| Ini::CategoryValueMap& mCategories = m_oIniConfig.GetCategories(); | |
| if (ImGui::Button("Reload")) | |
| { | |
| m_oIniConfig.Load("Config.ini", true, false); | |
| } | |
| ImGui::SameLine(); | |
| if (ImGui::Button("Save")) |