Clones your fork of the repo into the current directory in terminal
50 |
51 |
When a repo is cloned, it has a default remote called origin that points to your fork on GitHub, not the original repo it was forked from. To keep track of the original repo, you need to add another remote named upstream:
52 |
cd Spoon-Knife
53 |
Changes the active directory in the prompt to the newly cloned "Spoon-Knife" directory
Start copy, move cursor to the copy location, press ENTER, select the chars, press ENTER to copy the selected characters to the buffer
26 |
ctrl a ]
27 |
Paste from buffer
28 |
29 |
30 |
31 |
32 |
33 |
34 |
How to start screen
35 |
36 |
screen –DR
37 |
List of detached screen
38 |
screen –r PID
39 |
Attach detached screen session
40 |
screen –dmS MySession
41 |
Start a detached screen session
42 |
screen -S MySession
43 |
Start a new screen session with name MySession
44 |
screen –r MySession
45 |
Attach screen session with name MySession
46 |
47 |
48 |
49 |
50 |
51 |
52 |
Advanced
53 |
54 |
ctrl a S
55 |
create split screen
56 |
ctrl a TAB
57 |
switch between split screens
58 |
59 | If you created a new split screen, the current window is empty. either select an existing window (ctrl a ”) or create a new split screen (ctrl a n).
60 |
--------------------------------------------------------------------------------
/cheaters/cheatsheets/JSStrings.md:
--------------------------------------------------------------------------------
1 | ### JavaScript Strings
2 |
3 | | Method | Summary |
4 | |:--------|:---------|
5 | |**charAt**(x) | Returns the character at the "x" position within the string.|
6 | |**charCodeAt**(x) | Returns the Unicode value of the character at position "x" within the string. |
7 | |**concat**(v1, v2,...) | Combines one or more strings (arguments v1, v2 etc) into the existing one and returns the combined string. Original string is not modified. |
8 | |**fromCharCode**(c1, c2,...) | Returns a string created by using the specified sequence of Unicode values (arguments c1, c2 etc). Method of String object, not String instance. For example: String.fromCharCode(). |
9 | |**indexOf**(substr, [start]) | Searches and (if found) returns the index number of the searched character or substring within the string. If not found, -1 is returned. "Start" is an optional argument specifying the position within string to begin the search. Default is 0.|
10 | |**lastIndexOf**(substr, [start]) | Searches and (if found) returns the index number of the searched character or substring within the string. Searches the string from end to beginning. If not found, -1 is returned. "Start" is an optional argument specifying the position within string to begin the search. Default is string.length-1. |
11 | |**match**(regexp) | Executes a search for a match within a string based on a regular expression. It returns an array of information or null if no match is found. |
12 | |**replace**( regexp, replacetext) | Searches and replaces the regular expression portion (match) with the replaced text instead. |
13 | |**search**(regexp) | Tests for a match in a string. It returns the index of the match, or -1 if not found. |
14 | |**slice**(start, [end]) | Returns a substring of the string based on the "start" and "end" index arguments, NOT including the "end" index itself. "End" is optional, and if none is specified, the slice includes all characters from "start" to end of string. |
15 | |**split**(delimiter, [limit]) | Splits a string into many according to the specified delimiter, and returns an array containing each element. The optional "limit" is an integer that lets you specify the maximum number of elements to return. |
16 | |**substr**(start, [length]) | Returns the characters in a string beginning at "start" and through the specified number of characters, "length". "Length" is optional, and if omitted, up to the end of the string is assumed.|
17 | |**substring**(from, [to]) | Returns the characters in a string between "from" and "to" indexes, NOT including "to" inself. "To" is optional, and if omitted, up to the end of the string is assumed.|
18 | |**toLowerCase**() | Returns the string with all of its characters converted to lowercase. |
19 | |**toUpperCase**() | Returns the string with all of its characters converted to uppercase.|
20 |
21 |
--------------------------------------------------------------------------------
/cheaters/cheatsheets/css/emmet.css:
--------------------------------------------------------------------------------
1 | .page-content {
2 | margin-left:0;
3 | padding:30px;
4 | border:0;
5 | }
6 |
7 | .ch-snippet {
8 | margin-bottom:10px;
9 | -webkit-column-break-inside:avoid;
10 | column-break-inside:avoid;
11 | }
12 |
13 | .ch-snippet__name {
14 | font-size:1em;
15 | font-weight:600;
16 | float:left;
17 | padding:0;
18 | }
19 |
20 | .ch-snippet__value {
21 | white-space:pre-wrap;
22 | overflow:hidden;
23 | margin:0;
24 | padding:1px 0 1px 20px;
25 | color:#777;
26 | }
27 |
28 | .ch-tabstop {
29 | background:rgba(200, 200, 200, 1);
30 | display:inline-block;
31 | padding:0 2px;
32 | color:#fff;
33 | text-shadow:1px 1px 1px rgba(0, 0, 0, .5);
34 | -webkit-border-radius:3px;
35 | -moz-border-radius:3px;
36 | border-radius:4px;
37 | }
38 |
39 | .ch-caret {
40 | border-left:2px solid rgba(90, 160, 196, 1);
41 | margin:0 2px -.1em;
42 | display:inline-block;
43 | height:1.1em;
44 | }
45 |
46 | .ch-section {
47 | margin-bottom:20px;
48 | clear:both;
49 | }
50 |
51 | .ch-section:last-of-type {
52 | margin-bottom:0;
53 | }
54 |
55 | .ch-section__content {
56 | -webkit-column-count:3;
57 | -moz-column-count:3;
58 | column-count:3;
59 | -webkit-column-gap:30px;
60 | -moz-column-gap:30px;
61 | column-gap:30px;
62 | }
63 |
64 | .ch-section__title {
65 | margin:0 0 .5em;
66 | page-break-after:avoid;
67 | }
68 |
69 | .ch-subsection {
70 | clear:both;
71 | -webkit-column-break-inside:avoid;
72 | -moz-column-break-inside:avoid;
73 | -ms-column-break-inside:avoid;
74 | -o-column-break-inside:avoid;
75 | column-break-inside:avoid;
76 | }
77 |
78 | .ch-subsection__title {
79 | margin:20px 0 5px;
80 | page-break-after:avoid;
81 | }
82 |
83 | .ch-subsection:first-child .ch-subsection__title {
84 | margin-top:0;
85 | }
86 |
87 | .cn-snippet__alias {
88 | font-size:10px;
89 | margin:5px 0;
90 | }
91 |
92 | .cn-snippet__alias-abbr {
93 | color:#606064;
94 | }
95 |
96 | .ch-section_syntax .ch-snippet__name, .ch-section_html .ch-snippet__name, .ch-section_xsl .ch-snippet__name {
97 | float:none;
98 | }
99 |
100 | .ch-section_syntax .ch-snippet, .ch-section_html .ch-snippet, .ch-section_xsl .ch-snippet {
101 | margin-bottom:20px;
102 | }
103 |
104 | .ch-section_css .ch-snippet__name {
105 | min-width:7em;
106 | }
107 |
108 | @media print, screen and (max-width:870px) {
109 | .ch-section__content {
110 | -webkit-column-count:2;
111 | -moz-column-count:2;
112 | column-count:2;
113 | }
114 |
115 | .page-content {
116 | padding:10px;
117 | }
118 |
119 | }@media print, screen and (max-width:500px) {
120 | .ch-section__content {
121 | -webkit-column-count:1;
122 | -moz-column-count:1;
123 | column-count:1;
124 | }
125 |
126 | .page-content {
127 | padding:5px;
128 | }
129 |
130 | }
131 |
--------------------------------------------------------------------------------
/cheaters/cheatsheets/markdown.html:
--------------------------------------------------------------------------------
1 |
9 |
107 | > Email-style angle brackets
108 | > are used for blockquotes.
109 |
110 | > > And, they can be nested.
111 |
112 | > #### Headers in blockquotes
113 | >
114 | > * You can quote a list.
115 | > * Etc.
116 |
117 |
118 |
Code Spans
119 |
120 |
121 | `<code>` spans are delimited by backticks.
122 |
123 | You can include literal backticks like `` `this` ``.
124 |
125 |
126 |
Preformatted Code Blocks
127 |
128 |
Indent every line of a code block by at least 4 spaces or 1 tab.
129 |
130 |
131 | This is a normal paragraph.
132 |
133 | This is a preformatted
134 | code block.
135 |
155 |
--------------------------------------------------------------------------------
/cheaters/cheatsheets/marked2.md:
--------------------------------------------------------------------------------
1 | {
2 | "id": "bt_marked",
3 | "style": "css/h4dark.css",
4 | "layout": "default"
5 | }
6 | %%%END
7 | ### Marked 2 Keyboard Shortcuts
8 |
9 | #### Shortcuts
10 |
11 | | Shortcut | Function |
12 | | -----------------------: | :---------------------------- |
13 | | **⌘,** | Preferences |
14 | | **⌘N** | New File |
15 | | **⌘O** | Open |
16 | | **⌘⇧R** | Re-open Last |
17 | | **⌘W** | Close |
18 | | **⌘P** | Print Preview Window |
19 | | **⌘S** | Save HTML |
20 | | **⌘⇧P** | Save PDF |
21 | | **⌘⇧S** | Save RTF |
22 | | **⌘C** | Copy |
23 | | **⌘⇧C** | Copy HTML Source to clipboard |
24 | | **⌘U** | Toggle Source View |
25 | | **⌘T** | Toggle Table of Contents |
26 | | **⌘R** | Reload Preview |
27 | | **⌘1-9** | Select Built-in Style |
28 | | **⌘⌥1-9** | Select Custom Style |
29 | | **⌘/** | Gear Menu |
30 | | **⌘⇧=** | Zoom In |
31 | | **⌘⇧-** | Zoom Out |
32 | | **⌘⇧0** | Reset Zoom |
33 | | **⌘M** | Minimize |
34 | | **⌘⇧F** | Keep on Top |
35 | | **^⌘W** | Visualize Word Repetition |
36 | | **^⌘B** | Show Boundaries of Included Files |
37 | | **⌘⌥S** | Document Statistics |
38 | | **⌘⇧⌥S** | Readability Statistics |
39 | | **⌘I** | Detailed Statistics |
40 | | **⌘⌥C** | Toggle Custom Processor |
41 | | **⌘F** | Search |
42 | | **⌘G** | Highlight next match |
43 | | **⌘⇧G** | Highlight previous match |
44 | | **⌘⌥←** | Collapse all sections |
45 | | **⌘⌥→** | Expand all sections |
46 | | **⌘⇧V** | Preview Clipbaord |
47 | | **^⌘S** | Save Clipboard Preview |
48 |
49 |
50 |
51 |
52 | #### Quick Toggles
53 |
54 | Extra keyboard shortcuts for toggling common global preferences.
55 |
56 | | Shortcut | Function |
57 | | -----------------------: | :---------------------------- |
58 | | **^⌥⇧L** | Retain Line Breaks |
59 | | **^⌥⇧I** | IDs on Headlines |
60 | | **^⌥⇧Y** | Strip YAML |
61 | | **^⌥⇧M** | Strip MMD Metadata |
62 | | **^⌥⇧S** | Scroll to First Edit |
63 | | **^⌥⇧C** | CriticMarkup Always |
64 | | **^⌥⇧T** | Smart Typography |
65 | | **^⌥⇧H** | Process Inside HTML |
66 |
67 | #### Preview Navigation
68 |
69 | Press "?" at any time to view the following shortcuts in the Preview window.
70 |
71 | | Shortcut | Function |
72 | | -------------------------: | :------------------------------- |
73 | | **t** or **gg** | Jump to Top |
74 | | **b** or **G** | Jump to Bottom |
75 | | **⇧1-9** | Bookmark Scroll position |
76 | | **⌥1-9** | Bookmark Nearest Headline |
77 | | **1-9** | Scroll to Bookmark |
78 | | **0** | Display Mini Map |
79 | | **N/P** | Next/Prev Bookmark Numerically |
80 | | **n/p** | Next/Prev Bookmark in Page Order |
81 | | **j**/**k** | Scroll Down/Up |
82 | | **J**/**K** | Scroll Up/Down Faster |
83 | | **,**/**.** | Navigate All Headers |
84 | | **<**/**>** | Navigate H1/H2 Headers |
85 | | **e** | Jump to Most Recent Edit Point |
86 | | **s** | Auto-scroll |
87 | | **⇧←**/**→** | Speed up/Slow down auto-scroll |
88 | | **f** | Open "fast switcher" |
89 | | **I** | Display current included filename |
90 | | **z** | Zoom Overview toggle |
91 | | **[** / **]** | Navigate target highlights |
92 | | **{** / **}** | Navigate all highlights |
93 | | **Escape** | Close Overlay/Deselect Text |
94 | | **h**/**?** | Show/Hide Help HUD |
95 |
96 | #### Table of Contents Navigation
97 |
98 | When the Table of Contents is open, you can navigate via keyboard.
99 |
100 | | Shortcut | Function |
101 | | -----------------: | :------------------------- |
102 | | **⌘T** | Open TOC |
103 | | **j**/**↑** | Select first/next item |
104 | | **k**/**↓** | Select previous item |
105 | | **o** | Scroll to selection |
106 | | **Space** | Open TOC quick-search |
107 | | **↓**/**Tab** | Select first search result |
108 | | **Escape** | Clear search/Dismiss TOC |
109 |
110 | ---
111 |
112 | **Marked 2** is available at [marked2app.com](http://marked2app.com)
113 |
--------------------------------------------------------------------------------
/cheaters/cheatsheets/sketch.md:
--------------------------------------------------------------------------------
1 | {
2 | "id": "auto",
3 | "style": "css/h4dark.css",
4 | "layout": "default"
5 | }
6 | %%%END
7 | ### Sketch
8 |
9 | #### Insert
10 |
11 | | Shortcut | Action |
12 | | :-----: | :------ |
13 | | **A** | New Artboard |
14 | | **S** | Slice |
15 | | **R** | Rectangle |
16 | | **U** | Rounded Rectangle |
17 | | **O** | Oval |
18 | | **L** | Line |
19 | | **V** | Vector Point |
20 | | **P** | Pencil |
21 | | **T** | Text |
22 |
23 | #### Type
24 |
25 | | Shortcut | Action |
26 | | :-----: | :------ |
27 | | **xCMDB** | Bold |
28 | | **xCMDI** | Italic |
29 | | **xCMDU** | Underline |
30 | | **xOPTxCMD+** | Increase Font Size |
31 | | **xOPTxCMD-** | Decrease Font Size |
32 | | **xOPTxCTRLL** | Increase Character Spacing |
33 | | **xOPTxCTRLT** | Decrease Character Spacing |
34 | | **xCMDT** | Change Font |
35 | | **xSHIFTxCMDO** | Convert Text to Outlines |
36 | | **xCMDxSHIFT{** | Align Left |
37 | | **xCMDxSHIFT\\** | Align Center |
38 | | **xCMDxSHIFT}** | Align Right |
39 | | **xCTRLxCMDSpace** | Special Characters |
40 |
41 | #### Canvas View
42 |
43 | | Shortcut | Action |
44 | | :-----: | :------ |
45 | | **xCMD+** | Zoom In |
46 | | **xCMD-** | Zoom Out |
47 | | **xCMD0** | Actual Size |
48 | | **xCMD1** | Center Canvas |
49 | | **xCMD2** | Zoom Selection |
50 | | **xCMD3** | Center Selection |
51 | | **xOPTTab** | Focus on First Input Field** |
52 | | **xOPTG** | Temporary Zoom to Actual Size |
53 |
54 |
55 | | Shortcut | Action |
56 | | :-----: | :------ |
57 | | **xCTRLR** | Toggle Rulers |
58 | | **xCTRLG** | Toggle Grid |
59 | | **xCTRLL** | Toggle Layer Guides |
60 | | **xCTRLP** | Toggle Pixels |
61 | | **xCTRLH** | Toggle Selection Handles |
62 | | **xCTRLX** | Toggle Pixel Grid |
63 | | | |
64 |
65 | #### Window
66 |
67 | | Shortcut | Action |
68 | | :-----: | :------ |
69 | | **xCMD~** | Toggle between Documents |
70 | | **xOPTxCMD1** | Toggle Layers List |
71 | | **xOPTxCMD2** | Toggle Inspector |
72 | | **xOPTxCMD3** | Toggle Layers, Inspector |
73 | | **xOPTxCMDT** | Toggle Toolbar |
74 | | **xCMD.** | Presentation Mode |
75 | | **xCTRLxCMDF** | Enter Fullscreen |
76 |
77 | #### Editing Shapes
78 |
79 | | Shortcut | Action |
80 | | :-----: | :------ |
81 | | **xCMDxOPT** | Keep Current Selection |
82 | | **xCTRLxCMDM** | Use as Mask span (Works for Layers & Groups) |
83 | | **xOPTxCMDU** | Union |
84 | | **xOPTxCMDS** | Substract |
85 | | **xOPTxCMDI** | Intersect |
86 | | **xOPTxCMDX** | Difference |
87 | | **xCMD-Arrows** | Change Object Size |
88 | | **xSHIFTxCMD-Arrows** | Change Units by 10 |
89 | | **1, 2, 3, 4** | Change Vector Point Style |
90 |
91 | #### Editing Layers
92 |
93 | | Shortcut | Action |
94 | | :-----: | :------ |
95 | | **xOPT** | Show Distance to other Layers |
96 | | **xOPTxCMD** | Show Distance to other Layers inside Group |
97 | | **xOPTDrag** | Duplicate (Repeat with D) |
98 | | **xOPTxCMDC** | Copy Style |
99 | | **xOPTxCMDV** | Paste Style |
100 | | **xCTRLC** | Color Picker |
101 | | **xCMDT** | Transform |
102 | | **xSHIFTxCMDR** | Rotate |
103 | | **F** | Toggle Fill |
104 | | **B** | Toggle Border |
105 |
106 | #### Arranging Layers, Groups and Artboards
107 |
108 | | Shortcut | Action |
109 | | :-----: | :------ |
110 | | **xOPTxCMD** | Bring Forward |
111 | | **xCTRLxOPTxCMD** | Bring to Front |
112 | | **xOPTxCMD** | Send Backward |
113 | | **xCTRLxOPTxCMD** | Sent to Back |
114 | | **xSHIFTxCMDH** | Hide |
115 | | **xSHIFTxCMDL** | Lock |
116 | | **xCMDR** | Rename |
117 | | **xCMDG** | Group Layers |
118 | | **xSHIFTxCMDG** | Ungroup Layers |
119 | | **xSHIFTTab** | Select Above Layer |
120 | | **Tab** | Select Layer Below |
121 | | **Esc** | Select Parent Artboard |
122 | | **xCMDF** | Find Layer by Name |
123 | | **Fn + ** | Select Above Page |
124 | | **Fn + ** | Select Page Below |
125 |
126 | ### Creating Custom Shortcuts
127 |
128 | To create your own custom shortcuts, go to Keyboard in your System Preferences and click the Shortcuts tab. Select App Shortcuts and click + to create a new shortcut. Choose Sketch from the Application list, then enter the exact name of the menu item you want to create the shortcut for. Finally choose your own shortcut combination and youre all set.
129 |
130 | #### Useful Custom Shortcuts
131 |
132 | | Shortcut | Action |
133 | | :-----: | :------ |
134 | | **xOPTxCMD (+) +** | Maximize Window (Use Zoom as Menu Title) |
135 | | **xCMD[** | Align Vertically Center |
136 | | **xCMD]** | Align Horizontally Center |
137 | | **xOPTxCMDC** | Collapse Groups and Artboards |
138 |
139 | > Source: [Sketch Shortcuts](http://sketchshortcuts.com/)
140 |
--------------------------------------------------------------------------------
/params.json:
--------------------------------------------------------------------------------
1 | {"name":"Cheaters","tagline":"Customizable cheat sheet system for OS X","body":"Support Cheaters by contributing to my [GitTip fund](https://www.gittip.com/ttscoff/) or [making a donation](http://brettterpstra.com/donate/).\r\n\r\n\r\n\r\n[macdrifter]: http://www.macdrifter.com/2012/02/markdown-cheat-sheets-and-marked/\r\n[gather]: http://brettterpstra.com/introducing-gather-a-cocoa-markdownifier/\r\n[te]: http://smilesoftware.com/TextExpander/\r\n[marky]: http://markdownrules.com/\r\n[demo]: http://ttscoff.github.io/cheaters/cheaters/cheat.html\r\n\r\nFirst and foremost, this is a total ripoff of an idea by Gabe Weatherhead [over at Macdrifter][macdrifter]. I just expanded on the idea a little bit.\r\n\r\nCheaters is a collection of HTML-based cheat sheets meant for display in an Automator-based popup browser which can float on your screen while you work in other apps ([demo the web version][demo]). Most of the time I create [TextExpander][te] snippets for commonly-forgotten formats, but having an overall reference can be handy. I've included a collection of hastily made sheets as examples for you to create your own. Sheets are easy to create with minimal markup and are, for the most part, automatically styled and made to fit in with Cheaters overall aesthetic.\r\n\r\n\r\n\r\n\r\n### Update\r\n\r\nYou can use the instructions below if you're a cheapskate, but for $5 you can use [Fluid](http://fluidapp.com/) and create a menu bar app that's much more full-featured and usable than the Automator action. Seriously. Do it.\r\n\r\n### Using Cheaters\r\n\r\nThe most useful way to use Cheaters is with an Automator Application.\r\n\r\n\r\n\r\n1. Download the Zip file above and put it anywhere on your computer (I keep mine in Dropbox so that my cheat sheets are available on other machines). \r\n2. Open Automator in your Applications folder. \r\n3. Create a new project with the type \"Application.\" You can also use a Workflow, which can be launched easily from the command line, but I'm using an Application for now because it's easiest to launch with a hotkey program.\r\n4. Drag two actions from the library on the left into the blank area on the right: **Get Specified URLs** and **Website Popup**, in that order. You can find them quickly by selecting \"Library\" on the left and using the filter to locate them.\r\n5. Double click the default URL in the **Get Specified URLs** action and set it to the file path to your Cheaters folder. This will be in the format `file:///Users/yourusername/path/to/Cheaters/index.html`.\r\n6. Set a size in the **Website Popup** action. I'm using a custom size of 700x800, which works well on my setup with two large monitors. The popup is resizable after opening, so it's not critical. Cheaters has a responsive design that will mutate into a single column with a dropdown menu at smaller sizes, so if you have a small screen, use the iPhone preset.\r\n7. Save the application to your /Applications folder (or ~/Applications).\r\n\r\nYou can add a hotkey or other launch method using Launchbar, Keyboard Maestro, Alfred, Apptivator, etc. Lots of choices. When the application launches, it automatically becomes a floating HUD, and you can dismiss it by focusing it and using Escape or ⌘Q.\r\n\r\nYou can also use Cheaters in a web browser, just put it on your disk and point your browser to the `file:///...` location.\r\n\r\n### Deep linking\r\n\r\nAs of a recent update, Cheaters can now handle linking directly to a specific cheat sheet using url hashes. You can use a zero-index number to link to a page if you know the order (index.html#3 to link to the fourth item), but because the order is configurable and subject to change, it also supports name matching. For example, if you want to link the Siri cheat sheet directly, you can use `[your_url_or_path]/index.html#siri`.\r\n\r\nThe hash-matching is case-insensitive and will go to the first menu item whose text matches the hash (in whole or in part, whitespace is ignored). This means that if you have a menu item for \"CSS 3 Selectors\" followed by \"CSS Animation,\" `#css` will go to \"CSS 3 Selectors.\" To target \"CSS Animation,\" you'd want a url like `#cssanim` or the full `#cssanimation`.\r\n\r\nThis is primarily geared toward building more complex workflows using tools like Alfred 2.\r\n\r\n### Customizing\r\n\r\nIf you know a little HTML, adding and editing sheets is easy. Take a look at the existing documents in the included **cheatsheets** folder. The markup varies but a lot of cases are already handled by the CSS. I stole most of the included cheat sheets from existing web sources (credits at the bottom of each). Some of them I just ripped the HTML out of directly, some I [converted][marky] [to Markdown][gather] and then to HTML to get cleaner output. The HTML in the cheat sheets does not need a head, body or containing div, just the markup that goes inside the container in the index.html file.\r\n\r\n#### The menu\r\n\r\nThe index file for Cheaters loads each cheat sheet dynamically into its own markup (using jQuery). To add a new sheet to the menu (or remove/rearrange existing sheets), just edit the unordered list in the #nav ul. The order of the list is the order of the menu items, and the first one in the list is loaded by default. If you only ever want one cheat sheet, just make it the only one in the list. New cheat sheets should be stored as HTML files in the **cheatsheets** folder, and referenced from the links in the #nav list with the relative path `cheatsheets/filename.html`.\r\n\r\n#### The look\r\n\r\n\r\n\r\nIf you run into markup that isn't handled by the CSS, just wrap it in a div with a unique ID and add specific styles in the main CSS file to override or augment default styles. You can, of course, completely replace that stylesheet if you want an entirely different look. I promise not to be offended.\r\n\r\nThere's also a contrast icon in the upper right, which you can use to flip between light-on-dark and dark-on-light. You can make this change permanent by editing the body class in index.html. Adding a class of \"inverted\" will set it to be light-on-dark by default; without that class it's dark-on-light automatically.\r\n\r\n#### Using PDFs\r\n\r\n\r\n\r\nIf you find a PDF cheat sheet that's ideal for this type of display, you'll need to convert it to an image (gif, jpg or png) first. Make it large, between 800px and 1024px wide. Cheaters will automatically scale it to your browser width, and when your browser width gets small enough that the image would be unreadable, it shows it full size and lets you scroll around within the viewport. See the CSS3 cheat sheet markup for an example of using an image; it's just an image tag in an html file. Easy as pie.\r\n\r\nIf you create some great cheat sheets, fork this and send a pull request. Just [let me know](http://brettterpstra.com/contact) if you need a hand!\r\n\r\n","google":"UA-34296025-1","note":"Don't delete this file! It's used internally to help with page regeneration."}
--------------------------------------------------------------------------------
/cheaters/cheatsheets/rst.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | =====================================================
4 | The reStructuredText_ Cheat Sheet: Syntax Reminders
5 | =====================================================
6 | :Info: See for introductory docs.
7 | :Author: David Goodger
8 | :Date: $Date: 2013-02-20 01:10:53 +0000 (Wed, 20 Feb 2013) $
9 | :Revision: $Revision: 7612 $
10 | :Description: This is a "docinfo block", or bibliographic field list
11 |
12 | .. NOTE:: If you are reading this as HTML, please read
13 | ``_ instead to see the input syntax examples!
14 |
15 | Section Structure
16 | =================
17 | Section titles are underlined or overlined & underlined.
18 |
19 | Body Elements
20 | =============
21 | Grid table:
22 |
23 | +--------------------------------+-----------------------------------+
24 | | Paragraphs are flush-left, | Literal block, preceded by "::":: |
25 | | separated by blank lines. | |
26 | | | Indented |
27 | | Block quotes are indented. | |
28 | +--------------------------------+ or:: |
29 | | >>> print 'Doctest block' | |
30 | | Doctest block | > Quoted |
31 | +--------------------------------+-----------------------------------+
32 | | | Line blocks preserve line breaks & indents. [new in 0.3.6] |
33 | | | Useful for addresses, verse, and adornment-free lists; long |
34 | | lines can be wrapped with continuation lines. |
35 | +--------------------------------------------------------------------+
36 |
37 | Simple tables:
38 |
39 | ================ ============================================================
40 | List Type Examples (syntax in the `text source `_)
41 | ================ ============================================================
42 | Bullet list * items begin with "-", "+", or "*"
43 | Enumerated list 1. items use any variation of "1.", "A)", and "(i)"
44 | #. also auto-enumerated
45 | Definition list Term is flush-left : optional classifier
46 | Definition is indented, no blank line between
47 | Field list :field name: field body
48 | Option list -o at least 2 spaces between option & description
49 | ================ ============================================================
50 |
51 | ================ ============================================================
52 | Explicit Markup Examples (visible in the `text source`_)
53 | ================ ============================================================
54 | Footnote .. [1] Manually numbered or [#] auto-numbered
55 | (even [#labelled]) or [*] auto-symbol
56 | Citation .. [CIT2002] A citation.
57 | Hyperlink Target .. _reStructuredText: http://docutils.sf.net/rst.html
58 | .. _indirect target: reStructuredText_
59 | .. _internal target:
60 | Anonymous Target __ http://docutils.sf.net/docs/ref/rst/restructuredtext.html
61 | Directive ("::") .. image:: images/biohazard.png
62 | Substitution Def .. |substitution| replace:: like an inline directive
63 | Comment .. is anything else
64 | Empty Comment (".." on a line by itself, with blank lines before & after,
65 | used to separate indentation contexts)
66 | ================ ============================================================
67 |
68 | Inline Markup
69 | =============
70 | *emphasis*; **strong emphasis**; `interpreted text`; `interpreted text
71 | with role`:emphasis:; ``inline literal text``; standalone hyperlink,
72 | http://docutils.sourceforge.net; named reference, reStructuredText_;
73 | `anonymous reference`__; footnote reference, [1]_; citation reference,
74 | [CIT2002]_; |substitution|; _`inline internal target`.
75 |
76 | Directive Quick Reference
77 | =========================
78 | See for full info.
79 |
80 | ================ ============================================================
81 | Directive Name Description (Docutils version added to, in [brackets])
82 | ================ ============================================================
83 | attention Specific admonition; also "caution", "danger",
84 | "error", "hint", "important", "note", "tip", "warning"
85 | admonition Generic titled admonition: ``.. admonition:: By The Way``
86 | image ``.. image:: picture.png``; many options possible
87 | figure Like "image", but with optional caption and legend
88 | topic ``.. topic:: Title``; like a mini section
89 | sidebar ``.. sidebar:: Title``; like a mini parallel document
90 | parsed-literal A literal block with parsed inline markup
91 | rubric ``.. rubric:: Informal Heading``
92 | epigraph Block quote with class="epigraph"
93 | highlights Block quote with class="highlights"
94 | pull-quote Block quote with class="pull-quote"
95 | compound Compound paragraphs [0.3.6]
96 | container Generic block-level container element [0.3.10]
97 | table Create a titled table [0.3.1]
98 | list-table Create a table from a uniform two-level bullet list [0.3.8]
99 | csv-table Create a table from CSV data [0.3.4]
100 | contents Generate a table of contents
101 | sectnum Automatically number sections, subsections, etc.
102 | header, footer Create document decorations [0.3.8]
103 | target-notes Create an explicit footnote for each external target
104 | math Mathematical notation (input in LaTeX format)
105 | meta HTML-specific metadata
106 | include Read an external reST file as if it were inline
107 | raw Non-reST data passed untouched to the Writer
108 | replace Replacement text for substitution definitions
109 | unicode Unicode character code conversion for substitution defs
110 | date Generates today's date; for substitution defs
111 | class Set a "class" attribute on the next element
112 | role Create a custom interpreted text role [0.3.2]
113 | default-role Set the default interpreted text role [0.3.10]
114 | title Set the metadata document title [0.3.10]
115 | ================ ============================================================
116 |
117 | Interpreted Text Role Quick Reference
118 | =====================================
119 | See for full info.
120 |
121 | ================ ============================================================
122 | Role Name Description
123 | ================ ============================================================
124 | emphasis Equivalent to *emphasis*
125 | literal Equivalent to ``literal`` but processes backslash escapes
126 | math Mathematical notation (input in LaTeX format)
127 | PEP Reference to a numbered Python Enhancement Proposal
128 | RFC Reference to a numbered Internet Request For Comments
129 | raw For non-reST data; cannot be used directly (see docs) [0.3.6]
130 | strong Equivalent to **strong**
131 | sub Subscript
132 | sup Superscript
133 | title Title reference (book, etc.); standard default role
134 | ================ ============================================================
135 |
By default prefix is mapped to ctrl-b. If you haven’t remapped your Caps Lock key to ctrl yet, now would be a good time to do so! ↩
259 |
260 |
261 |
262 |
This is the line you add to your .tmux.conf file ↩
263 |
264 |
265 |
266 |
You should probably also add a line to unbind the defaults if you bind new keys for things. Just add a line saying unbind C-b to unbind the default prefix key. ↩
Cross-references will become your new best friend when writing long documents. They will highly improve the navigability of the generated documents by giving the reader links to jump across sections with a single click.
14 |
15 |
Example
16 |
17 |
18 | Clicking [here][section-preview] will lead you to the **Preview** section.
19 |
20 |
21 |
Result
22 |
23 |
Clicking here will lead you to the Preview section.
24 |
25 |
Footnotes
26 |
27 |
Footnotes are a simple, yet effective way of conveying non-crucial information to the reader.
28 |
29 |
Rather than parenthesizing a side note or place it between em-dashes – as unimportant as it is, the reader will go through it, just like you did now – you can defer its reading and expand on your thoughts there.
30 |
31 |
Example
32 |
33 |
34 | Clicking this number[^fn-sample_footnote] will lead you to a footnote.
35 |
36 | [^fn-sample_footnote]: Handy! Now click the return link to go back.
37 |
38 |
39 |
Result
40 |
41 |
Clicking this number[2] will lead you to a footnote.
42 |
43 |
Definitions
44 |
45 |
Definitions allow you specify different terms or can be set up to show you a chat log.
46 |
47 |
Please note the white space being used.
48 |
49 |
Example
50 |
51 |
52 | Apple
53 | : Pomaceous fruit of plants of the genus Malus in
54 | the family Rosaceae.
55 |
56 | Also the makers of really great products.
57 |
58 | Banana
59 | : 1. A delicious fruit that can be hazardous
60 | if left on the ground.
61 |
62 | 2. A fruit that comes with it's own packaging
63 |
64 | Orange
65 | : The fruit of an evergreen tree of the genus Citrus.
66 |
67 |
68 |
Result
69 |
70 |
71 |
Apple
72 |
73 |
Pomaceous fruit of plants of the genus Malus in the family Rosaceae.
74 |
75 |
Also the makers of really great products.
76 |
77 |
Banana
78 |
79 |
80 |
A delicious fruit that can be hazardous if left on the ground.
81 |
A fruit that comes with it’s own packaging
82 |
83 |
84 |
Orange
85 |
The fruit of an evergreen tree of the genus Citrus.
86 |
87 |
88 |
Custom attributes
89 |
90 |
MultiMarkdown introduces an unobtrusive way of adding custom attributes to images and links, allowing you to change they way they are displayed.
91 |
92 |
93 |
NOTE
94 | This is not available for inline links or images.
95 |
96 |
97 |
Example
98 |
99 |
100 | The original image is 128x128 and contains no shadow.
101 | ![Original icon][img-icon_original]
102 |
103 | It will be displayed as 96x96 with a subtle shadow.
104 | ![Styled icon][img-icon_styled]
105 |
106 | [img-icon_original]: img/icon128.png "B"
107 | [img-icon_styled]: img/icon128.png "B" width="96px" height="96px"
108 | class="shadow"
109 |
110 |
111 |
Meta information
112 |
113 |
With MultiMarkdown, you can also embed metadata on your documents.
114 |
115 |
Metadata must be placed at the top of the document – there can be no white-spaces before – and it ends with the first empty line. Each entry is composed of key and values, separated by a colon (
116 | :).
117 |
118 |
There are plenty of keys supported, some of the most common being
119 | Title,
120 | Author,
121 | Date,
122 | Copyright,
123 | Keywords and
124 | Email. Be sure to check Fletcher’s guide for a full reference.
125 |
126 |
127 |
TIP
128 | When adding metadata information to your documents, make sure you always leave two spaces at the end of each metadata line. This will ensure that exporting to plain Markdown will result in a properly formatted piece of text – as opposed to a single run-on paragraph.
129 |
130 |
131 |
Example
132 |
133 |
134 | Title: Document title
135 | Author: John Doe
136 | Jane Doe
137 | Date: January 1st, 2012
138 |
139 |
140 |
Tables
141 |
142 |
Tables are perfect to display structured data in rows and columns. MultiMarkdown supports the generation of tables by using a couple of simple rules alongside the use of the pipe character –
143 | |.
144 |
145 |
Example
146 |
147 |
148 | | First Header | Second Header | Third Header |
149 | | :------------ | :-----------: | -------------------: |
150 | | First row | Data | Very long data entry |
151 | | Second row | **Cell** | *Cell* |
152 | | Third row | Cell that spans across two columns ||
153 | [Table caption, works as a reference][section-mmd-tables-table1]
154 |
155 |
156 |
Result
157 |
158 |
159 |
Table caption, works as a reference
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
First Header
169 |
Second Header
170 |
Third Header
171 |
172 |
173 |
174 |
175 |
176 |
First row
177 |
Data
178 |
Very long data entry
179 |
180 |
181 |
Second row
182 |
Cell
183 |
Cell
184 |
185 |
186 |
Third row
187 |
Cell that spans across two columns
188 |
189 |
190 |
191 |
Structure
192 |
193 |
If you are familiar with HTML tables, you’ll instantly recognize the structure of the table syntax. All tables must begin with one or more rows of headers, and each row may have one or more columns.
194 |
195 |
These are the most important rules you’ll be dealing with:
196 |
197 |
198 |
There must be at least one
199 | | per line;
200 |
After the header rows, there must be a line containing only
201 | |,
202 | -,
203 | :,
204 | ., or spaces;
205 |
Cell content must be on one line only;
206 |
Columns are separated by
207 | |.
208 |
209 |
210 |
Alignment
211 |
212 |
To align the data cells on the table, you need to introduce a special row right after the headers, that will determine how the following rows – the data rows – will be aligned.
213 |
214 |
215 | | Header One | Header Two | Header Three | Header Four |
216 | | ---------- | :--------- | :----------: | ----------: |
217 | | Default | Left | Center | Right |
218 |
219 |
220 |
221 |
222 |
223 |
224 |
225 |
226 |
227 |
228 |
229 |
230 |
Header One
231 |
Header Two
232 |
Header Three
233 |
Header Four
234 |
235 |
236 |
237 |
238 |
239 |
Default
240 |
Left
241 |
Center
242 |
Right
243 |
244 |
245 |
246 |
The placing of the colon (
247 | :) is optional and determines the alignment of columns in the data rows. This line is mandatory and must be placed between the headers and the data rows.
248 |
249 |
Also, the usage of the
250 | | at the beginning or end of the rows is optional – as long as at least one
251 | | is present in each row.
252 |
253 |
Column spanning
254 |
255 |
To make a cell span across multiple columns, instead of using a single pipe (
256 | |) character to delimit that cell, use the number of pipes corresponding to the columns you wish to span.
NOTE
290 | This is only an introduction to MultiMarkdown’s tables. For the full reference, please refer to the “Tables” section on the MultiMarkdown user guide.
422 |
423 |
--------------------------------------------------------------------------------
/cheaters/cheatsheets/drush.md:
--------------------------------------------------------------------------------
1 | ###Drush commands
2 |
3 | ####Execute a drush command
4 |
5 | | Command | Description |
6 | | ----:|:---- |
7 | | Run `drush help [command]` to view command-specific help | Run `drush topic` to read even more documentation |
8 |
9 | ####Global options
10 |
11 | (see `drush topic core-global-options` for the full list)
12 |
13 | | Command | Description |
14 | | ----:|:---- |
15 | | -d, --debug | Display even more information, including internal messages |
16 | | -h, --help | This help system |
17 | | -n, --no | Assume 'no' as answer to all prompts |
18 | | -r , --root= | Drupal root directory to use (default: current directory) | |
19 | | -s, --simulate | Simulate all relevant actions (don't actually change the system) | |
20 | | -l <[URL]>, --uri=<[URL]> | URI of the drupal site to use (only needed in multisite environments or when running on an alternate port) |
21 | | -v, --verbose | Display extra information about the command |
22 | | -y, --yes | Assume 'yes' as answer to all prompts |
23 |
24 | ####Core drush commands: (core)
25 |
26 | | Command | Description |
27 | | ----:|:---- |
28 | | archive-dump (ard), archive-backup (arb) | Backup your code, files, and database into a single file |
29 | | archive-restore (arr) | Expand a site archive into a Drupal web site |
30 | | browse | Display a link to a given path or open link in a browser |
31 | | core-cli (php) | Open an interactive shell on a Drupal site |
32 | | core-config (conf, config) | Edit drushrc, site alias, and Drupal settingsphp files |
33 | | core-cron (cron) | Run all cron hooks in all active modules for specified site |
34 | | core-execute (exec, execute) | Execute a shell command Usually used with a site alias |
35 | | core-quick-drupal (qd) | Download, install, serve and login to Drupal with minimal configuration and dependencies |
36 | | core-requirements (status-report, rq) | Provides information about things that may be wrong in your Drupal installation, if any |
37 | | core-rsync (rsync) | Rsync the Drupal tree to/from another server using ssh |
38 | | core-status (status, st) | Provides a birds-eye view of the current Drupal installation, if any |
39 | | core-topic (topic) | Read detailed documentation on a given topic |
40 | | drupal-directory (dd) | Return path to a given module/theme directory |
41 | | help | Print this help message See `drush help help` for more options |
42 | | image-derive (id) | Create an image derivative |
43 | | image-flush (if) | Flush all derived images for a given style |
44 | | php-eval (eval, ev) | Evaluate arbitrary php code after bootstrapping Drupal (if available) | |
45 | | php-script (scr) | Run php script(s) | |
46 | | queue-list | Returns a list of all defined queues |
47 | | queue-run | Run a specific queue by name |
48 | | shell-alias (sha) | Print all known shell alias records |
49 | | site-alias (sa) | Print site alias records for all known site aliases and local sites |
50 | | site-install (si) | Install Drupal along with modules/themes/configuration using the specified install profile |
51 | | site-set (use) | Set a site alias to work on that will persist for the current session |
52 | | site-ssh (ssh) | Connect to a Drupal site's server via SSH for an interactive session or to run a shell command |
53 | | test-clean | Clean temporary tables and files |
54 | | test-run | Run tests Note that you must use the --uri option via the CLI or via a site alias |
55 | | updatedb (updb) | Apply any database updates required (as with running updatephp) | |
56 | | updatedb-status (updbst) | List any pending database updates |
57 | | usage-send (usend) | Send anonymous Drush usage information to statistics logging site Usage statistics contain the Drush command name and the Drush option names, but no arguments or option values |
58 | | usage-show (ushow) | Show Drush usage information that has been logged but not sent Usage statistics contain the Drush command name and the Drush option names, but no arguments or option values |
59 | | variable-delete (vdel) | Delete a variable |
60 | | variable-get (vget) | Get a list of some or all site variables and values |
61 | | variable-set (vset) | Set a variable |
62 | | version | Show drush version |
63 |
64 | ####Runserver commands: (runserver)
65 |
66 | | Command | Description |
67 | | ----:|:---- |
68 | | runserver (rs) | Runs a lightweight built in http server for development |
69 |
70 | ####Tools for auditing a Drupal site: (site_audit)
71 |
72 | | Command | Description |
73 | | ----:|:---- |
74 | | audit_all (aa) | Executes every Site Audit Report |
75 | | audit_best_practices (abp) | Audit best practices used |
76 | | audit_block (ab) | Audit Block |
77 | | audit_cache (ac) | Audit Drupal's caching settings |
78 | | audit_codebase (acb) | Audit the codebase |
79 | | audit_content (acn) | Audit content |
80 | | audit_cron (acr) | Audit cron |
81 | | audit_database (ad) | Report information about a site environment's database |
82 | | audit_extensions (ae) | Audit extensions (modules and themes) | |
83 | | audit_insights (agi) | Analyze a site using Google PageSpeed Insights |
84 | | audit_security (asec) | Audit the site for known security vulnerabilities |
85 | | audit_status (as) | Audit Drupal's built-in status report |
86 | | audit_users (au) | Audit Users |
87 | | audit_views (av) | Audit Views |
88 | | audit_watchdog (aw) | Audit the database logs |
89 | | site-audit-version | Show the Site Audit version |
90 |
91 | ####Cache commands: (cache)
92 |
93 | | Command | Description |
94 | | ----:|:---- |
95 | | cache-clear (cc) | Clear a specific cache, or all drupal caches |
96 | | cache-get (cg) | Fetch a cached object and display it |
97 | | cache-rebuild (cr, rebuild) | Rebuild a Drupal 8 site and clear all its caches |
98 | | cache-set (cs) | Cache an object expressed in JSON or `var_export()` format |
99 |
100 | ####Config commands: (config)
101 |
102 | | Command | Description |
103 | | ----:|:---- |
104 | | config-edit (cedit) | Open a config file in a text editor Edits are imported into active configration after closing editor |
105 | | config-export (cex) | Export config from the active directory |
106 | | config-get (cget) | Display a config value, or a whole configuration object |
107 | | config-import (cim) | Import config from a config directory |
108 | | config-list (cli) | List config names by prefix |
109 | | config-set (cset) | Set config value directly in active configuration |
110 |
111 | ####Field commands: (field)
112 |
113 | | Command | Description |
114 | | ----:|:---- |
115 | | field-clone | Clone a field and all its instances |
116 | | field-create | Create fields and instances; returns urls for field editing |
117 | | field-delete | Delete a field and its instances |
118 | | field-info | View information about fields, field_types, and widgets |
119 | | field-update | Return URL for field editing web page |
120 |
121 | ####Project manager commands: (pm)
122 |
123 | | Command | Description |
124 | | ----:|:---- |
125 | | pm-disable (dis) | Disable one or more extensions (modules or themes) | |
126 | | pm-download (dl) | Download projects from drupalorg or other sources |
127 | | pm-enable (en) | Enable one or more extensions (modules or themes) | |
128 | | pm-info (pmi) | Show detailed info for one or more extensions (modules or themes) | |
129 | | pm-list (pml) | Show a list of available extensions (modules and themes) | |
130 | | pm-refresh (rf) | Refresh update status information |
131 | | pm-releasenotes (rln) | Print release notes for given projects |
132 | | pm-releases (rl) | Print release information for given projects |
133 | | pm-uninstall (pmu) | Uninstall one or more modules |
134 | | pm-update (up) | Update Drupal core and contrib projects and apply any pending database updates (Same as pm-updatecode + updatedb) | |
135 | | pm-updatecode (upc) | Update Drupal core and contrib projects to latest recommended releases |
136 | | pm-updatestatus (ups) | Show a report of available minor updates to Drupal core and contrib projects |
137 |
138 | ####Role commands: (role)
139 |
140 | | Command | Description |
141 | | ----:|:---- |
142 | | role-add-perm (rap) | Grant a specified permission to a role |
143 | | role-create (rcrt) | Create a new role |
144 | | role-delete (rdel) | Delete a role |
145 | | role-list (rls) | Display a list of all roles defined on the system If a role name is provided as an argument, then all of the permissions of that role will be listed If a permission name is provided as an option, then all of the roles that have been granted that permission will be listed |
146 | | role-remove-perm (rmp) | Remove a specified permission from a role | |
147 |
148 | ####SQL commands: (sql)
149 |
150 | | Command | Description |
151 | | ----:|:---- |
152 | | sql-cli (sqlc) | Open a SQL command-line interface using Drupal's credentials |
153 | | sql-connect | A string for connecting to the DB |
154 | | sql-create | Create a database |
155 | | sql-drop | Drop all tables in a given database |
156 | | sql-dump | Exports the Drupal DB as SQL using mysqldump or equivalent |
157 | | sql-query (sqlq) | Execute a query against a database |
158 | | sql-sanitize (sqlsan) | Run sanitization operations on the current database |
159 | | sql-sync | Copy and import source database to target database Transfers via rsync |
160 |
161 | ####Search commands: (search)
162 |
163 | | Command | Description |
164 | | ----:|:---- |
165 | | search-index | Index the remaining search items without wiping the index |
166 | | search-reindex | Force the search index to be rebuilt |
167 | | search-status | Show how many items remain to be indexed out of the total |
168 |
169 | ####User commands: (user)
170 |
171 | | Command | Description |
172 | | ----:|:---- |
173 | | user-add-role (urol) | Add a role to the specified user accounts |
174 | | user-block (ublk) | Block the specified user(s) | |
175 | | user-cancel (ucan) | Cancel a user account with the specified name |
176 | | user-create (ucrt) | Create a user account with the specified name |
177 | | user-information (uinf) | Print information about the specified user(s) | |
178 | | user-login (uli) | Display a one time login link for the given user account (defaults to uid 1) | |
179 | | user-password (upwd) | (Re)Set the password for the user account with the specified name |
180 | | user-remove-role (urrol) | Remove a role from the specified user accounts |
181 | | user-unblock (uublk) | Unblock the specified user(s) | |
182 |
183 | ####User permission commands: (permissions)
184 |
185 | | Command | Description |
186 | | ----:|:---- |
187 | | permissions-list (perl) | List user permissions |
188 | | permissions-user (peru) | Print permissions of the specified user(s) | |
189 |
190 | ####Watchdog commands: (watchdog)
191 |
192 | | Command | Description |
193 | | ----:|:---- |
194 | | watchdog-delete (wd-del, wd-delete) | Delete watchdog messages |
195 | | watchdog-list (wd-list) | Show available message types and severity levels A prompt will ask for a choice to show watchdog messages |
196 | | watchdog-show (wd-show, ws) | Show watchdog messages |
197 |
198 | ####All commands in devel: (devel)
199 |
200 | | Command | Description |
201 | | ----:|:---- |
202 | | devel-download | Downloads the FirePHP library from http://firephporg/ |
203 | | devel-reinstall (dre) | Disable, Uninstall, and Install a list of projects |
204 | | devel-token (token) | List available tokens |
205 | | fn-hook (fnh, hook) | List implementations of a given hook and explore the source of the selected one |
206 | | fn-view (fnv) | Show the source of specified function or method |
207 |
208 | ####All commands in devel_generate: (devel_generate)
209 |
210 | | Command | Description |
211 | | ----:|:---- |
212 | | generate-content (genc) | Create content |
213 | | generate-menus (genm) | Create menus and menu items |
214 | | generate-terms (gent) | Create terms in specified vocabulary |
215 | | generate-users (genu) | Create users |
216 | | generate-vocabs (genv) | Create vocabularies |
217 |
218 | ####Other commands
219 |
220 | | Command | Description |
221 | | ----:|:---- |
222 | | clean-modules | Find and remove enabled modules that do not exist from the database |
223 | | composer | Perform package management and dependency tracking of your projects and libraries |
224 | | drupalgeddon-test (drugtest) | Check for known indications of Drupalgeddon exploit |
225 | | make | Turns a makefile into a working Drupal codebase |
226 | | make-generate (generate-makefile) | Generate a makefile from the current Drupal site |
227 | | registry-rebuild (rr) | Rebuild the registry table (for classes) and the system table (for module locations) in a Drupal install |
228 | | stripe-download | Downloads the Stripe PHP library from |
229 |
230 | (clean_missing_modules, composer, drupalgeddon, make, registry_rebuild, commerce_stripe)
231 |
232 | ---
233 |
234 | Created by Stuart Hertzog
235 |
--------------------------------------------------------------------------------