snipt

Ctrl+h for KB shortcuts

Bash

sublime settings synced with dropbox

1
2
3
$ mv ~/Library/Application\ Support/Sublime\ Text\ 3 /path/to/cloud
$ ln -s /path/to/cloud/Sublime\ Text\ 3 ~/Library/Application\ Support/Sublime\ Text\ 3
reply
https://snipt.net/embed/1b33f3e9b0ec4e7649d3c34f5444fb7f/
https://snipt.net/raw/1b33f3e9b0ec4e7649d3c34f5444fb7f/
1b33f3e9b0ec4e7649d3c34f5444fb7f
bash
Bash
5
2016-09-27T15:19:50
True
False
False
Feb 14, 2014 at 11:02 PM
/api/public/snipt/113887/
sublime-settings-synced-with-dropbox
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a><span class="nv">$ </span>mv ~/Library/Application<span class="se">\ </span>Support/Sublime<span class="se">\ </span>Text<span class="se">\ </span><span class="m">3</span> /path/to/cloud </span><span id="L-2"><a name="L-2"></a><span class="nv">$ </span>ln -s /path/to/cloud/Sublime<span class="se">\ </span>Text<span class="se">\ </span><span class="m">3</span> ~/Library/Application<span class="se">\ </span>Support/Sublime<span class="se">\ </span>Text<span class="se">\ </span>3 </span><span id="L-3"><a name="L-3"></a>reply </span></pre></div> </td></tr></table>
bash, dropbox, editor, osx, sublime

Text only

Disable Wordpress Plugin/Theme Editor

/** Disables the Plugin/Theme Editor **/
define('DISALLOW_FILE_EDIT',true);
https://snipt.net/embed/63ac6148260e92a01aea6c24f00fd5d9/
https://snipt.net/raw/63ac6148260e92a01aea6c24f00fd5d9/
63ac6148260e92a01aea6c24f00fd5d9
text
Text only
2
2016-09-30T14:22:24
True
False
False
/api/public/snipt/58134/
disable-wordpress-plugintheme-editor
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a>/** Disables the Plugin/Theme Editor **/ </span><span id="L-2"><a name="L-2"></a>define(&#39;DISALLOW_FILE_EDIT&#39;,true); </span></pre></div> </td></tr></table>
editor, modification, wordpress

PHP

Disallow theme/plugin editor

1
2
3
<?php
define( 'DISALLOW_FILE_EDIT', true );
?>
https://snipt.net/embed/d5352bee4c9e73c76301fd3b9d6648b9/
https://snipt.net/raw/d5352bee4c9e73c76301fd3b9d6648b9/
d5352bee4c9e73c76301fd3b9d6648b9
php
PHP
3
2016-09-26T17:41:01
True
False
False
Sep 20, 2012 at 10:40 AM
/api/public/snipt/47387/
disallow-themeplugin-editor
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a><span class="cp">&lt;?php</span> </span><span id="L-2"><a name="L-2"></a><span class="nb">define</span><span class="p">(</span> <span class="s1">&#39;DISALLOW_FILE_EDIT&#39;</span><span class="p">,</span> <span class="k">true</span> <span class="p">);</span> </span><span id="L-3"><a name="L-3"></a><span class="cp">?&gt;</span><span class="x"></span> </span></pre></div> </td></tr></table>
editor, plugin, theme, wordpress, wpconfig
Copyrighted, illegal, or inappropriate content? Email support@snipt.net.