├── Subversion (SVN).textexpander
├── Sass.textexpander
├── README.md
├── CSS.textexpander
├── Drush.textexpander
├── SQL.textexpander
├── CentOS.textexpander
├── Ruby.textexpander
├── PHP.textexpander
├── Shell Commands.textexpander
├── MySQL.textexpander
├── Apache.textexpander
├── Git.textexpander
└── Linux.textexpander
/Subversion (SVN).textexpander:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | groupInfo
6 |
7 | expandAfterMode
8 | 0
9 | groupName
10 | Subversion (SVN)
11 |
12 | snippetsTE2
13 |
14 |
15 | abbreviation
16 | svn:clean
17 | abbreviationMode
18 | 1
19 | creationDate
20 | 2012-01-02T16:53:24Z
21 | flags
22 | 2
23 | label
24 | Delete all .svn folders
25 | modificationDate
26 | 2012-03-18T08:36:35Z
27 | plainText
28 | find ./ -name ".svn" | xargs rm -Rf
29 | snippetType
30 | 3
31 | useCount
32 | 0
33 | uuidString
34 | E1760690-0005-4BB9-A9E1-AAF22DDA5B85
35 |
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/Sass.textexpander:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | groupInfo
6 |
7 | expandAfterMode
8 | 0
9 | groupName
10 | Sass
11 |
12 | snippetsTE2
13 |
14 |
15 | abbreviation
16 | sass:mixin:retina
17 | abbreviationMode
18 | 1
19 | creationDate
20 | 2013-07-16T22:17:16Z
21 | flags
22 | 0
23 | label
24 | Mixin: Hi-DPI (Retina) web typography
25 | modificationDate
26 | 2013-07-16T22:21:03Z
27 | plainText
28 | // Hi-DPI (Retina) web typography
29 | @mixin retina($ratio: 1.5) {
30 | $dpi: $ratio * 96;
31 | $opera-ratio: $ratio * 100;
32 |
33 | @media only screen and (-webkit-min-device-pixel-ratio: #{$ratio}),
34 | only screen and ( -o-min-device-pixel-ratio: '#{$opera-ratio}/100'),
35 | only screen and ( min-resolution: #{$dpi}dpi),
36 | only screen and ( min-resolution: #{$ratio}dppx) {
37 | @content;
38 | }
39 | }
40 |
41 | /*
42 | // Usage example:
43 | @import "retina";
44 |
45 | .body-text {
46 | font-weight: normal;
47 |
48 | @include retina {
49 | font-weight: 300;
50 | }
51 | }
52 | */
53 |
54 |
55 | snippetType
56 | 0
57 | useCount
58 | 0
59 | uuidString
60 | ED8E722F-4E19-4AF0-BB83-63449CEA4879
61 |
62 |
63 |
64 |
65 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # TextExpander Packs
2 |
3 | 
4 |
5 | ### TextExpander snippet packs for developers
6 |
7 | These snippet groups are perfect for developers. Each group is easy to add to [TextExpander](https://smilesoftware.com/TextExpander) by using the "Add Group from URL" feature, just copy your desired group from the links below.
8 |
9 | ## Packs available:
10 | * [Apache](https://raw.githubusercontent.com/ccharlton/TextExpander-Packs/master/Apache.textexpander)
11 | * [CSS](https://raw.githubusercontent.com/ccharlton/TextExpander-Packs/master/CSS.textexpander), [Sass](https://raw.githubusercontent.com/ccharlton/TextExpander-Packs/master/Sass.textexpander)
12 | * [Git](https://raw.githubusercontent.com/ccharlton/TextExpander-Packs/master/Git.textexpander), [SVN](https://raw.githubusercontent.com/ccharlton/TextExpander-Packs/master/Subversion%20\(SVN\).textexpander) (Subversion)
13 | * [Linux, Ubuntu](https://raw.githubusercontent.com/ccharlton/TextExpander-Packs/master/Linux.textexpander), [CentOS](https://raw.githubusercontent.com/ccharlton/TextExpander-Packs/master/CentOS.textexpander)
14 | * [MySQL](https://raw.githubusercontent.com/ccharlton/TextExpander-Packs/master/MySQL.textexpander), [SQL](https://raw.githubusercontent.com/ccharlton/TextExpander-Packs/master/SQL.textexpander)
15 | * [PHP](https://raw.githubusercontent.com/ccharlton/TextExpander-Packs/master/PHP.textexpander)
16 | * [Ruby](https://raw.githubusercontent.com/ccharlton/TextExpander-Packs/master/Ruby.textexpander)
17 | * [Shell commands](https://raw.githubusercontent.com/ccharlton/TextExpander-Packs/master/Shell%20Commands.textexpander)
18 | * [Drush](https://raw.githubusercontent.com/ccharlton/TextExpander-Packs/master/Drush.textexpander) (Drupal)
19 |
20 |
21 | ## Links
22 | Website: http://ccharlton.github.io/TextExpander-Packs
23 |
24 | Source Code: http://github.com/ccharlton/TextExpander-Packs
25 |
26 |
27 |
28 | ## Credits
29 | Created by [Chris Charlton](http://chrischarlton.us) of [XTND.US](http://xtnd.us)
30 |
--------------------------------------------------------------------------------
/CSS.textexpander:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | groupInfo
6 |
7 | expandAfterMode
8 | 0
9 | groupName
10 | CSS
11 |
12 | snippetsTE2
13 |
14 |
15 | abbreviation
16 | css:retina
17 | abbreviationMode
18 | 1
19 | creationDate
20 | 2013-07-16T22:14:20Z
21 | flags
22 | 0
23 | label
24 | Hi-DPI web typography
25 | modificationDate
26 | 2013-07-16T22:16:58Z
27 | plainText
28 | body, .body-text {
29 | font-weight: normal;
30 |
31 | @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
32 | only screen and (-o-min-device-pixel-ratio: '150/100'),
33 | only screen and (min-resolution: 96dpi),
34 | only screen and (min-resolution: 1.5dppx) {
35 | font-weight: 300;
36 | }
37 | snippetType
38 | 0
39 | useCount
40 | 0
41 | uuidString
42 | 8557F377-6E9B-464F-9B08-26BBDEF24C36
43 |
44 |
45 | abbreviation
46 | css:minify
47 | abbreviationMode
48 | 0
49 | creationDate
50 | 2012-03-16T05:51:32Z
51 | flags
52 | 0
53 | label
54 | Minify CSS file
55 | modificationDate
56 | 2012-03-16T05:52:13Z
57 | plainText
58 | csstidy %fill:filename%.css --template=high %fill:filename%.min.css
59 | snippetType
60 | 0
61 | useCount
62 | 0
63 | uuidString
64 | C648D55A-7443-47F8-94C7-835679F2D8BD
65 |
66 |
67 |
68 |
69 |
--------------------------------------------------------------------------------
/Drush.textexpander:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | groupInfo
6 |
7 | expandAfterMode
8 | 0
9 | groupName
10 | Drush (Drupal)
11 |
12 | snippetsTE2
13 |
14 |
15 | abbreviation
16 | drush:sa:new
17 | abbreviationMode
18 | 1
19 | creationDate
20 | 2013-07-16T23:22:08Z
21 | flags
22 | 0
23 | label
24 | Generate quick Drush Site Alias file from current site
25 | modificationDate
26 | 2013-07-16T23:22:08Z
27 | plainText
28 | drush --full --with-optional site-alias @self >> ~/.drush/%filltext:name=Site name:default=mysite%.alias.drushrc.php
29 | snippetType
30 | 0
31 | useCount
32 | 0
33 | uuidString
34 | 1B4A624F-2DFE-4618-B00B-C089B071CE71
35 |
36 |
37 | abbreviation
38 | drush:flood:del
39 | abbreviationMode
40 | 1
41 | creationDate
42 | 2013-06-23T07:21:59Z
43 | flags
44 | 0
45 | label
46 | Flush all login flood locks
47 | modificationDate
48 | 2013-06-23T08:30:43Z
49 | plainText
50 | drush sqlq "DELETE FROM flood;"
51 | snippetType
52 | 0
53 | useCount
54 | 0
55 | uuidString
56 | 7D722632-2115-404C-9E42-22AF40BD40B1
57 |
58 |
59 | abbreviation
60 | drush:flood:user
61 | abbreviationMode
62 | 1
63 | creationDate
64 | 2013-06-23T07:21:59Z
65 | flags
66 | 0
67 | label
68 | Remove login flood lock for specific user
69 | modificationDate
70 | 2013-06-23T08:31:12Z
71 | plainText
72 | drush sqlq "DELETE FROM flood WHERE event = 'failed_login_attempt_user' AND identifier LIKE '%filltext:name=User ID%-%%';"
73 | snippetType
74 | 0
75 | useCount
76 | 0
77 | uuidString
78 | 271ABB70-00B5-47EB-AD31-64CDC9570CA2
79 |
80 |
81 |
82 |
83 |
--------------------------------------------------------------------------------
/SQL.textexpander:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | groupInfo
6 |
7 | expandAfterMode
8 | 0
9 | groupName
10 | SQL
11 |
12 | snippetsTE2
13 |
14 |
15 | abbreviation
16 | db:new
17 | abbreviationMode
18 | 1
19 | creationDate
20 | 2013-06-23T05:50:09Z
21 | label
22 | Create new database
23 | modificationDate
24 | 2013-06-23T05:50:09Z
25 | plainText
26 | CREATE DATABASE %filltext:name=Database%;
27 | snippetType
28 | 0
29 | uuidString
30 | 70449749-01C2-45BE-8B12-D77F1FB46C5C
31 |
32 |
33 | abbreviation
34 | db:del
35 | abbreviationMode
36 | 1
37 | creationDate
38 | 2013-06-23T05:48:37Z
39 | label
40 | Delete database
41 | modificationDate
42 | 2013-06-23T05:50:43Z
43 | plainText
44 | DROP DATABASE %filltext:name=Database%;
45 | snippetType
46 | 0
47 | uuidString
48 | 00B87955-E1B0-4C5F-A152-16D179248021
49 |
50 |
51 | abbreviation
52 | db:size
53 | abbreviationMode
54 | 0
55 | creationDate
56 | 2015-08-06T18:46:02Z
57 | label
58 | Get size of all database tables (largest first)
59 | modificationDate
60 | 2015-08-06T18:47:02Z
61 | plainText
62 | SELECT table_name AS "Tables",
63 | round(((data_length + index_length) / 1024 / 1024), 2) "Size in MB"
64 | FROM information_schema.TABLES
65 | WHERE table_schema = "%filltext:name=Database name%"
66 | ORDER BY (data_length + index_length) DESC;
67 | snippetType
68 | 0
69 | uuidString
70 | 761650F8-1417-4219-9EDF-4FD233405EBF
71 |
72 |
73 | abbreviation
74 | db:report
75 | abbreviationMode
76 | 0
77 | creationDate
78 | 2015-08-06T18:47:38Z
79 | label
80 | Get size and stats of all datatabases
81 | modificationDate
82 | 2015-08-06T18:48:42Z
83 | plainText
84 | SELECT CONCAT(table_schema, '.', table_name) AS "DB/Table name",
85 | CONCAT(ROUND(table_rows / 1000000, 2), 'M') rows,
86 | CONCAT(ROUND(data_length / ( 1024 * 1024 * 1024 ), 2), 'G') DATA,
87 | CONCAT(ROUND(index_length / ( 1024 * 1024 * 1024 ), 2), 'G') idx,
88 | CONCAT(ROUND(( data_length + index_length ) / ( 1024 * 1024 * 1024 ), 2), 'G') total_size,
89 | ROUND(index_length / data_length, 2) idxfrac
90 | FROM information_schema.TABLES
91 | ORDER BY data_length + index_length DESC;
92 | snippetType
93 | 0
94 | uuidString
95 | ACB68A56-C325-478D-BA36-A50F59B8438F
96 |
97 |
98 |
99 |
100 |
--------------------------------------------------------------------------------
/CentOS.textexpander:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | groupInfo
6 |
7 | expandAfterMode
8 | 0
9 | groupName
10 | CentOS
11 |
12 | snippetsTE2
13 |
14 |
15 | abbreviation
16 |
17 | abbreviationMode
18 | 1
19 | creationDate
20 | 2011-12-31T01:33:29Z
21 | flags
22 | 2
23 | label
24 | Install APC PHP accelerator
25 | modificationDate
26 | 2011-12-31T01:33:29Z
27 | plainText
28 | yum install php-pear
29 | yum install pcre-devel
30 | yum install php-devel
31 | yum install httpd-devel
32 | pecl install apc-beta
33 | echo "extension=apc.so" > /etc/php.d/apc.ini
34 | service httpd restart
35 | snippetType
36 | 3
37 | useCount
38 | 0
39 | uuidString
40 | E70C475F-F0F7-41B7-A9D1-946EB50737C0
41 |
42 |
43 | abbreviation
44 |
45 | abbreviationMode
46 | 1
47 | creationDate
48 | 2011-12-31T01:32:25Z
49 | flags
50 | 2
51 | label
52 | Upgrade Java 1.4 to 1.5 and start Tomcat
53 | modificationDate
54 | 2011-12-31T01:33:18Z
55 | plainText
56 | sudo yum remove java |
57 | sudo yum install java-1.6.0-openjdk |
58 | yum install java-1.6.0-openjdk-devel |
59 | sudo yum install -y tomcat5 |
60 | service tomcat5 start
61 | snippetType
62 | 3
63 | useCount
64 | 0
65 | uuidString
66 | 55212905-A881-47A4-A4A6-B452FD65CADA
67 |
68 |
69 | abbreviation
70 |
71 | abbreviationMode
72 | 1
73 | creationDate
74 | 2011-12-31T01:31:26Z
75 | flags
76 | 2
77 | label
78 | Install Git
79 | modificationDate
80 | 2011-12-31T01:31:26Z
81 | plainText
82 | rpm -ivh http://repo.webtatic.com/yum/centos/5/`uname -i`/webtatic-release-5-1.noarch.rpm | yum install --enablerepo=webtatic git-all
83 | snippetType
84 | 3
85 | useCount
86 | 0
87 | uuidString
88 | BD7F6406-C750-40CE-AA4A-6B37992714E8
89 |
90 |
91 | abbreviation
92 |
93 | abbreviationMode
94 | 1
95 | creationDate
96 | 2011-12-31T01:30:44Z
97 | flags
98 | 2
99 | label
100 | Install libcurl distribution (long)
101 | modificationDate
102 | 2011-12-31T01:30:44Z
103 | plainText
104 | yum install freetype-devel libpng-devel libjpeg-devel libpng libjpeg t1lib libc-client-devel libmcrypt-devel gmp-devel mysql-devel
105 | snippetType
106 | 3
107 | useCount
108 | 0
109 | uuidString
110 | 23985768-27A3-4320-BC15-AD0C4A3A18B9
111 |
112 |
113 | abbreviation
114 |
115 | abbreviationMode
116 | 1
117 | creationDate
118 | 2011-12-31T01:27:26Z
119 | flags
120 | 2
121 | label
122 | Install libcurl distribution (short)
123 | modificationDate
124 | 2011-12-31T01:30:38Z
125 | plainText
126 | yum -y install curl-devel
127 | snippetType
128 | 3
129 | useCount
130 | 0
131 | uuidString
132 | DFE37FBC-6061-4E2A-AC07-4945108E48E0
133 |
134 |
135 | abbreviation
136 |
137 | abbreviationMode
138 | 1
139 | creationDate
140 | 2011-12-31T01:25:49Z
141 | flags
142 | 2
143 | label
144 | Install APC & Uploadprogress
145 | modificationDate
146 | 2011-12-31T01:27:00Z
147 | plainText
148 | yum install php-pear |
149 | yum install php-devel |
150 | yum install httpd-devel |
151 | pecl install apc
152 | snippetType
153 | 3
154 | useCount
155 | 0
156 | uuidString
157 | 3B4BC978-8F66-4025-9520-4642A399D940
158 |
159 |
160 |
161 |
162 |
--------------------------------------------------------------------------------
/Ruby.textexpander:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | groupInfo
6 |
7 | expandAfterMode
8 | 0
9 | groupName
10 | Ruby
11 |
12 | snippetsTE2
13 |
14 |
15 | abbreviation
16 | ruby:gem:version
17 | abbreviationMode
18 | 1
19 | creationDate
20 | 2013-06-23T08:12:16Z
21 | flags
22 | 0
23 | label
24 | Get Gem package manger version
25 | modificationDate
26 | 2013-06-23T08:12:16Z
27 | plainText
28 | gem -v
29 | snippetType
30 | 0
31 | useCount
32 | 0
33 | uuidString
34 | 96DBA084-D4CF-43C9-BFD8-C2B4A1712CB8
35 |
36 |
37 | abbreviation
38 | ruby:version
39 | abbreviationMode
40 | 1
41 | creationDate
42 | 2013-06-23T08:11:49Z
43 | flags
44 | 0
45 | label
46 | Get Ruby version
47 | modificationDate
48 | 2013-06-23T08:11:49Z
49 | plainText
50 | ruby -v
51 | snippetType
52 | 0
53 | useCount
54 | 0
55 | uuidString
56 | B4DDCA7E-FB14-43D1-A8D6-478ADEC4587E
57 |
58 |
59 | abbreviation
60 | ruby:gem:info
61 | abbreviationMode
62 | 1
63 | creationDate
64 | 2013-06-23T08:10:55Z
65 | flags
66 | 0
67 | label
68 | Show all Ruby gem environment details
69 | modificationDate
70 | 2013-06-23T08:10:55Z
71 | plainText
72 | gem environment
73 | snippetType
74 | 0
75 | useCount
76 | 0
77 | uuidString
78 | C03D6ABA-905F-46DD-A482-FD419F1D83C3
79 |
80 |
81 | abbreviation
82 | ruby:gem:clean
83 | abbreviationMode
84 | 1
85 | creationDate
86 | 2013-06-23T08:02:23Z
87 | flags
88 | 0
89 | label
90 | Clean up old versions of installed Ruby gems
91 | modificationDate
92 | 2013-06-23T08:02:23Z
93 | plainText
94 | gem cleanup%fillpart:name=Gem name% gem_name%fillpartend%
95 | snippetType
96 | 0
97 | useCount
98 | 0
99 | uuidString
100 | 98B3D4CB-9030-4C9D-B1DD-93DF0C402514
101 |
102 |
103 | abbreviation
104 | ruby:gem:find
105 | abbreviationMode
106 | 1
107 | creationDate
108 | 2013-06-23T08:01:37Z
109 | flags
110 | 0
111 | label
112 | Find the location
113 | modificationDate
114 | 2013-06-23T08:01:37Z
115 | plainText
116 | gem which %filltext:name=Gem name%
117 | snippetType
118 | 0
119 | useCount
120 | 0
121 | uuidString
122 | C3FA22A7-9591-4C1C-88D4-8EA674ECFCE1
123 |
124 |
125 | abbreviation
126 | ruby:gem:update
127 | abbreviationMode
128 | 1
129 | creationDate
130 | 2013-06-23T08:00:20Z
131 | flags
132 | 0
133 | label
134 | Update installed Ruby gems
135 | modificationDate
136 | 2013-06-23T08:00:20Z
137 | plainText
138 | gem update%fillpart:name=Gem name% gem_name%fillpartend%
139 | snippetType
140 | 0
141 | useCount
142 | 0
143 | uuidString
144 | E9AE8533-1D2C-4DEB-A271-BBD929CAF9C7
145 |
146 |
147 | abbreviation
148 | ruby:gem:gems
149 | abbreviationMode
150 | 1
151 | creationDate
152 | 2013-06-23T07:59:00Z
153 | flags
154 | 0
155 | label
156 | Install RubyGems.org client
157 | modificationDate
158 | 2013-06-23T07:59:12Z
159 | plainText
160 | gem install gems
161 | snippetType
162 | 0
163 | useCount
164 | 0
165 | uuidString
166 | 8310168D-C2C6-41E3-9537-0973954FBFAD
167 |
168 |
169 | abbreviation
170 | ruby:gem:list
171 | abbreviationMode
172 | 1
173 | creationDate
174 | 2013-06-23T07:56:43Z
175 | flags
176 | 0
177 | label
178 | List installed Ruby Gems
179 | modificationDate
180 | 2013-06-23T07:56:43Z
181 | plainText
182 | gem list
183 | snippetType
184 | 0
185 | useCount
186 | 0
187 | uuidString
188 | C739D8C4-47CB-4D54-9A09-0B55AEC6407E
189 |
190 |
191 | abbreviation
192 | ruby:gem:list:all
193 | abbreviationMode
194 | 1
195 | creationDate
196 | 2013-06-23T07:56:43Z
197 | flags
198 | 0
199 | label
200 | List Ruby Gems available on RubyGems.org
201 | modificationDate
202 | 2013-06-23T07:56:43Z
203 | plainText
204 | gem list -r
205 | snippetType
206 | 0
207 | useCount
208 | 0
209 | uuidString
210 | D8E7E993-C564-4947-9744-36AFA29EF619
211 |
212 |
213 | abbreviation
214 | ruby:gem:install
215 | abbreviationMode
216 | 1
217 | creationDate
218 | 2013-06-23T07:56:07Z
219 | flags
220 | 0
221 | label
222 | Download and install a Ruby Gem
223 | modificationDate
224 | 2013-06-23T07:56:07Z
225 | plainText
226 | gem install %filltext:name=Gem name%
227 | snippetType
228 | 0
229 | useCount
230 | 0
231 | uuidString
232 | 318B7C28-84EB-4ED8-8361-B49E6DEAF817
233 |
234 |
235 | abbreviation
236 | ruby:gem:search
237 | abbreviationMode
238 | 1
239 | creationDate
240 | 2013-06-23T07:54:13Z
241 | flags
242 | 0
243 | label
244 | Search for a Ruby Gem
245 | lastUsed
246 | 2013-06-23T21:32:36Z
247 | modificationDate
248 | 2013-06-23T07:55:49Z
249 | plainText
250 | gem search -r%fillpart:name=Local search%l%fillpartend% %filltext:name=Keyword%
251 | snippetType
252 | 0
253 | useCount
254 | 1
255 | uuidString
256 | BFF15CCA-6BA7-4215-9662-0A26E72CF747
257 |
258 |
259 |
260 |
261 |
--------------------------------------------------------------------------------
/PHP.textexpander:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | groupInfo
6 |
7 | expandAfterMode
8 | 0
9 | groupName
10 | PHP
11 |
12 | snippetsTE2
13 |
14 |
15 | abbreviation
16 | pear:install
17 | abbreviationMode
18 | 1
19 | creationDate
20 | 2011-12-31T01:35:07Z
21 | flags
22 | 2
23 | label
24 | Intall PHP Pear extension
25 | modificationDate
26 | 2012-03-18T08:35:06Z
27 | plainText
28 | pear install Console_Table
29 | snippetType
30 | 3
31 | useCount
32 | 0
33 | uuidString
34 | 48B8579E-361A-4EEC-A18D-9FAF4459FE47
35 |
36 |
37 | abbreviation
38 | php:code:mysql:convert:tables
39 | abbreviationMode
40 | 0
41 | creationDate
42 | 2012-03-16T06:18:04Z
43 | flags
44 | 0
45 | label
46 |
47 | modificationDate
48 | 2012-03-16T06:18:04Z
49 | plainText
50 | <?php
51 | $tables = db_query('SHOW TABLE STATUS');
52 | while ($table = db_fetch_array($tables)) {
53 | if ($table['Engine'] == 'MyISAM') {
54 | db_query('ALTER TABLE {%s} ENGINE = InnoDB', $table['Name']);
55 | }
56 | }
57 | ?>
58 | snippetType
59 | 0
60 | useCount
61 | 0
62 | uuidString
63 | BA9DB47A-92B4-4C7F-BBBE-0A6CE13203E3
64 |
65 |
66 | abbreviation
67 | php:includepath
68 | abbreviationMode
69 | 0
70 | creationDate
71 | 2012-03-16T05:37:19Z
72 | flags
73 | 0
74 | label
75 | Check PHP include path via command line
76 | modificationDate
77 | 2012-03-16T05:37:44Z
78 | plainText
79 | php -c /path/to/php.ini -r 'echo get_include_path()."\n";'
80 | snippetType
81 | 0
82 | useCount
83 | 0
84 | uuidString
85 | A45D49BC-9994-472D-88C9-29F5BFF4E871
86 |
87 |
88 | abbreviation
89 | php:ini
90 | abbreviationMode
91 | 0
92 | creationDate
93 | 2012-03-16T05:35:44Z
94 | flags
95 | 0
96 | label
97 | List PHP ini config files
98 | modificationDate
99 | 2012-03-16T05:36:06Z
100 | plainText
101 | php --ini
102 | snippetType
103 | 0
104 | useCount
105 | 0
106 | uuidString
107 | F310B795-ACFA-40E6-B41A-AEE35DFC5E06
108 |
109 |
110 | abbreviation
111 | pear:where
112 | abbreviationMode
113 | 0
114 | creationDate
115 | 2012-03-16T05:34:22Z
116 | flags
117 | 0
118 | label
119 | Find wear PEAR include files are located
120 | modificationDate
121 | 2012-03-16T05:34:22Z
122 | plainText
123 | pear config-get php_dir
124 | snippetType
125 | 0
126 | useCount
127 | 0
128 | uuidString
129 | DDC46E52-14E1-40E2-87D4-CF633B2CA572
130 |
131 |
132 | abbreviation
133 | pear:version
134 | abbreviationMode
135 | 0
136 | creationDate
137 | 2012-03-16T05:33:54Z
138 | flags
139 | 0
140 | label
141 | Get PEAR version
142 | modificationDate
143 | 2012-03-16T05:34:18Z
144 | plainText
145 | pear version
146 | snippetType
147 | 0
148 | useCount
149 | 0
150 | uuidString
151 | 6718AE5C-9DEC-4D5A-9ECF-A8804403B0B7
152 |
153 |
154 | abbreviation
155 | php:code:info
156 | abbreviationMode
157 | 0
158 | creationDate
159 | 2012-03-16T04:15:45Z
160 | flags
161 | 0
162 | label
163 | Output PHP info
164 | modificationDate
165 | 2012-03-16T04:25:02Z
166 | plainText
167 | <?php
168 |
169 | // Show all information, defaults to INFO_ALL
170 | phpinfo();
171 |
172 | ?>
173 | snippetType
174 | 0
175 | useCount
176 | 0
177 | uuidString
178 | 1B2FB360-8380-4EF7-B335-FC32A2D11F5D
179 |
180 |
181 | abbreviation
182 | php:ini:disable
183 | abbreviationMode
184 | 0
185 | creationDate
186 | 2012-03-16T03:32:05Z
187 | flags
188 | 0
189 | label
190 | Disable PHP module or ini file
191 | modificationDate
192 | 2012-03-16T03:33:35Z
193 | plainText
194 | cd /etc/php.d/ && mv %fill:filename%.{ini,disable}
195 | snippetType
196 | 0
197 | useCount
198 | 0
199 | uuidString
200 | 67FE9144-D776-4995-92A4-272C4FDF04E1
201 |
202 |
203 | abbreviation
204 | php:ini:security
205 | abbreviationMode
206 | 0
207 | creationDate
208 | 2012-03-16T03:30:10Z
209 | flags
210 | 0
211 | label
212 | PHP security.ini (template)
213 | modificationDate
214 | 2012-03-16T03:53:37Z
215 | plainText
216 | # Standard PHP security
217 | ##################
218 |
219 | # Hide PHP
220 | expose_php=Off
221 |
222 | # Hide errors
223 | display_errors=Off
224 |
225 | # Log errors
226 | log_errors=On
227 | error_log=/var/log/httpd/php_scripts_error.log
228 |
229 | # Turn off Remote Code Execution
230 | allow_url_fopen=Off
231 | allow_url_include=Off
232 |
233 | # PHP 5.3.x or higher
234 | magic_quotes_gpc=Off
235 |
236 | # Resource Control (DoS Control)
237 | # set in seconds
238 | max_execution_time = 30
239 | max_input_time = 30
240 | memory_limit = 128M
241 |
242 | # Control POST size
243 | #post_max_size=1K
244 |
245 |
246 | # Higher security
247 | ##################
248 |
249 | # Disallow file uploads
250 | #file_uploads=Off
251 | # Or limit file uploads
252 | #upload_max_filesize=1M
253 |
254 | # Enable SQL Safe Mode
255 | #sql.safe_mode=On
256 |
257 | # Disabling Dangerous PHP Functions
258 | # disable_functions =exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,parse_ini_file,show_source
259 |
260 | # PHP Fastcgi / CGI - cgi.force_redirect Directive
261 | ; Enable cgi.force_redirect for security reasons in a typical *Apache+PHP-CGI/FastCGI* setup
262 | cgi.force_redirect=On
263 |
264 | ; Limits the PHP process from accessing files outside
265 | ; of specifically designated directories such as /var/www/html/
266 | #open_basedir="/var/www/html/"
267 | ; ------------------------------------
268 | ; Multiple dirs example
269 | ; open_basedir="/home/httpd/vhost/cyberciti.biz/html/:/home/httpd/vhost/nixcraft.com/html/:/home/httpd/vhost/theos.in/html/"
270 | ; ------------------------------------
271 |
272 | # Session Path
273 | ;session.save_path="/var/lib/php/session"
274 | ; Set the temporary directory used for storing files when doing file upload
275 | ;upload_tmp_dir="/var/lib/php/session"
276 | snippetType
277 | 0
278 | useCount
279 | 0
280 | uuidString
281 | 5BA32DAF-53B7-470D-B6D6-C118B3E6FF87
282 |
283 |
284 | abbreviation
285 | php:modules
286 | abbreviationMode
287 | 0
288 | creationDate
289 | 2012-01-02T17:02:32Z
290 | flags
291 | 2
292 | label
293 | List PHP modules installed
294 | modificationDate
295 | 2012-03-16T03:31:29Z
296 | plainText
297 | php -m
298 | snippetType
299 | 3
300 | useCount
301 | 0
302 | uuidString
303 | 3ED4586B-EB85-420F-8E56-3D4CFD91737F
304 |
305 |
306 | abbreviation
307 | php:info
308 | abbreviationMode
309 | 0
310 | creationDate
311 | 2012-01-02T17:02:31Z
312 | flags
313 | 2
314 | label
315 | Display PHP configuration & settings
316 | modificationDate
317 | 2012-03-16T03:31:43Z
318 | plainText
319 | php -i
320 | snippetType
321 | 3
322 | useCount
323 | 0
324 | uuidString
325 | B6F50BF2-2C56-43E0-B5E6-81F999FCF920
326 |
327 |
328 | abbreviation
329 | php:version
330 | abbreviationMode
331 | 0
332 | creationDate
333 | 2012-01-02T17:02:03Z
334 | flags
335 | 2
336 | label
337 | Get PHP version
338 | modificationDate
339 | 2012-03-16T03:31:48Z
340 | plainText
341 | php -v
342 | snippetType
343 | 3
344 | useCount
345 | 0
346 | uuidString
347 | D62477DE-D20F-432D-BC5E-077F70E1AD73
348 |
349 |
350 | abbreviation
351 | php:code:timeago
352 | abbreviationMode
353 | 1
354 | creationDate
355 | 2011-12-31T02:14:48Z
356 | flags
357 | 0
358 | label
359 | Date - time ago
360 | modificationDate
361 | 2012-03-18T08:35:55Z
362 | plainText
363 | function date_time_ago($timestamp){
364 | $difference = time() - $timestamp;
365 | $periods = array("second", "minute", "hour", "day", "week", "month", "years", "decade");
366 | $lengths = array("60","60","24","7","4.35","12","10");
367 | for($j = 0; $difference >= $lengths[$j]; $j++) {
368 | $difference /= $lengths[$j];
369 | $difference = round($difference);
370 | if($difference != 1) $periods[$j].= "s";
371 | $text = "$difference $periods[$j] ago";
372 | return $text;
373 | }
374 |
375 | snippetType
376 | 0
377 | useCount
378 | 0
379 | uuidString
380 | A3114A06-C803-4307-B37F-2985139CA92A
381 |
382 |
383 |
384 |
385 |
--------------------------------------------------------------------------------
/Shell Commands.textexpander:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | groupInfo
6 |
7 | expandAfterMode
8 | 0
9 | groupName
10 | Shell Commands
11 |
12 | snippetsTE2
13 |
14 |
15 | abbreviation
16 | shell:script:new
17 | abbreviationMode
18 | 1
19 | creationDate
20 | 2013-07-16T21:59:28Z
21 | flags
22 | 0
23 | label
24 | Create new shell script
25 | modificationDate
26 | 2013-07-16T22:08:03Z
27 | plainText
28 | #!/bin/sh
29 |
30 |
31 | #######################################
32 | #
33 | # Shell command parameters
34 | #
35 | #######################################
36 |
37 | #%filltext:name=Command Name% init
38 | #%filltext:name=Command Name% run
39 | #%filltext:name=Command Name% status
40 |
41 |
42 |
43 | #######################################
44 | #
45 | # Shell command logic
46 | #
47 | #######################################
48 |
49 | # Check first parameter
50 | if [ $1 ]
51 | then
52 | # do stuff
53 | case "$1" in
54 | init)
55 |
56 | ;;
57 | status)
58 |
59 | ;;
60 | run)
61 |
62 | ;;
63 | *)
64 | help
65 | ;;
66 | esac
67 |
68 | else
69 | # show help
70 | help
71 | fi
72 |
73 |
74 |
75 |
76 | #######################################
77 | #
78 | # Shell command functions
79 | #
80 | #######################################
81 |
82 | function help () {
83 | echo "%filltext:name=Command Name% - A simple script that does something useful, hopefully."
84 | echo "
85 | echo " %filltext:name=Command Name% init - include in the project";
86 | echo " %filltext:name=Command Name% run - runs something";
87 | }
88 | snippetType
89 | 0
90 | useCount
91 | 0
92 | uuidString
93 | 3788A187-6FC8-43D9-A7B6-CC97D56C2BAA
94 |
95 |
96 | abbreviation
97 | ssh:key:deploy
98 | abbreviationMode
99 | 1
100 | creationDate
101 | 2013-07-15T21:50:37Z
102 | flags
103 | 0
104 | label
105 | SSH copy public key to remote server
106 | modificationDate
107 | 2013-07-15T21:54:21Z
108 | plainText
109 | ssh-copy-id %fillpart:name=Specific public key:default=yes%-i ~/.ssh/id_rsa.pub%fillpartend% %filltext:name=Remote host%
110 | snippetType
111 | 0
112 | useCount
113 | 0
114 | uuidString
115 | 8CE1ECC0-9699-468B-8DB7-D0C4C6B5F396
116 |
117 |
118 | abbreviation
119 | test:echo
120 | abbreviationMode
121 | 1
122 | creationDate
123 | 2013-06-23T07:00:52Z
124 | flags
125 | 0
126 | label
127 | Test echo
128 | modificationDate
129 | 2013-06-23T07:01:05Z
130 | plainText
131 | echo -e "An apple a day keeps away \a\t\tdoctor\n"
132 | snippetType
133 | 0
134 | useCount
135 | 0
136 | uuidString
137 | 4DD6D240-E9D6-4C09-941A-DE79282DC4E3
138 |
139 |
140 | abbreviation
141 | watch:file
142 | abbreviationMode
143 | 1
144 | creationDate
145 | 2013-06-23T05:40:30Z
146 | flags
147 | 0
148 | label
149 | Watch a file change
150 | modificationDate
151 | 2013-06-23T05:40:30Z
152 | plainText
153 | tail -c %filltext:name=Number of lines:default=100:width=25% %clipboard
154 | snippetType
155 | 0
156 | useCount
157 | 0
158 | uuidString
159 | B318A09A-97DC-472F-8A0A-3334F140BE94
160 |
161 |
162 | abbreviation
163 | file:read
164 | abbreviationMode
165 | 1
166 | creationDate
167 | 2013-06-23T05:38:02Z
168 | flags
169 | 0
170 | label
171 | Read the first number of lines of a file
172 | modificationDate
173 | 2013-06-23T05:39:32Z
174 | plainText
175 | head -%filltext:name=Number of lines:default=10:width=25% %clipboard
176 | snippetType
177 | 0
178 | useCount
179 | 0
180 | uuidString
181 | C53FD585-3475-440B-8AAB-2D089201AF61
182 |
183 |
184 | abbreviation
185 | rsync:remote
186 | abbreviationMode
187 | 1
188 | creationDate
189 | 2013-06-23T04:55:41Z
190 | flags
191 | 0
192 | label
193 | rsync between remote and local
194 | modificationDate
195 | 2013-06-23T05:45:04Z
196 | plainText
197 | rsync -ahiz%fillpart:name=Verbose output:default=yes%v%fillpartend% %fillpart:name=Show progress:default=yes%--progress%fillpartend%%fillpart:name=Limit bandwidth%--bwlimit=10000%fillpartend%%filltext:name=username%@%filltext:name=Remote server%:%filltext:name=Copy from:width=35% %filltext:name=Copy to:width=35% %fillpart:name=Verbose output%-v%fillpartend%
198 | snippetType
199 | 0
200 | useCount
201 | 0
202 | uuidString
203 | DF9C3E69-5B0F-46CA-8FC2-E05D82EE2A70
204 |
205 |
206 | abbreviation
207 | rsync:local
208 | abbreviationMode
209 | 1
210 | creationDate
211 | 2013-06-23T04:49:58Z
212 | flags
213 | 0
214 | label
215 | rsync between two local paths
216 | modificationDate
217 | 2013-06-23T05:42:45Z
218 | plainText
219 | rsync -avhi --progress %fillpart:name=Simulate run%--dry-run%fillpartend% %fillpart:name=Include pattern%--include '*.xyz'%fillpartend%%fillpart:name=Exclude pattern:default=yes%--exclude '*.xyz'%fillpartend% %filltext:name=Source path:width=35% %filltext:name=Destination path:width=35%
220 | snippetType
221 | 0
222 | useCount
223 | 0
224 | uuidString
225 | 4CA4FDB0-D018-4314-97FA-7FDD71F5B8DD
226 |
227 |
228 | abbreviation
229 | files:loop
230 | abbreviationMode
231 | 1
232 | creationDate
233 | 2012-01-02T17:03:59Z
234 | flags
235 | 2
236 | label
237 | Loop through files
238 | modificationDate
239 | 2012-03-18T08:37:48Z
240 | plainText
241 | for $file in $(cd a; find / -type -f); do diff a/$file b/$file > $a/$file.diff; done
242 | snippetType
243 | 3
244 | useCount
245 | 0
246 | uuidString
247 | BE8A1A06-D07D-4A72-867B-EEC0F97F8B4F
248 |
249 |
250 | abbreviation
251 | network:toggle
252 | abbreviationMode
253 | 1
254 | creationDate
255 | 2012-01-02T17:00:53Z
256 | flags
257 | 2
258 | label
259 | Toggle network interface connection
260 | modificationDate
261 | 2012-03-18T08:37:23Z
262 | plainText
263 | ifconfig en0 down
264 | ifconfig en0 up
265 | snippetType
266 | 3
267 | useCount
268 | 0
269 | uuidString
270 | 20C17850-5A4D-4300-893E-7ECC21371B5C
271 |
272 |
273 | abbreviation
274 | ip:get
275 | abbreviationMode
276 | 1
277 | creationDate
278 | 2012-01-02T17:00:05Z
279 | flags
280 | 2
281 | label
282 | Get this machine's network IP address
283 | modificationDate
284 | 2012-03-18T08:37:16Z
285 | plainText
286 | ifconfig | grep inet
287 | snippetType
288 | 3
289 | useCount
290 | 0
291 | uuidString
292 | CD837C94-B605-441C-8461-51AD75402C71
293 |
294 |
295 | abbreviation
296 | network:list
297 | abbreviationMode
298 | 1
299 | creationDate
300 | 2012-01-02T16:59:27Z
301 | flags
302 | 2
303 | label
304 | Get IP addresses of devices on a network
305 | modificationDate
306 | 2012-03-18T08:37:09Z
307 | plainText
308 | ifconfig
309 | snippetType
310 | 3
311 | useCount
312 | 0
313 | uuidString
314 | 685D7E86-A3A7-4517-9883-450E3868CAA3
315 |
316 |
317 | abbreviation
318 | uncompress
319 | abbreviationMode
320 | 0
321 | creationDate
322 | 2012-01-02T16:58:02Z
323 | flags
324 | 0
325 | label
326 | Uncompress file
327 | lastUsed
328 | 2012-03-17T04:13:44Z
329 | modificationDate
330 | 2012-03-17T04:21:53Z
331 | plainText
332 | tar -xzvf %fill:file%
333 | snippetType
334 | 0
335 | useCount
336 | 0
337 | uuidString
338 | E5B2FB93-CCBF-4712-BEEC-0702B3BE654A
339 |
340 |
341 | abbreviation
342 | compress
343 | abbreviationMode
344 | 0
345 | creationDate
346 | 2012-01-02T16:55:59Z
347 | flags
348 | 0
349 | label
350 | Compress files
351 | lastUsed
352 | 2012-03-17T04:22:39Z
353 | modificationDate
354 | 2012-03-17T04:25:09Z
355 | plainText
356 | tar -czf %fill:newfile%.tar.gz %fill:targetfiles%
357 | snippetType
358 | 0
359 | useCount
360 | 0
361 | uuidString
362 | B6360782-B3AD-4BF6-973A-4752E0A54805
363 |
364 |
365 | abbreviation
366 | ssh:host:revoke
367 | abbreviationMode
368 | 1
369 | creationDate
370 | 2012-01-02T16:54:44Z
371 | flags
372 | 2
373 | label
374 | SSH revoke key known host
375 | modificationDate
376 | 2012-03-18T08:37:40Z
377 | plainText
378 | ssh-keygen -R %fill:hostname%
379 | snippetType
380 | 3
381 | useCount
382 | 0
383 | uuidString
384 | 0B586E4B-BCCC-452A-AD13-7B285904AAD0
385 |
386 |
387 |
388 |
389 |
--------------------------------------------------------------------------------
/MySQL.textexpander:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | groupInfo
6 |
7 | expandAfterMode
8 | 0
9 | groupName
10 | MySQL
11 |
12 | snippetsTE2
13 |
14 |
15 | abbreviation
16 | mysql:file:execute
17 | abbreviationMode
18 | 1
19 | creationDate
20 | 2013-06-23T09:26:33Z
21 | flags
22 | 0
23 | label
24 | Executing SQL Statements from a Text File
25 | modificationDate
26 | 2013-06-23T09:28:01Z
27 | plainText
28 | mysql %fillpart:name=Database%database_name%fillpartend% < %filltext:name=File%
29 | snippetType
30 | 0
31 | useCount
32 | 0
33 | uuidString
34 | 65CFD01F-C1C1-4B48-AC3E-03EFCCE2056B
35 |
36 |
37 | abbreviation
38 | mysql:users
39 | abbreviationMode
40 | 1
41 | creationDate
42 | 2013-06-23T05:46:38Z
43 | flags
44 | 0
45 | label
46 | List MySQL users
47 | modificationDate
48 | 2013-06-23T05:46:59Z
49 | plainText
50 | SELECT User FROM mysql.user;
51 | snippetType
52 | 0
53 | useCount
54 | 0
55 | uuidString
56 | 2213374E-6A37-4A29-8CBC-2F6F042BE0DF
57 |
58 |
59 | abbreviation
60 | mysql:repair
61 | abbreviationMode
62 | 0
63 | creationDate
64 | 2012-03-16T06:19:33Z
65 | flags
66 | 0
67 | label
68 | Repaid all MySQL tables
69 | modificationDate
70 | 2012-03-16T06:19:33Z
71 | plainText
72 | mysqlrepair
73 | snippetType
74 | 0
75 | useCount
76 | 0
77 | uuidString
78 | 01F5A284-C905-472C-A4E2-E5EA11CB3F66
79 |
80 |
81 | abbreviation
82 | mysql:repair:table
83 | abbreviationMode
84 | 0
85 | creationDate
86 | 2012-03-16T06:18:52Z
87 | flags
88 | 0
89 | label
90 | Repair MySQL table
91 | modificationDate
92 | 2012-03-16T06:19:46Z
93 | plainText
94 | REPAIR TABLE %fill:table%;
95 | snippetType
96 | 0
97 | useCount
98 | 0
99 | uuidString
100 | E7444480-0846-457E-905C-6D427B60D09D
101 |
102 |
103 | abbreviation
104 | mysql:check
105 | abbreviationMode
106 | 0
107 | creationDate
108 | 2012-03-16T06:15:35Z
109 | flags
110 | 0
111 | label
112 | Database maintenance; check & optimize MySQL tables
113 | modificationDate
114 | 2012-03-16T06:15:35Z
115 | plainText
116 | mysqlcheck -o -A -p
117 | snippetType
118 | 0
119 | useCount
120 | 0
121 | uuidString
122 | F85F15AF-D4B8-49E7-9EF4-41B8912387BE
123 |
124 |
125 | abbreviation
126 | mysql:db:new
127 | abbreviationMode
128 | 0
129 | creationDate
130 | 2012-03-16T06:06:52Z
131 | flags
132 | 0
133 | label
134 | Create new MySQL database
135 | modificationDate
136 | 2012-03-16T06:07:37Z
137 | plainText
138 | CREATE DATABASE %fill:database%;
139 | snippetType
140 | 0
141 | useCount
142 | 0
143 | uuidString
144 | 7F037A0B-AEDA-415A-86A3-1DC395B595BC
145 |
146 |
147 | abbreviation
148 | mysql:import:file
149 | abbreviationMode
150 | 0
151 | creationDate
152 | 2012-03-16T06:03:30Z
153 | flags
154 | 0
155 | label
156 | Import data from external file into a specific database
157 | modificationDate
158 | 2012-03-16T06:06:35Z
159 | plainText
160 | mysql -u %fill:username% -p -h %fill:hostname% %fill:datbasename% < %fill:file%.sql
161 | snippetType
162 | 0
163 | useCount
164 | 0
165 | uuidString
166 | 000357EA-BE5A-4183-9E2C-F32971B62047
167 |
168 |
169 | abbreviation
170 | mysql:conf:backup
171 | abbreviationMode
172 | 0
173 | creationDate
174 | 2012-03-16T04:44:31Z
175 | flags
176 | 0
177 | label
178 | Backup MySQL config
179 | modificationDate
180 | 2012-03-16T04:44:55Z
181 | plainText
182 | cp -p /etc/my.cnf /etc/my.cnf.bak
183 | snippetType
184 | 0
185 | useCount
186 | 0
187 | uuidString
188 | 9B46967F-F573-4F54-91AC-E508FEE1A977
189 |
190 |
191 | abbreviation
192 | mysql:report
193 | abbreviationMode
194 | 0
195 | creationDate
196 | 2012-03-16T04:24:08Z
197 | flags
198 | 0
199 | label
200 | Run mysqlreport
201 | modificationDate
202 | 2012-03-16T04:24:08Z
203 | plainText
204 | perl mysqlreport --user %fill:mysqlusername% --password %fill:password%
205 | snippetType
206 | 0
207 | useCount
208 | 0
209 | uuidString
210 | BA1F2B4F-91F6-48AB-BCF7-25954B58A243
211 |
212 |
213 | abbreviation
214 | mysql:report:download
215 | abbreviationMode
216 | 0
217 | creationDate
218 | 2012-03-16T04:21:06Z
219 | flags
220 | 0
221 | label
222 | Download mysqlreport
223 | modificationDate
224 | 2012-03-16T04:21:22Z
225 | plainText
226 | wget hackmysql.com/scripts/mysqlreport
227 | snippetType
228 | 0
229 | useCount
230 | 0
231 | uuidString
232 | B78F9C44-630F-4E9A-91CE-D0E1685D88D4
233 |
234 |
235 | abbreviation
236 | mysql:user:privelages
237 | abbreviationMode
238 | 0
239 | creationDate
240 | 2012-03-16T04:13:08Z
241 | flags
242 | 0
243 | label
244 | List privileges granted to a MySQL user
245 | modificationDate
246 | 2012-03-16T04:13:08Z
247 | plainText
248 | SELECT * FROM mysql.user WHERE User='%fill:username%';
249 | snippetType
250 | 0
251 | useCount
252 | 0
253 | uuidString
254 | 17B136FB-81C3-47B1-A363-35E1DAD63C29
255 |
256 |
257 | abbreviation
258 | mysql:grant:safe
259 | abbreviationMode
260 | 0
261 | creationDate
262 | 2012-03-14T00:02:09Z
263 | flags
264 | 0
265 | label
266 | MySQL GRANT (Drupal; safe)
267 | modificationDate
268 | 2012-03-16T04:58:03Z
269 | plainText
270 | GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, LOCK TABLES, CREATE TEMPORARY TABLES ON `%fill:database%`.* TO '%fill:username%'@%'fill:hostname%' IDENTIFIED BY '%fill:password%'; FLUSH PRIVILEGES;
271 | snippetType
272 | 0
273 | useCount
274 | 0
275 | uuidString
276 | EE859CFC-7B5A-417F-BE5B-42ED246F1E79
277 |
278 |
279 | abbreviation
280 | mysql:grant:all
281 | abbreviationMode
282 | 0
283 | creationDate
284 | 2012-03-14T00:00:36Z
285 | flags
286 | 0
287 | label
288 | MySQL GRANT ALL Privelages
289 | modificationDate
290 | 2012-03-14T00:03:49Z
291 | plainText
292 | GRANT ALL ON %fill:database%.* TO %fill:username%@%fill:hostname% IDENTIFIED BY '%fill:password%'; FLUSH PRIVILEGES;
293 | snippetType
294 | 0
295 | useCount
296 | 0
297 | uuidString
298 | 4C1F5F34-25E1-4F9C-AEA4-3C4C4000A869
299 |
300 |
301 | abbreviation
302 | mysql:dump
303 | abbreviationMode
304 | 0
305 | creationDate
306 | 2012-01-02T16:50:10Z
307 | flags
308 | 0
309 | label
310 | Export "dump" data to SQL file
311 | modificationDate
312 | 2012-03-16T06:05:07Z
313 | plainText
314 | mysqldump -u %fill:username% -h %fill:hostname% -p %fill:dbname% > %fill:dbname%_%Y%m%d-%H%M%S.sql
315 | snippetType
316 | 0
317 | useCount
318 | 0
319 | uuidString
320 | 1ABE5A42-E369-4419-A7C4-0DC99FDFF52A
321 |
322 |
323 | abbreviation
324 | mysql:dump:gzip
325 | abbreviationMode
326 | 1
327 | creationDate
328 | 2012-01-02T16:46:47Z
329 | flags
330 | 0
331 | label
332 | Export and compress "dump" data to SQL file
333 | lastUsed
334 | 2012-03-03T01:52:03Z
335 | modificationDate
336 | 2012-03-16T06:05:14Z
337 | plainText
338 | mysqldump -u %fill:username% -h %fill:hostname% -p %fill:dbname% | gzip -9 > %fill:dbname%_%Y%m%d-%H%M%S.sql.gz
339 | snippetType
340 | 0
341 | useCount
342 | 2
343 | uuidString
344 | F5A7F01E-0D9F-4AF1-BA5C-4B30E437C353
345 |
346 |
347 | abbreviation
348 | mysql:import:file:new
349 | abbreviationMode
350 | 1
351 | creationDate
352 | 2012-01-02T16:44:22Z
353 | flags
354 | 0
355 | label
356 | Import data from external file
357 | lastUsed
358 | 2012-03-13T23:44:31Z
359 | modificationDate
360 | 2012-03-16T06:04:14Z
361 | plainText
362 | mysql -u %fill:username% -p -h %fill:hostname% < %fill:file%.sql
363 | snippetType
364 | 0
365 | useCount
366 | 0
367 | uuidString
368 | 2959C995-021C-4DFE-8468-8A365A90CB76
369 |
370 |
371 | abbreviation
372 | mysql:import:sql
373 | abbreviationMode
374 | 1
375 | creationDate
376 | 2012-01-02T16:41:49Z
377 | flags
378 | 2
379 | label
380 | Import data from external file (SQL)
381 | modificationDate
382 | 2012-03-16T06:04:29Z
383 | plainText
384 | SHOW DATABASES;
385 | DROP DATABASE %fill:dbname%;
386 | CREATE DATABASE %fill:dbname%;
387 | USE %fill:dbname%;
388 | SOURCE %fill:file%.sql;
389 | snippetType
390 | 3
391 | useCount
392 | 0
393 | uuidString
394 | 2957845C-8320-4FF2-BF55-74B6E1E21CA3
395 |
396 |
397 | abbreviation
398 | mysql:sql:format
399 | abbreviationMode
400 | 1
401 | creationDate
402 | 2012-01-02T16:40:16Z
403 | flags
404 | 2
405 | label
406 | Fromat SQL column results nicely
407 | modificationDate
408 | 2012-03-16T06:05:32Z
409 | plainText
410 | %clipboard\G
411 | snippetType
412 | 3
413 | useCount
414 | 0
415 | uuidString
416 | DF62CBC3-23D5-4006-B51B-4E6CA5A959CC
417 |
418 |
419 | abbreviation
420 | mysql:version
421 | abbreviationMode
422 | 1
423 | creationDate
424 | 2012-01-02T08:20:24Z
425 | flags
426 | 2
427 | label
428 | Get MySQL version
429 | modificationDate
430 | 2012-03-16T06:05:46Z
431 | plainText
432 | mysql -v
433 | snippetType
434 | 3
435 | useCount
436 | 0
437 | uuidString
438 | 0EDE4ACE-89A2-4FC5-BDED-BF8A17D75F3A
439 |
440 |
441 | abbreviation
442 | mysql:root:password:reset
443 | abbreviationMode
444 | 1
445 | creationDate
446 | 2011-12-31T01:37:25Z
447 | flags
448 | 2
449 | label
450 | Chage the root user password for MySQL
451 | modificationDate
452 | 2012-03-16T06:05:55Z
453 | plainText
454 | /usr/local/mysql/bin/mysqladmin -u root password ’%fill:password%’
455 | snippetType
456 | 3
457 | useCount
458 | 0
459 | uuidString
460 | A2C164DE-EDB0-40A9-B0D3-E07CF12EF382
461 |
462 |
463 |
464 |
465 |
--------------------------------------------------------------------------------
/Apache.textexpander:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | groupInfo
6 |
7 | expandAfterMode
8 | 1
9 | groupName
10 | Apache
11 |
12 | snippetsTE2
13 |
14 |
15 | abbreviation
16 | apache:vhost:site
17 | abbreviationMode
18 | 1
19 | creationDate
20 | 2013-07-16T22:45:15Z
21 | label
22 | Enable or Disable site (Apache vhost/domain)
23 | modificationDate
24 | 2015-07-06T02:48:03Z
25 | plainText
26 | %fillpopup:name=Enable or Disable:default=a2ensite:a2dissite% %filltext:name=Domain VHOST file%
27 | snippetType
28 | 0
29 | uuidString
30 | 461A7F53-C599-4696-AD2D-3DD556A8323D
31 |
32 |
33 | abbreviation
34 | apache:conf:deflate
35 | abbreviationMode
36 | 0
37 | creationDate
38 | 2012-03-16T05:45:29Z
39 | label
40 | Apache mod_deflate compression config
41 | modificationDate
42 | 2012-03-16T05:57:22Z
43 | plainText
44 | #
45 | # mod_deflate configuration
46 | #
47 | LoadModule deflate_module modules/mod_deflate.so
48 | <IfModule mod_deflate.c>
49 | AddOutputFilterByType DEFLATE text/*
50 | AddOutputFilterByType DEFLATE text/plain
51 | AddOutputFilterByType DEFLATE text/html
52 | AddOutputFilterByType DEFLATE text/xml
53 | AddOutputFilterByType DEFLATE text/css
54 | AddOutputFilterByType DEFLATE application/xml
55 | AddOutputFilterByType DEFLATE application/xhtml+xml
56 | AddOutputFilterByType DEFLATE application/rss+xml
57 | AddOutputFilterByType DEFLATE application/javascript
58 | AddOutputFilterByType DEFLATE application/x-javascript
59 | DeflateCompressionLevel 9
60 | BrowserMatch ^Mozilla/4 gzip-only-text/html
61 | BrowserMatch ^Mozilla/4\.0[678] no-gzip
62 | BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
63 | #DeflateFilterNote Input instream
64 | #DeflateFilterNote Output outstream
65 | #DeflateFilterNote Ratio ratio
66 | #CustomLog /path/to/vhost/logs/deflate_log deflate
67 | #LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate
68 | </IfModule>
69 |
70 |
71 | snippetType
72 | 0
73 | uuidString
74 | C3DFA0D2-FC4E-404E-A897-36EABE90AF98
75 |
76 |
77 | abbreviation
78 | apache:modules:compiled
79 | abbreviationMode
80 | 0
81 | creationDate
82 | 2012-03-16T05:32:49Z
83 | label
84 | List compiled Apache modules
85 | modificationDate
86 | 2015-07-06T03:03:47Z
87 | plainText
88 | apache2 -l
89 | snippetType
90 | 0
91 | uuidString
92 | C1CF80BA-ABA5-43DB-92A3-0984AE692490
93 |
94 |
95 | abbreviation
96 | apache:settings
97 | abbreviationMode
98 | 0
99 | creationDate
100 | 2012-03-16T05:30:38Z
101 | label
102 | Show Apache settings
103 | modificationDate
104 | 2012-03-16T05:30:48Z
105 | plainText
106 | /usr/sbin/apache2 -V
107 | snippetType
108 | 0
109 | uuidString
110 | 18F53E20-40D8-43A5-9F4D-DCC5802FD6B5
111 |
112 |
113 | abbreviation
114 | apache:processes
115 | abbreviationMode
116 | 0
117 | creationDate
118 | 2012-03-16T05:28:30Z
119 | label
120 | Show Apache processes
121 | modificationDate
122 | 2012-03-16T05:28:51Z
123 | plainText
124 | ps -ef | grep apache
125 | snippetType
126 | 0
127 | uuidString
128 | C3950D75-DB1C-4A34-B553-694DCA6B80B5
129 |
130 |
131 | abbreviation
132 | apache:modules:enable
133 | abbreviationMode
134 | 0
135 | creationDate
136 | 2012-03-16T05:08:19Z
137 | label
138 | Enable an Apache module
139 | modificationDate
140 | 2012-03-16T05:08:43Z
141 | plainText
142 | sudo a2enmod %fill:module%
143 | snippetType
144 | 0
145 | uuidString
146 | 6958D8A2-3049-4E62-BD4C-DD35DDFB6C5C
147 |
148 |
149 | abbreviation
150 | apache:modules:list
151 | abbreviationMode
152 | 0
153 | creationDate
154 | 2012-03-16T05:07:52Z
155 | label
156 | List loaded Apache modules
157 | modificationDate
158 | 2015-07-06T03:03:51Z
159 | plainText
160 | apache2 -l
161 | snippetType
162 | 0
163 | uuidString
164 | F275A226-A087-478F-8CF6-B6E373F28BDE
165 |
166 |
167 | abbreviation
168 | apache:conf:security
169 | abbreviationMode
170 | 0
171 | creationDate
172 | 2012-03-16T04:05:15Z
173 | label
174 | Apache security.conf (template)
175 | modificationDate
176 | 2012-03-16T04:05:44Z
177 | plainText
178 | ServerSignature Off
179 | ServerTokens Prod
180 |
181 | snippetType
182 | 0
183 | uuidString
184 | A1A45DA1-8689-4225-9AE1-54AA44DB3E7A
185 |
186 |
187 | abbreviation
188 | apache:config:test
189 | abbreviationMode
190 | 0
191 | creationDate
192 | 2012-03-16T03:01:07Z
193 | label
194 | Test Apache config
195 | modificationDate
196 | 2012-03-16T03:07:50Z
197 | plainText
198 | /etc/init.d/apache2 configtest
199 | snippetType
200 | 0
201 | uuidString
202 | 4DA4B1B0-DF16-43C4-8ACB-B9DB5FFD2497
203 |
204 |
205 | abbreviation
206 | apache:reload
207 | abbreviationMode
208 | 0
209 | creationDate
210 | 2012-03-16T02:59:34Z
211 | label
212 | Reload Apache config
213 | modificationDate
214 | 2012-03-16T03:07:38Z
215 | plainText
216 | /etc/init.d/apache2 reload
217 | snippetType
218 | 0
219 | uuidString
220 | B3497534-DF06-479E-9DAC-00399FF0F37B
221 |
222 |
223 | abbreviation
224 | apache:httpd:reload
225 | abbreviationMode
226 | 0
227 | creationDate
228 | 2012-03-16T02:58:35Z
229 | label
230 | Reload Apache httpd config (without restart)
231 | modificationDate
232 | 2012-03-16T03:07:35Z
233 | plainText
234 | /etc/init.d/httpd reload
235 | snippetType
236 | 0
237 | uuidString
238 | 702CFC2E-DFB6-4ECC-9A5C-8E27CC58E3CB
239 |
240 |
241 | abbreviation
242 | apache:vhost:template
243 | abbreviationMode
244 | 0
245 | creationDate
246 | 2012-03-16T02:55:09Z
247 | label
248 | Apache VHost (template)
249 | modificationDate
250 | 2015-07-06T02:58:16Z
251 | plainText
252 | <VirtualHost *:80>
253 | ServerAdmin webmaster@localhost
254 | ServerName %fill:domain%
255 | ServerAlias www.%fill:domain%
256 | DocumentRoot /var/www/%fill:domain%/htdocs
257 |
258 | <Directory /var/www/html>
259 | <LimitExcept GET POST>
260 | Order allow,deny
261 | </LimitExcept>
262 | </Directory>
263 |
264 | # log files for this domain
265 | CustomLog /var/log/apache2/%fill:domain%-access.log combined
266 | ErrprLog /var/log/apache2/%fill:domain%-error.log
267 |
268 | # Deflate (compression)
269 | AddOutputFilterByType DEFLATE text/plain
270 | AddOutputFilterByType DEFLATE text/html
271 | AddOutputFilterByType DEFLATE text/xml
272 | AddOutputFilterByType DEFLATE text/css
273 | AddOutputFilterByType DEFLATE application/xml
274 | AddOutputFilterByType DEFLATE application/xhtml+xml
275 | AddOutputFilterByType DEFLATE application/rss+xml
276 | AddOutputFilterByType DEFLATE application/javascript
277 | AddOutputFilterByType DEFLATE application/x-javascript
278 | DeflateCompressionLevel 9
279 | BrowserMatch ^Mozilla/4 gzip-only-text/html
280 | BrowserMatch ^Mozilla/4\.0[678] no-gzip
281 | BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
282 | # Tracking compression
283 | #DeflateFilterNote Input instream
284 | #DeflateFilterNote Output outstream
285 | #DeflateFilterNote Ratio ratio
286 | #LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate
287 | </VirtualHost>
288 |
289 | # SSL config
290 | <VirtualHost *:443>
291 | ServerAdmin webmaster@localhost
292 | ServerName %fill:domain%
293 | ServerAlias www.%fill:domain%
294 | DocumentRoot /var/www/%fill:domain%/htdocs
295 |
296 | # Logs
297 | CustomLog /var/log/apache/www.foo.com-access.log combined
298 | ErrorLog /var/log/apache/www.foo.com-error.log
299 |
300 | # Basic SSL configuration
301 | SSLEngine on
302 | SSLProtocol all -SSLv2
303 | SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5
304 | SSLCertificateFile "/var/www/%fill:domain%/ssl/server.crt"
305 | SSLCertificateKeyFile "/var/www/%fill:domain%/ssl/server.key"
306 | </VirtualHost>
307 | snippetType
308 | 0
309 | uuidString
310 | 0AD5D31F-97AF-44B8-89F9-29D12ECAE590
311 |
312 |
313 | abbreviation
314 | apache:status
315 | abbreviationMode
316 | 0
317 | creationDate
318 | 2012-03-16T02:53:27Z
319 | label
320 | Get Apache status
321 | modificationDate
322 | 2015-07-06T02:50:19Z
323 | plainText
324 | apachectl %fillpart:name=Full output%full%fillpartend%status
325 | snippetType
326 | 0
327 | uuidString
328 | 8F0D4FE7-A7CF-4C24-B992-841738D53438
329 |
330 |
331 | abbreviation
332 | apache:reboot
333 | abbreviationMode
334 | 0
335 | creationDate
336 | 2012-03-16T02:50:56Z
337 | label
338 | Restart Apache now!
339 | modificationDate
340 | 2015-07-06T03:03:38Z
341 | plainText
342 | apachectl restart
343 | snippetType
344 | 0
345 | uuidString
346 | CAA374A7-FCD8-43CE-ABF6-A7554EC7645E
347 |
348 |
349 | abbreviation
350 | apache:stop
351 | abbreviationMode
352 | 0
353 | creationDate
354 | 2012-03-16T02:50:28Z
355 | label
356 | Stop Apache
357 | modificationDate
358 | 2012-03-16T02:50:38Z
359 | plainText
360 | apachectl stop
361 | snippetType
362 | 0
363 | uuidString
364 | 2007A414-E9D3-4644-B2E9-7F36C4EF0457
365 |
366 |
367 | abbreviation
368 | apache:start
369 | abbreviationMode
370 | 0
371 | creationDate
372 | 2012-03-16T02:49:55Z
373 | label
374 | Start Apache
375 | modificationDate
376 | 2012-03-16T02:49:55Z
377 | plainText
378 | apachectl start
379 | snippetType
380 | 0
381 | uuidString
382 | 7C8E236D-C340-405B-A9EF-3D256AA4EE99
383 |
384 |
385 | abbreviation
386 | apache:restart
387 | abbreviationMode
388 | 0
389 | creationDate
390 | 2012-03-16T02:48:14Z
391 | label
392 | Restart Apache gracefully
393 | modificationDate
394 | 2012-03-16T02:49:25Z
395 | plainText
396 | apachectl graceful
397 | snippetType
398 | 0
399 | uuidString
400 | 904F14A5-CDF7-44F1-8A0C-F58413A018F2
401 |
402 |
403 | abbreviation
404 | apache:bench
405 | abbreviationMode
406 | 0
407 | creationDate
408 | 2012-02-29T07:40:21Z
409 | label
410 | Apache Benchmark a domain or URL
411 | modificationDate
412 | 2012-03-16T05:16:22Z
413 | plainText
414 | ab -n %fill:100requests% -c %fill:10concurrency% %fill:URL%/
415 | snippetType
416 | 3
417 | uuidString
418 | DA381D6C-D5C4-407D-8F27-B1384A12BDCC
419 |
420 |
421 | abbreviation
422 | httpd:version
423 | abbreviationMode
424 | 0
425 | creationDate
426 | 2012-02-29T07:20:56Z
427 | label
428 | Get Apache (httpd) version (alternate)
429 | modificationDate
430 | 2012-02-29T07:20:56Z
431 | plainText
432 | httpd -v
433 | snippetType
434 | 3
435 | uuidString
436 | AEFE515F-3930-4300-8E96-9B4C8953BBDB
437 |
438 |
439 | abbreviation
440 | apache:version
441 | abbreviationMode
442 | 0
443 | creationDate
444 | 2012-02-29T07:20:18Z
445 | label
446 | Get Apache version
447 | modificationDate
448 | 2012-02-29T07:20:18Z
449 | plainText
450 | apache2ctl -v
451 | snippetType
452 | 3
453 | uuidString
454 | F4F56384-B4DC-4A3C-9BC7-C4AC8E18C34E
455 |
456 |
457 | abbreviation
458 | apache:httpd:start
459 | abbreviationMode
460 | 1
461 | creationDate
462 | 2012-02-29T05:19:14Z
463 | label
464 | Start Apache httpd
465 | modificationDate
466 | 2012-03-16T02:47:58Z
467 | plainText
468 | /etc/init.d/httpd start
469 | snippetType
470 | 0
471 | uuidString
472 | B8BE3AD5-483E-4B6D-B91B-527E2A0015B1
473 |
474 |
475 | abbreviation
476 | apache:httpd:stop
477 | abbreviationMode
478 | 1
479 | creationDate
480 | 2012-02-29T05:18:59Z
481 | label
482 | Stop Apache httpd
483 | modificationDate
484 | 2012-03-16T02:48:03Z
485 | plainText
486 | /etc/init.d/httpd stop
487 | snippetType
488 | 3
489 | uuidString
490 | EBE2A1B6-3341-4C58-9C93-1E526CC269AF
491 |
492 |
493 | abbreviation
494 | apache:httpd:restart
495 | abbreviationMode
496 | 1
497 | creationDate
498 | 2012-02-29T04:24:51Z
499 | label
500 | Restart Apache httpd
501 | modificationDate
502 | 2012-03-16T02:48:07Z
503 | plainText
504 | /etc/init.d/httpd restart
505 | snippetType
506 | 0
507 | uuidString
508 | 6BD1B73B-CB9E-414F-9166-61F4411B97B7
509 |
510 |
511 | abbreviation
512 | apache:list
513 | abbreviationMode
514 | 0
515 | creationDate
516 | 2015-07-06T02:45:45Z
517 | label
518 | List all virtual hosts
519 | modificationDate
520 | 2015-07-06T02:46:43Z
521 | plainText
522 | apache2ctl -S
523 | snippetType
524 | 0
525 | uuidString
526 | 5A641A1F-4885-485E-B739-894B212396A7
527 |
528 |
529 |
530 |
531 |
--------------------------------------------------------------------------------
/Git.textexpander:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | groupInfo
6 |
7 | expandAfterMode
8 | 0
9 | groupName
10 | Git
11 |
12 | snippetsTE2
13 |
14 |
15 | abbreviation
16 | git:pull:all
17 | abbreviationMode
18 | 1
19 | creationDate
20 | 2013-05-02T07:35:49Z
21 | flags
22 | 0
23 | label
24 | Git pull multiple sub-directories
25 | modificationDate
26 | 2013-05-02T07:36:29Z
27 | plainText
28 | find ~me/projects/ -type d -name .git \
29 | | xargs -n 1 dirname \
30 | | sort \
31 | | while read line; do echo $line && cd $line && git pull; done
32 | snippetType
33 | 0
34 | useCount
35 | 0
36 | uuidString
37 | E8BD3AC7-4441-4DB4-BA3C-7276E43F7DE6
38 |
39 |
40 | abbreviation
41 | git:push:all
42 | abbreviationMode
43 | 0
44 | creationDate
45 | 2012-03-17T05:55:25Z
46 | flags
47 | 0
48 | label
49 | Push all Git Heads (Branches)
50 | modificationDate
51 | 2012-03-17T05:56:21Z
52 | plainText
53 | git push --all
54 | snippetType
55 | 0
56 | useCount
57 | 0
58 | uuidString
59 | A526E07F-F263-414E-BA9F-EE7EBBBF2EA3
60 |
61 |
62 | abbreviation
63 | git:clone:mirror
64 | abbreviationMode
65 | 0
66 | creationDate
67 | 2012-03-17T05:50:14Z
68 | flags
69 | 0
70 | label
71 | Clone Git repo as a mirror from the original source
72 | modificationDate
73 | 2012-03-17T05:50:57Z
74 | plainText
75 | git clone --mirror %fill:URL%
76 | snippetType
77 | 0
78 | useCount
79 | 0
80 | uuidString
81 | 51BB8CFC-A30D-46A4-8C51-EAB807399254
82 |
83 |
84 | abbreviation
85 | git:config
86 | abbreviationMode
87 | 0
88 | creationDate
89 | 2012-03-17T05:36:11Z
90 | flags
91 | 0
92 | label
93 | Show Git user config settings (short)
94 | lastUsed
95 | 2012-03-17T05:37:12Z
96 | modificationDate
97 | 2012-03-17T05:37:01Z
98 | plainText
99 | %snippet:git:config:user% && %snippet:git:config:email%
100 | snippetType
101 | 0
102 | useCount
103 | 0
104 | uuidString
105 | FECE03F9-D646-41C4-BA57-E3517FEBDE25
106 |
107 |
108 | abbreviation
109 | git:config:email
110 | abbreviationMode
111 | 0
112 | creationDate
113 | 2012-03-17T05:35:44Z
114 | flags
115 | 0
116 | label
117 | Show Git config email
118 | modificationDate
119 | 2012-03-17T05:36:05Z
120 | plainText
121 | git config user.email
122 | snippetType
123 | 0
124 | useCount
125 | 0
126 | uuidString
127 | 8EBAE928-D5D7-4D4D-9F4B-EFDFFF1960C4
128 |
129 |
130 | abbreviation
131 | git:config:user
132 | abbreviationMode
133 | 0
134 | creationDate
135 | 2012-03-17T05:35:01Z
136 | flags
137 | 0
138 | label
139 | Show Git config username
140 | modificationDate
141 | 2012-03-17T05:35:35Z
142 | plainText
143 | git config user.name
144 | snippetType
145 | 0
146 | useCount
147 | 0
148 | uuidString
149 | F52AAACF-F357-42E5-ACE1-8C5A3692D4A2
150 |
151 |
152 | abbreviation
153 | git:config:list
154 | abbreviationMode
155 | 0
156 | creationDate
157 | 2012-03-17T05:34:04Z
158 | flags
159 | 0
160 | label
161 | List all Git config settings
162 | modificationDate
163 | 2012-03-17T05:34:27Z
164 | plainText
165 | git config --list
166 | snippetType
167 | 0
168 | useCount
169 | 0
170 | uuidString
171 | 1EC47D25-B410-48CB-ACC4-B228807EDAC6
172 |
173 |
174 | abbreviation
175 | git:add
176 | abbreviationMode
177 | 0
178 | creationDate
179 | 2012-03-17T01:21:31Z
180 | flags
181 | 0
182 | label
183 | Add files to Git repository
184 | modificationDate
185 | 2012-03-17T01:21:31Z
186 | plainText
187 | git add %fill:files%
188 | snippetType
189 | 0
190 | useCount
191 | 0
192 | uuidString
193 | 75152AF6-5308-4B96-916D-DE929B350DF0
194 |
195 |
196 | abbreviation
197 | git:move
198 | abbreviationMode
199 | 0
200 | creationDate
201 | 2012-03-17T01:20:59Z
202 | flags
203 | 0
204 | label
205 | Move files in a Git repository
206 | modificationDate
207 | 2012-03-17T01:21:25Z
208 | plainText
209 | git mv %fill:file%
210 | snippetType
211 | 0
212 | useCount
213 | 0
214 | uuidString
215 | 46C8D37F-752D-4F0E-A495-73FF686664BB
216 |
217 |
218 | abbreviation
219 | git:remove
220 | abbreviationMode
221 | 0
222 | creationDate
223 | 2012-03-17T01:19:54Z
224 | flags
225 | 0
226 | label
227 | Remove file from Git repository
228 | modificationDate
229 | 2012-03-17T01:20:34Z
230 | plainText
231 | git rm %fill:file%
232 | snippetType
233 | 0
234 | useCount
235 | 0
236 | uuidString
237 | DD10D530-1405-4CF0-828E-DF49CB7A2C30
238 |
239 |
240 | abbreviation
241 | git:restore
242 | abbreviationMode
243 | 0
244 | creationDate
245 | 2012-03-17T01:17:18Z
246 | flags
247 | 0
248 | label
249 | Restore file from a specific revision
250 | modificationDate
251 | 2012-03-17T01:19:21Z
252 | plainText
253 | git checkout %clipboard %fill:filename%
254 | snippetType
255 | 0
256 | useCount
257 | 0
258 | uuidString
259 | CA81A127-8716-4F21-9A29-DFFDF5535D32
260 |
261 |
262 | abbreviation
263 | git:reset
264 | abbreviationMode
265 | 0
266 | creationDate
267 | 2012-03-17T01:15:21Z
268 | flags
269 | 0
270 | label
271 | Unstage (reset) files in a Git repository
272 | modificationDate
273 | 2012-03-17T01:16:49Z
274 | plainText
275 | git reset HEAD %fill:files%
276 | snippetType
277 | 0
278 | useCount
279 | 0
280 | uuidString
281 | 81EA6C4B-0987-462F-BD38-C1FB5973F3E0
282 |
283 |
284 | abbreviation
285 | git:diff
286 | abbreviationMode
287 | 0
288 | creationDate
289 | 2012-03-17T01:14:42Z
290 | flags
291 | 0
292 | label
293 | Display diff of changes
294 | modificationDate
295 | 2012-03-17T01:15:16Z
296 | plainText
297 | git diff %clipboard
298 | snippetType
299 | 0
300 | useCount
301 | 0
302 | uuidString
303 | 7FF971C2-56AD-4579-B86B-4D693DC96E3C
304 |
305 |
306 | abbreviation
307 | git:remote:add
308 | abbreviationMode
309 | 0
310 | creationDate
311 | 2012-03-17T01:13:30Z
312 | flags
313 | 0
314 | label
315 | Add and track remote Git repository (URL)
316 | modificationDate
317 | 2012-03-17T01:13:30Z
318 | plainText
319 | git remote add %clipboard
320 | snippetType
321 | 0
322 | useCount
323 | 0
324 | uuidString
325 | 6AC3296D-5E4E-4E41-A92A-9157DA90ABEE
326 |
327 |
328 | abbreviation
329 | git:patch:format
330 | abbreviationMode
331 | 0
332 | creationDate
333 | 2012-03-17T01:12:29Z
334 | flags
335 | 0
336 | label
337 | Format Git patch
338 | modificationDate
339 | 2012-03-17T01:12:29Z
340 | plainText
341 | git format-patch origin/master
342 | snippetType
343 | 0
344 | useCount
345 | 0
346 | uuidString
347 | EE8B3A95-54F6-4F6A-B929-68F539E85753
348 |
349 |
350 | abbreviation
351 | git:commit
352 | abbreviationMode
353 | 0
354 | creationDate
355 | 2012-03-17T01:11:09Z
356 | flags
357 | 0
358 | label
359 | Commit with message to Git repository
360 | modificationDate
361 | 2012-03-17T01:12:09Z
362 | plainText
363 | git commit -m "%fill:message%"
364 | snippetType
365 | 0
366 | useCount
367 | 0
368 | uuidString
369 | B84B84A4-C96B-4CD7-B884-A93646BAF092
370 |
371 |
372 | abbreviation
373 | git:clone
374 | abbreviationMode
375 | 0
376 | creationDate
377 | 2012-03-17T01:10:01Z
378 | flags
379 | 0
380 | label
381 | Clone Git repository
382 | modificationDate
383 | 2012-03-17T01:10:53Z
384 | plainText
385 | git clone %clipboard
386 | snippetType
387 | 0
388 | useCount
389 | 0
390 | uuidString
391 | 34DB5D0B-01DD-4DF2-A16E-4FE2A450D601
392 |
393 |
394 | abbreviation
395 | git:user
396 | abbreviationMode
397 | 0
398 | creationDate
399 | 2012-03-17T01:04:50Z
400 | flags
401 | 0
402 | label
403 | Introduce yourself to Git (user name & email)
404 | modificationDate
405 | 2012-03-17T01:04:50Z
406 | plainText
407 | git config user.name "%fill:firstname% %fill:lastname%" && git config user.email "%fill:email%"
408 | snippetType
409 | 0
410 | useCount
411 | 0
412 | uuidString
413 | E03C3C42-CD44-407A-A80D-0380FF753E70
414 |
415 |
416 | abbreviation
417 | git:delete:branch
418 | abbreviationMode
419 | 1
420 | creationDate
421 | 2012-02-07T23:37:21Z
422 | flags
423 | 2
424 | label
425 | Delete remote branch
426 | modificationDate
427 | 2013-07-19T00:36:37Z
428 | plainText
429 | git push origin :%remote_branch%
430 | snippetType
431 | 3
432 | useCount
433 | 0
434 | uuidString
435 | 91F0F516-EA6F-4825-ABE1-41324028BA50
436 |
437 |
438 | abbreviation
439 | git:pull:branch
440 | abbreviationMode
441 | 1
442 | creationDate
443 | 2012-02-02T04:28:26Z
444 | flags
445 | 2
446 | label
447 | Pull remote branch
448 | modificationDate
449 | 2012-02-05T23:38:40Z
450 | plainText
451 | git pull origin %branch
452 | snippetType
453 | 3
454 | useCount
455 | 0
456 | uuidString
457 | DE54B74B-8250-4304-8A50-4C72B23EFFD6
458 |
459 |
460 | abbreviation
461 | git:remote:show
462 | abbreviationMode
463 | 1
464 | creationDate
465 | 2012-02-02T04:20:27Z
466 | flags
467 | 2
468 | label
469 | Show remote origin details
470 | modificationDate
471 | 2012-03-17T01:06:34Z
472 | plainText
473 | git remote show origin
474 | snippetType
475 | 3
476 | useCount
477 | 0
478 | uuidString
479 | DDEB6563-CD52-4C8A-94F1-6E44B140841D
480 |
481 |
482 | abbreviation
483 | git:remote
484 | abbreviationMode
485 | 1
486 | creationDate
487 | 2012-02-02T04:14:30Z
488 | flags
489 | 2
490 | label
491 | List remote branches & Tags
492 | modificationDate
493 | 2012-03-17T01:09:05Z
494 | plainText
495 | git ls-remote
496 | snippetType
497 | 3
498 | useCount
499 | 0
500 | uuidString
501 | 8DF7C32A-EABC-4978-9CB9-60F360DFC000
502 |
503 |
504 | abbreviation
505 | git:branch:list:all
506 | abbreviationMode
507 | 1
508 | creationDate
509 | 2012-02-02T04:11:26Z
510 | flags
511 | 0
512 | label
513 | List all branches
514 | modificationDate
515 | 2013-04-19T20:08:02Z
516 | plainText
517 | git branch -a
518 | snippetType
519 | 0
520 | useCount
521 | 0
522 | uuidString
523 | 146364BC-B73A-428B-9C23-D458A97D9192
524 |
525 |
526 | abbreviation
527 | git:branch:list
528 | abbreviationMode
529 | 1
530 | creationDate
531 | 2012-02-02T04:11:26Z
532 | flags
533 | 2
534 | label
535 | List local branches
536 | modificationDate
537 | 2012-03-17T01:07:25Z
538 | plainText
539 | git branch
540 | snippetType
541 | 3
542 | useCount
543 | 0
544 | uuidString
545 | DDD0C124-8413-4733-9AF4-C446EEC9218E
546 |
547 |
548 | abbreviation
549 | git:remote:info
550 | abbreviationMode
551 | 1
552 | creationDate
553 | 2012-02-02T04:11:26Z
554 | flags
555 | 2
556 | label
557 | List remote branch details
558 | modificationDate
559 | 2012-03-17T01:07:53Z
560 | plainText
561 | git remote
562 | snippetType
563 | 3
564 | useCount
565 | 0
566 | uuidString
567 | 4F41F27E-B85E-4A67-9EFF-187A9517062B
568 |
569 |
570 | abbreviation
571 | git:remote:ref
572 | abbreviationMode
573 | 1
574 | creationDate
575 | 2012-02-02T04:11:26Z
576 | flags
577 | 2
578 | label
579 | List remote branches references
580 | modificationDate
581 | 2012-03-17T01:08:05Z
582 | plainText
583 | git branch -r
584 | snippetType
585 | 3
586 | useCount
587 | 0
588 | uuidString
589 | 76629DD3-06DB-40F1-8A03-667195647F54
590 |
591 |
592 | abbreviation
593 | git:push:branch
594 | abbreviationMode
595 | 1
596 | creationDate
597 | 2012-02-02T04:08:32Z
598 | flags
599 | 2
600 | label
601 | Push local branch to remote branch
602 | modificationDate
603 | 2012-03-17T01:08:32Z
604 | plainText
605 | git push origin %branch
606 | snippetType
607 | 3
608 | useCount
609 | 0
610 | uuidString
611 | D3293BB8-B9B3-4231-B58F-BAE1FD01D97B
612 |
613 |
614 | abbreviation
615 | git:push:tags
616 | abbreviationMode
617 | 1
618 | creationDate
619 | 2012-02-02T04:06:40Z
620 | flags
621 | 2
622 | label
623 | Push Tags
624 | modificationDate
625 | 2012-03-17T01:08:43Z
626 | plainText
627 | git push --tags
628 | snippetType
629 | 3
630 | useCount
631 | 0
632 | uuidString
633 | 5DE47B02-91A7-43F1-A66C-BF04911A16DD
634 |
635 |
636 | abbreviation
637 | git:tag
638 | abbreviationMode
639 | 1
640 | creationDate
641 | 2012-02-02T04:04:37Z
642 | flags
643 | 0
644 | label
645 | Create a new Tag using a SHA
646 | lastUsed
647 | 2013-03-07T04:39:56Z
648 | modificationDate
649 | 2013-03-07T04:39:51Z
650 | plainText
651 | git tag -m"%message" %tag %sha
652 | snippetType
653 | 0
654 | useCount
655 | 1
656 | uuidString
657 | 82857479-7101-4726-9ED3-C20A480A158F
658 |
659 |
660 |
661 |
662 |
--------------------------------------------------------------------------------
/Linux.textexpander:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | groupInfo
6 |
7 | expandAfterMode
8 | 0
9 | groupName
10 | Linux
11 |
12 | snippetsTE2
13 |
14 |
15 | abbreviation
16 | linux:count:file
17 | abbreviationMode
18 | 1
19 | creationDate
20 | 2013-07-16T23:01:34Z
21 | flags
22 | 0
23 | label
24 | Count number of files in directory
25 | modificationDate
26 | 2013-07-16T23:04:42Z
27 | plainText
28 | ls -1 %clipboard | wc -l
29 | snippetType
30 | 0
31 | useCount
32 | 0
33 | uuidString
34 | D39E4186-5A7B-4287-BF5B-96A17FA0653E
35 |
36 |
37 | abbreviation
38 | linux:count:dir
39 | abbreviationMode
40 | 1
41 | creationDate
42 | 2013-07-16T23:01:34Z
43 | flags
44 | 0
45 | label
46 | Count number of directories
47 | modificationDate
48 | 2013-07-16T23:01:34Z
49 | plainText
50 | find -mindepth 1 -type d | wc -l
51 | snippetType
52 | 0
53 | useCount
54 | 0
55 | uuidString
56 | 8645C3BB-2998-4C22-92F2-7E1D5384AD6D
57 |
58 |
59 | abbreviation
60 | linux:process
61 | abbreviationMode
62 | 1
63 | creationDate
64 | 2013-07-16T23:00:16Z
65 | flags
66 | 0
67 | label
68 | Process viewer (interactive)
69 | modificationDate
70 | 2013-07-16T23:00:16Z
71 | plainText
72 | htop
73 | snippetType
74 | 0
75 | useCount
76 | 0
77 | uuidString
78 | 92F5DE82-FF49-4538-BAFB-7819914F0DDA
79 |
80 |
81 | abbreviation
82 | linux:resources
83 | abbreviationMode
84 | 1
85 | creationDate
86 | 2013-07-16T22:58:55Z
87 | flags
88 | 0
89 | label
90 | View resource load report
91 | modificationDate
92 | 2013-07-16T22:59:14Z
93 | plainText
94 | top
95 | snippetType
96 | 0
97 | useCount
98 | 0
99 | uuidString
100 | FD877FA7-6093-422D-9A18-F0078B740D80
101 |
102 |
103 | abbreviation
104 | linux:resources:i
105 | abbreviationMode
106 | 1
107 | creationDate
108 | 2013-07-16T22:58:55Z
109 | flags
110 | 0
111 | label
112 | View resource load report (interactive monitor)
113 | modificationDate
114 | 2013-07-16T22:59:14Z
115 | plainText
116 | atop
117 | snippetType
118 | 0
119 | useCount
120 | 0
121 | uuidString
122 | 475F0B23-6DD4-49AF-B55E-E9A4E32A546E
123 |
124 |
125 | abbreviation
126 | user:del
127 | abbreviationMode
128 | 1
129 | creationDate
130 | 2013-06-23T07:42:47Z
131 | flags
132 | 0
133 | label
134 | Delete Linux/Unix user
135 | modificationDate
136 | 2013-06-23T07:43:38Z
137 | plainText
138 | userdel %fillpart:name=Remove Home directory too:default=yes%-r %fillpartend%%filltext:name=Username%
139 | snippetType
140 | 0
141 | useCount
142 | 0
143 | uuidString
144 | 4B36CCA4-C9A0-4BAD-91D4-4FD795B04BA8
145 |
146 |
147 | abbreviation
148 | ssh:add
149 | abbreviationMode
150 | 1
151 | creationDate
152 | 2013-06-23T07:36:24Z
153 | flags
154 | 0
155 | label
156 | Generate new SSH key
157 | modificationDate
158 | 2013-06-23T07:38:03Z
159 | plainText
160 | ssh-keygen -t rsa -C "%filltext:name=Comment% Key"
161 | snippetType
162 | 0
163 | useCount
164 | 0
165 | uuidString
166 | C9C20D47-3AC1-4558-95C4-3B3B1A7CD121
167 |
168 |
169 | abbreviation
170 | ssh:copy
171 | abbreviationMode
172 | 1
173 | creationDate
174 | 2013-06-23T07:34:57Z
175 | flags
176 | 0
177 | label
178 | Copy SSH public key to clipboard/pasteboard
179 | modificationDate
180 | 2013-06-23T07:37:59Z
181 | plainText
182 | pbcopy < ~/.ssh/id_rsa.pub
183 | snippetType
184 | 0
185 | useCount
186 | 0
187 | uuidString
188 | 38C40DE0-62CF-4EBA-9E56-CCBB6BE1AB22
189 |
190 |
191 | abbreviation
192 | copy:
193 | abbreviationMode
194 | 1
195 | creationDate
196 | 2013-06-23T07:33:53Z
197 | flags
198 | 0
199 | label
200 | Copy from file to clipboard/pasteboard
201 | modificationDate
202 | 2013-06-23T07:33:53Z
203 | plainText
204 | pbcopy < %clipboard
205 | snippetType
206 | 0
207 | useCount
208 | 0
209 | uuidString
210 | 7F89E43B-E5F9-46BC-BCE0-13C958EEFC5B
211 |
212 |
213 | abbreviation
214 | ssh:pass
215 | abbreviationMode
216 | 1
217 | creationDate
218 | 2013-06-23T07:30:04Z
219 | flags
220 | 0
221 | label
222 | Reset or remove SSH password/passphrase
223 | modificationDate
224 | 2013-06-23T07:37:54Z
225 | plainText
226 | ssh-keygen -p -P %filltext:name=Old passphrase:width=35% -N %filltext:name=New passphrase:width=35% %fillpart:name=Key file% -f ~/.ssh/keyfile%fillpartend%
227 | snippetType
228 | 0
229 | useCount
230 | 0
231 | uuidString
232 | B49970B6-2B82-4607-88CF-60AAD4F790C9
233 |
234 |
235 | abbreviation
236 | cron:file
237 | abbreviationMode
238 | 1
239 | creationDate
240 | 2013-06-23T07:13:29Z
241 | flags
242 | 0
243 | label
244 | Add crontab tasks from file
245 | modificationDate
246 | 2013-06-23T07:13:29Z
247 | plainText
248 | crontab %clipboard
249 | snippetType
250 | 0
251 | useCount
252 | 0
253 | uuidString
254 | D56C3B15-EAF9-4C72-8885-9E82D17AD8B1
255 |
256 |
257 | abbreviation
258 | cron:list
259 | abbreviationMode
260 | 1
261 | creationDate
262 | 2013-06-23T07:05:10Z
263 | flags
264 | 0
265 | label
266 | List cron tasks
267 | modificationDate
268 | 2013-06-23T07:05:44Z
269 | plainText
270 | crontab -l
271 | snippetType
272 | 0
273 | useCount
274 | 0
275 | uuidString
276 | 788A7572-A8F4-4C2A-94E4-E15693A08A55
277 |
278 |
279 | abbreviation
280 | cron:template
281 | abbreviationMode
282 | 1
283 | creationDate
284 | 2013-06-21T18:22:51Z
285 | flags
286 | 0
287 | label
288 | Cron template
289 | modificationDate
290 | 2013-06-23T07:17:51Z
291 | plainText
292 | # +---------------- minute (0 - 59)
293 | # | +------------- hour (0 - 23)
294 | # | | +---------- day of month (1 - 31)
295 | # | | | +------- month (1 - 12)
296 | # | | | | +---- day of week (0 - 7) (Sunday=0 or 7)
297 | # | | | | |
298 | # * * * * * /command
299 | snippetType
300 | 0
301 | useCount
302 | 0
303 | uuidString
304 | 6474F330-4942-49DA-98AC-6DA593FE10B6
305 |
306 |
307 | abbreviation
308 | grep:text
309 | abbreviationMode
310 | 0
311 | creationDate
312 | 2012-03-18T02:11:04Z
313 | flags
314 | 0
315 | label
316 | Grep search for a string in a file (return only filenames)
317 | modificationDate
318 | 2012-03-18T02:12:35Z
319 | plainText
320 | grep -H %fill:search% %fill:files% -R | cut -d: -f1
321 | snippetType
322 | 0
323 | useCount
324 | 0
325 | uuidString
326 | 342BB571-4B53-4FCE-A6F8-43A6ED173298
327 |
328 |
329 | abbreviation
330 | gunzip
331 | abbreviationMode
332 | 0
333 | creationDate
334 | 2012-03-16T06:07:52Z
335 | flags
336 | 0
337 | label
338 | Unzip file
339 | modificationDate
340 | 2012-03-16T06:08:44Z
341 | plainText
342 | gunzip %fill:filename%.gz
343 | snippetType
344 | 0
345 | useCount
346 | 0
347 | uuidString
348 | 2C77A769-3B10-4043-863D-E49B24811B51
349 |
350 |
351 | abbreviation
352 | curl:url:headers
353 | abbreviationMode
354 | 0
355 | creationDate
356 | 2012-03-16T05:50:09Z
357 | flags
358 | 0
359 | label
360 | CURL a URL (headers only)
361 | modificationDate
362 | 2012-03-16T05:50:34Z
363 | plainText
364 | curl -I %fill:URL%
365 | snippetType
366 | 0
367 | useCount
368 | 0
369 | uuidString
370 | 3678367E-1496-4BDF-9AE7-9E4024741CE8
371 |
372 |
373 | abbreviation
374 | curl:url:headers:noredirect
375 | abbreviationMode
376 | 0
377 | creationDate
378 | 2012-03-16T05:49:17Z
379 | flags
380 | 0
381 | label
382 | CURL a URL (headers only, no redirect)
383 | modificationDate
384 | 2012-03-16T05:50:31Z
385 | plainText
386 | curl -I -L %fill:URL%
387 | snippetType
388 | 0
389 | useCount
390 | 0
391 | uuidString
392 | E1250D3B-0B9F-45A5-AD8D-E4A343C8ECB4
393 |
394 |
395 | abbreviation
396 | linux:dig:trace
397 | abbreviationMode
398 | 0
399 | creationDate
400 | 2012-03-16T04:35:57Z
401 | flags
402 | 0
403 | label
404 | Trace network path for a domain
405 | modificationDate
406 | 2012-03-16T04:36:52Z
407 | plainText
408 | dig %fill:domainname% +trace
409 | snippetType
410 | 0
411 | useCount
412 | 0
413 | uuidString
414 | B950A0B2-61AE-4B44-8928-82E92417F261
415 |
416 |
417 | abbreviation
418 | linux:dig:domain:nameserver
419 | abbreviationMode
420 | 0
421 | creationDate
422 | 2012-03-16T04:34:34Z
423 | flags
424 | 0
425 | label
426 | Query a domain using a specici nameserver
427 | modificationDate
428 | 2012-03-16T04:35:53Z
429 | plainText
430 | dig @%fill:nameserver% %fill:domain%
431 | snippetType
432 | 0
433 | useCount
434 | 0
435 | uuidString
436 | 37AB492D-3608-42AB-A7F1-C55962BFE3DC
437 |
438 |
439 | abbreviation
440 | linux:dig
441 | abbreviationMode
442 | 0
443 | creationDate
444 | 2012-03-16T04:33:15Z
445 | flags
446 | 0
447 | label
448 | Get full DNS info including MX records
449 | modificationDate
450 | 2012-03-16T04:34:22Z
451 | plainText
452 | dig %fill:domain% ANY +noall +answer
453 | snippetType
454 | 0
455 | useCount
456 | 0
457 | uuidString
458 | AA992CA5-6D8B-4287-9349-B331F7F86270
459 |
460 |
461 | abbreviation
462 | linux:group:add
463 | abbreviationMode
464 | 0
465 | creationDate
466 | 2012-03-16T01:59:39Z
467 | flags
468 | 0
469 | label
470 | Add Linux group
471 | modificationDate
472 | 2012-03-16T02:00:03Z
473 | plainText
474 | groupadd %fill:groupname%
475 | snippetType
476 | 0
477 | useCount
478 | 0
479 | uuidString
480 | 3B25D9AB-2B34-4EF7-B19B-99F0328CE970
481 |
482 |
483 | abbreviation
484 | linux:install:pear
485 | abbreviationMode
486 | 0
487 | creationDate
488 | 2012-03-13T19:48:21Z
489 | flags
490 | 0
491 | label
492 | Install PEAR (Ubuntu)
493 | modificationDate
494 | 2012-03-13T19:50:08Z
495 | plainText
496 | apt-get install php-pear && pear channel-update pear.php.net && pear upgrade-all
497 | snippetType
498 | 0
499 | useCount
500 | 0
501 | uuidString
502 | 98DA9E1A-95BD-423C-879F-C4E3F873F3A3
503 |
504 |
505 | abbreviation
506 | system:multicpu
507 | abbreviationMode
508 | 1
509 | creationDate
510 | 2012-02-29T05:25:27Z
511 | flags
512 | 2
513 | label
514 | Multiprocessor Usage
515 | modificationDate
516 | 2012-02-29T05:25:44Z
517 | plainText
518 | mpstat -P ALL
519 | snippetType
520 | 3
521 | useCount
522 | 0
523 | uuidString
524 | 693C8861-0241-4C7F-82F1-C9B464511406
525 |
526 |
527 | abbreviation
528 | system:cpu
529 | abbreviationMode
530 | 1
531 | creationDate
532 | 2012-02-29T05:24:23Z
533 | flags
534 | 2
535 | label
536 | Average CPU Load, Disk Activity
537 | modificationDate
538 | 2012-02-29T05:24:23Z
539 | plainText
540 | iostat
541 | snippetType
542 | 3
543 | useCount
544 | 0
545 | uuidString
546 | 8E96E052-C815-4D5C-B44C-656118D05759
547 |
548 |
549 | abbreviation
550 | system:mem:free
551 | abbreviationMode
552 | 1
553 | creationDate
554 | 2012-02-29T05:23:55Z
555 | flags
556 | 2
557 | label
558 | Free memory usage
559 | modificationDate
560 | 2013-07-16T22:57:55Z
561 | plainText
562 | free %fillpart:name=Display total:default=yes%-t%fillpartend%%fillpart:name=Units in MB:default=yes%-m%fillpartend%
563 | snippetType
564 | 3
565 | useCount
566 | 0
567 | uuidString
568 | 453F64B9-9B23-4633-8EDC-E8117A611961
569 |
570 |
571 | abbreviation
572 | system:mem
573 | abbreviationMode
574 | 1
575 | creationDate
576 | 2012-02-29T05:23:55Z
577 | flags
578 | 2
579 | label
580 | Memory usage (detailed)
581 | modificationDate
582 | 2013-07-16T22:57:59Z
583 | plainText
584 | cat /proc/meminfo
585 | snippetType
586 | 3
587 | useCount
588 | 0
589 | uuidString
590 | EE782450-5F26-422F-BB1C-F67435D6B777
591 |
592 |
593 | abbreviation
594 | system:mem:vm
595 | abbreviationMode
596 | 1
597 | creationDate
598 | 2012-02-29T05:23:55Z
599 | flags
600 | 2
601 | label
602 | Virtual memory usage
603 | modificationDate
604 | 2013-07-16T22:58:04Z
605 | plainText
606 | vmstat
607 | snippetType
608 | 3
609 | useCount
610 | 0
611 | uuidString
612 | CB13CAEA-13E3-4DDB-B2AE-E2872516B87F
613 |
614 |
615 | abbreviation
616 | system:uptime
617 | abbreviationMode
618 | 1
619 | creationDate
620 | 2012-02-29T05:21:54Z
621 | flags
622 | 2
623 | label
624 | How Long The System Has Been Running
625 | modificationDate
626 | 2012-02-29T05:22:11Z
627 | plainText
628 | uptime
629 | snippetType
630 | 3
631 | useCount
632 | 0
633 | uuidString
634 | 4ED81531-08A9-4197-B019-1251324336DE
635 |
636 |
637 | abbreviation
638 | linux:firewall:restart
639 | abbreviationMode
640 | 1
641 | creationDate
642 | 2012-02-29T04:12:42Z
643 | flags
644 | 2
645 | label
646 | Firewall - restart
647 | modificationDate
648 | 2012-02-29T04:13:09Z
649 | plainText
650 | service iptables restart
651 | snippetType
652 | 3
653 | useCount
654 | 0
655 | uuidString
656 | E8AA1788-8007-4D84-A0A2-AD413E5B0C18
657 |
658 |
659 | abbreviation
660 | linux:firewall:start
661 | abbreviationMode
662 | 1
663 | creationDate
664 | 2012-02-29T04:12:07Z
665 | flags
666 | 2
667 | label
668 | Firewall - start
669 | modificationDate
670 | 2012-02-29T04:12:38Z
671 | plainText
672 | service iptables start
673 | snippetType
674 | 3
675 | useCount
676 | 0
677 | uuidString
678 | 54E716EA-0889-4B06-8B8E-7F8DB59641D0
679 |
680 |
681 | abbreviation
682 | linux:firewall:stop
683 | abbreviationMode
684 | 1
685 | creationDate
686 | 2012-02-29T04:11:04Z
687 | flags
688 | 2
689 | label
690 | Firewall - stop
691 | modificationDate
692 | 2012-02-29T04:12:01Z
693 | plainText
694 | service iptables stop
695 | snippetType
696 | 3
697 | useCount
698 | 0
699 | uuidString
700 | EE3EE6B4-CAAE-4496-BFEE-0A2EFBDDA553
701 |
702 |
703 | abbreviation
704 | linux:firewall:status:numbered
705 | abbreviationMode
706 | 1
707 | creationDate
708 | 2012-02-29T04:09:00Z
709 | flags
710 | 2
711 | label
712 | Display Firewall status with line numbers
713 | modificationDate
714 | 2012-02-29T04:09:41Z
715 | plainText
716 | iptables -L -n -v --line-numbers
717 | snippetType
718 | 3
719 | useCount
720 | 0
721 | uuidString
722 | DD2A17CB-0A76-42E4-A5D9-00499D0D49D4
723 |
724 |
725 | abbreviation
726 | linux:firewall:status:info
727 | abbreviationMode
728 | 1
729 | creationDate
730 | 2012-02-29T04:07:44Z
731 | flags
732 | 2
733 | label
734 | Display Firewall status
735 | modificationDate
736 | 2012-02-29T04:09:49Z
737 | plainText
738 | iptables -L -n -v
739 | snippetType
740 | 3
741 | useCount
742 | 0
743 | uuidString
744 | 7BF6E39D-840E-4B64-926C-A06B45DEEF9B
745 |
746 |
747 | abbreviation
748 | linux:lsb
749 | abbreviationMode
750 | 1
751 | creationDate
752 | 2012-02-29T03:58:09Z
753 | flags
754 | 2
755 | label
756 | Linux Standard Base (LSB) info
757 | modificationDate
758 | 2012-02-29T03:58:09Z
759 | plainText
760 | lsb_release -a
761 | snippetType
762 | 3
763 | useCount
764 | 0
765 | uuidString
766 | 204DC0A3-2AFC-489C-B476-ADA14F38127C
767 |
768 |
769 | abbreviation
770 | linux:distro:info
771 | abbreviationMode
772 | 1
773 | creationDate
774 | 2012-02-29T03:54:31Z
775 | flags
776 | 0
777 | label
778 | Get Linux Distribution info
779 | lastUsed
780 | 2012-03-13T19:47:28Z
781 | modificationDate
782 | 2012-03-13T19:47:23Z
783 | plainText
784 | cat /etc/*-release
785 | snippetType
786 | 0
787 | useCount
788 | 0
789 | uuidString
790 | 860C6935-6259-496B-9998-6C508376601B
791 |
792 |
793 | abbreviation
794 | server:hardware:info:basic
795 | abbreviationMode
796 | 1
797 | creationDate
798 | 2012-02-29T03:00:28Z
799 | flags
800 | 2
801 | label
802 | Print machine hardware name and basic info
803 | modificationDate
804 | 2012-02-29T03:01:30Z
805 | plainText
806 | uname -mrsn
807 | snippetType
808 | 3
809 | useCount
810 | 0
811 | uuidString
812 | D8897146-3950-40C0-A7BC-18E063729209
813 |
814 |
815 | abbreviation
816 | osversion:ubuntu
817 | abbreviationMode
818 | 1
819 | creationDate
820 | 2012-02-29T02:57:03Z
821 | flags
822 | 2
823 | label
824 | Get Ubuntu/Debian Linux version
825 | modificationDate
826 | 2012-02-29T02:58:14Z
827 | plainText
828 | dpkg --list | grep linux-image
829 | snippetType
830 | 3
831 | useCount
832 | 0
833 | uuidString
834 | 43C602BB-8DB5-46F7-A581-7723619C858C
835 |
836 |
837 | abbreviation
838 | osversion:full
839 | abbreviationMode
840 | 1
841 | creationDate
842 | 2012-02-29T02:55:05Z
843 | flags
844 | 2
845 | label
846 | Find Linux/UNIX version (detailed)
847 | modificationDate
848 | 2012-02-29T02:58:16Z
849 | plainText
850 | cat /proc/version
851 | snippetType
852 | 3
853 | useCount
854 | 0
855 | uuidString
856 | C72CEA0B-9018-428F-814D-82F7D764A2D0
857 |
858 |
859 | abbreviation
860 | osversion:info
861 | abbreviationMode
862 | 1
863 | creationDate
864 | 2012-02-29T02:53:46Z
865 | flags
866 | 2
867 | label
868 | Find Linux/UNIX version
869 | modificationDate
870 | 2012-02-29T02:58:18Z
871 | plainText
872 | uname -mrsn
873 | snippetType
874 | 3
875 | useCount
876 | 0
877 | uuidString
878 | 06FEFD92-FC61-43EC-8466-ABFFE275CC53
879 |
880 |
881 | abbreviation
882 | cron:working
883 | abbreviationMode
884 | 1
885 | creationDate
886 | 2011-12-31T01:23:42Z
887 | flags
888 | 2
889 | label
890 | Test if cron is working
891 | modificationDate
892 | 2012-03-18T08:34:08Z
893 | plainText
894 | crontab -e
895 | snippetType
896 | 3
897 | useCount
898 | 0
899 | uuidString
900 | 7A453027-A8D5-4754-B6E1-284A8F18F9CD
901 |
902 |
903 | abbreviation
904 | cron:running
905 | abbreviationMode
906 | 0
907 | creationDate
908 | 2011-12-31T01:21:15Z
909 | flags
910 | 2
911 | label
912 | Test if cron is running
913 | modificationDate
914 | 2012-03-18T08:34:11Z
915 | plainText
916 | ps ax | grep cron
917 | snippetType
918 | 3
919 | useCount
920 | 0
921 | uuidString
922 | CAB85B31-CB82-4540-BC3F-81AB6344CB87
923 |
924 |
925 | abbreviation
926 | ssh:echo
927 | abbreviationMode
928 | 1
929 | creationDate
930 | 2013-06-23T07:38:26Z
931 | flags
932 | 0
933 | label
934 | Print out SSH public key (for current user)
935 | modificationDate
936 | 2013-06-23T07:38:55Z
937 | plainText
938 | cat ~/.ssh/id_rsa.pub
939 | snippetType
940 | 0
941 | useCount
942 | 0
943 | uuidString
944 | D1462F35-C91D-45D7-A0D6-B790BB3DC043
945 |
946 |
947 | abbreviation
948 | cron:del
949 | abbreviationMode
950 | 1
951 | creationDate
952 | 2013-06-23T07:06:51Z
953 | flags
954 | 0
955 | label
956 | Remove cron tasks (current or specific user)
957 | modificationDate
958 | 2013-06-23T07:18:26Z
959 | plainText
960 | crontab -r%fillpart:name=User% -u username%fillpartend%
961 | snippetType
962 | 0
963 | useCount
964 | 0
965 | uuidString
966 | AA75952C-820B-4CD3-B9DA-C7C00EE0A018
967 |
968 |
969 | abbreviation
970 | cron:user
971 | abbreviationMode
972 | 1
973 | creationDate
974 | 2013-06-23T07:05:47Z
975 | flags
976 | 0
977 | label
978 | List cron tasks for certain user
979 | modificationDate
980 | 2013-06-23T07:05:47Z
981 | plainText
982 | crontab -u %filltext:name=Username% -l
983 | snippetType
984 | 0
985 | useCount
986 | 0
987 | uuidString
988 | 23DEBB45-84C7-4C4A-AFDF-F7CE432C231E
989 |
990 |
991 | abbreviation
992 | cron:add
993 | abbreviationMode
994 | 1
995 | creationDate
996 | 2013-06-21T18:27:47Z
997 | flags
998 | 0
999 | label
1000 | Add cron task
1001 | modificationDate
1002 | 2013-06-23T07:17:02Z
1003 | plainText
1004 | %fillpart:name=E-mail user or not%MAIL="user@localhost" #empty value suppresses email delivery%fillpartend%
1005 | %filltext:name=Minute (0-59)% %filltext:name=Hour (0-23)% %filltext:name=Day of Month (1-31):width=30% %filltext:name=Month (1-12)% %filltext:name=Day of Week (0-7, Sunday):width=30% %fillarea:name=Command to run:height=3%
1006 | snippetType
1007 | 0
1008 | useCount
1009 | 0
1010 | uuidString
1011 | C1BE5349-008E-4F5B-A0BD-CA463B54F12A
1012 |
1013 |
1014 | abbreviation
1015 | linus:users:list:home
1016 | abbreviationMode
1017 | 0
1018 | creationDate
1019 | 2012-03-16T03:27:22Z
1020 | flags
1021 | 0
1022 | label
1023 | List Linux users with home directories
1024 | modificationDate
1025 | 2012-03-16T03:27:46Z
1026 | plainText
1027 | cat /etc/passwd | grep "/home" |cut -d: -f1
1028 | snippetType
1029 | 0
1030 | useCount
1031 | 0
1032 | uuidString
1033 | 6B9C4466-2A08-4000-9C96-6787DE9C779D
1034 |
1035 |
1036 | abbreviation
1037 | linus:users:list:home:full
1038 | abbreviationMode
1039 | 0
1040 | creationDate
1041 | 2012-03-16T03:26:19Z
1042 | flags
1043 | 0
1044 | label
1045 | List Linux users with home directories (full)
1046 | modificationDate
1047 | 2012-03-16T03:27:49Z
1048 | plainText
1049 | cat /etc/passwd | grep "/home"
1050 | snippetType
1051 | 0
1052 | useCount
1053 | 0
1054 | uuidString
1055 | 82FDCDE0-B758-46C6-85BC-212C97ED6F78
1056 |
1057 |
1058 | abbreviation
1059 | linux:user:groups
1060 | abbreviationMode
1061 | 0
1062 | creationDate
1063 | 2012-03-16T03:24:41Z
1064 | flags
1065 | 0
1066 | label
1067 | List Linux user groups
1068 | modificationDate
1069 | 2012-03-16T03:24:41Z
1070 | plainText
1071 | cat /etc/group | cut -d":" -f1
1072 | snippetType
1073 | 0
1074 | useCount
1075 | 0
1076 | uuidString
1077 | 777C5AE9-B75F-453C-8005-4403F052C04C
1078 |
1079 |
1080 | abbreviation
1081 | linux:user:groups:full
1082 | abbreviationMode
1083 | 0
1084 | creationDate
1085 | 2012-03-16T03:23:05Z
1086 | flags
1087 | 0
1088 | label
1089 | List Linux user groups (full)
1090 | modificationDate
1091 | 2012-03-16T03:24:57Z
1092 | plainText
1093 | cat /etc/group
1094 | snippetType
1095 | 0
1096 | useCount
1097 | 0
1098 | uuidString
1099 | 0C03E46B-4ABC-4E45-964B-87A37E8848A4
1100 |
1101 |
1102 | abbreviation
1103 | linux:user:list
1104 | abbreviationMode
1105 | 0
1106 | creationDate
1107 | 2012-03-16T03:22:07Z
1108 | flags
1109 | 0
1110 | label
1111 | List Linux users (names only)
1112 | modificationDate
1113 | 2012-03-16T03:22:23Z
1114 | plainText
1115 | cat /etc/passwd | cut -d":" -f1
1116 | snippetType
1117 | 0
1118 | useCount
1119 | 0
1120 | uuidString
1121 | AE795656-7BD7-492F-9D0E-8F9C461894C7
1122 |
1123 |
1124 | abbreviation
1125 | linux:user:list:full
1126 | abbreviationMode
1127 | 0
1128 | creationDate
1129 | 2012-03-16T03:21:03Z
1130 | flags
1131 | 0
1132 | label
1133 | List Linux users (unfiltered)
1134 | modificationDate
1135 | 2012-03-16T03:22:31Z
1136 | plainText
1137 | cat /etc/passwd
1138 | snippetType
1139 | 0
1140 | useCount
1141 | 0
1142 | uuidString
1143 | 4231D8D9-C321-4066-9067-D5A91A737E4D
1144 |
1145 |
1146 | abbreviation
1147 | linux:user:group:primary
1148 | abbreviationMode
1149 | 0
1150 | creationDate
1151 | 2012-03-16T02:06:24Z
1152 | flags
1153 | 0
1154 | label
1155 | Change existing Linux user primary group
1156 | modificationDate
1157 | 2012-03-16T02:07:01Z
1158 | plainText
1159 | user mod -g %fill:group% %fill:user%
1160 | snippetType
1161 | 0
1162 | useCount
1163 | 0
1164 | uuidString
1165 | 9696CE4E-D2C8-4676-BBDA-A6B2AB5075E8
1166 |
1167 |
1168 | abbreviation
1169 | linux:user:group:add
1170 | abbreviationMode
1171 | 0
1172 | creationDate
1173 | 2012-03-16T02:04:03Z
1174 | flags
1175 | 0
1176 | label
1177 | Add existing Linux user to a group
1178 | modificationDate
1179 | 2012-03-16T02:05:55Z
1180 | plainText
1181 | user mod -a -G %fill:group%
1182 | snippetType
1183 | 0
1184 | useCount
1185 | 0
1186 | uuidString
1187 | 60C6843D-296B-4E08-8A4E-4AF6D5BC644A
1188 |
1189 |
1190 | abbreviation
1191 | linux:user:details
1192 | abbreviationMode
1193 | 0
1194 | creationDate
1195 | 2012-03-16T02:00:23Z
1196 | flags
1197 | 0
1198 | label
1199 | Get user info & details
1200 | modificationDate
1201 | 2012-03-16T02:00:23Z
1202 | plainText
1203 | id %fill:username%
1204 | snippetType
1205 | 0
1206 | useCount
1207 | 0
1208 | uuidString
1209 | 7C6786DC-241C-40AF-9E48-55E130FA4C5C
1210 |
1211 |
1212 | abbreviation
1213 | linux:group:exists
1214 | abbreviationMode
1215 | 0
1216 | creationDate
1217 | 2012-03-16T01:58:41Z
1218 | flags
1219 | 0
1220 | label
1221 | Check if Linux user group exists
1222 | modificationDate
1223 | 2012-03-16T01:59:12Z
1224 | plainText
1225 | grep %fill:groupname% /etc/group
1226 | snippetType
1227 | 0
1228 | useCount
1229 | 0
1230 | uuidString
1231 | 15B3CE10-2FC7-4F18-AB2C-D3855C466601
1232 |
1233 |
1234 | abbreviation
1235 |
1236 | abbreviationMode
1237 | 0
1238 | creationDate
1239 | 2012-03-16T01:57:28Z
1240 | flags
1241 | 0
1242 | label
1243 | Add new Linux user (w/group)
1244 | modificationDate
1245 | 2012-03-16T02:03:26Z
1246 | plainText
1247 | useradd -G %fill:groups% %fill:username%
1248 | snippetType
1249 | 0
1250 | useCount
1251 | 0
1252 | uuidString
1253 | 23CDAEAD-EBAD-4AC0-924A-DF15D5388450
1254 |
1255 |
1256 | abbreviation
1257 | linux:user:password:set
1258 | abbreviationMode
1259 | 0
1260 | creationDate
1261 | 2012-03-16T01:54:39Z
1262 | flags
1263 | 0
1264 | label
1265 | Set password for Linux user
1266 | modificationDate
1267 | 2012-03-16T01:54:39Z
1268 | plainText
1269 | passwd %fill:username%
1270 | snippetType
1271 | 0
1272 | useCount
1273 | 0
1274 | uuidString
1275 | 1591A00C-F468-4A25-946A-98099AD3B1EB
1276 |
1277 |
1278 | abbreviation
1279 | linux:user:temp:add
1280 | abbreviationMode
1281 | 0
1282 | creationDate
1283 | 2012-03-16T01:52:17Z
1284 | flags
1285 | 0
1286 | label
1287 | Add temporary Linux user
1288 | modificationDate
1289 | 2012-03-16T01:52:17Z
1290 | plainText
1291 | useradd -e %fill:yyyy%-%fill:mm%-%fill:dd% %fill:username%
1292 | snippetType
1293 | 0
1294 | useCount
1295 | 0
1296 | uuidString
1297 | 34B04846-1D1B-4AD0-9650-81DC6FFA05E1
1298 |
1299 |
1300 | abbreviation
1301 | linux:user:add
1302 | abbreviationMode
1303 | 0
1304 | creationDate
1305 | 2012-03-16T01:51:16Z
1306 | flags
1307 | 0
1308 | label
1309 | Add Linux user (interactive)
1310 | modificationDate
1311 | 2013-06-23T07:41:43Z
1312 | plainText
1313 | useradd %fill:username%%fillpart:name=Comment%-c "Comment"%fillpartend%
1314 | snippetType
1315 | 0
1316 | useCount
1317 | 0
1318 | uuidString
1319 | 68C9D466-3D9E-4949-8103-12F5E46F32DD
1320 |
1321 |
1322 | abbreviation
1323 | user:activity
1324 | abbreviationMode
1325 | 1
1326 | creationDate
1327 | 2012-02-29T05:20:56Z
1328 | flags
1329 | 0
1330 | label
1331 | Find out what a user is doing
1332 | modificationDate
1333 | 2012-02-29T05:20:56Z
1334 | plainText
1335 | w %fill:username%
1336 | snippetType
1337 | 0
1338 | useCount
1339 | 0
1340 | uuidString
1341 | FE20B0FE-0651-49F3-8D0C-F8B44528B1C4
1342 |
1343 |
1344 | abbreviation
1345 | users:now
1346 | abbreviationMode
1347 | 1
1348 | creationDate
1349 | 2012-02-29T05:20:26Z
1350 | flags
1351 | 2
1352 | label
1353 | Find out who is logged in
1354 | modificationDate
1355 | 2012-02-29T05:20:50Z
1356 | plainText
1357 | w
1358 | snippetType
1359 | 3
1360 | useCount
1361 | 0
1362 | uuidString
1363 | 1021A61D-1F5C-4DAE-8904-7047F4D2FD9F
1364 |
1365 |
1366 |
1367 |
1368 |
--------------------------------------------------------------------------------