Pending reviews for User:Freephile

From Freephile Wiki
Pages reviewed by 5 or more people
Pages reviewed by 3 or more people
Pages reviewed by 0 - 2 people
PreviousNext

Freephile has 323 pending reviews

Firewalld View change on page (view page history)
  • 24 February Admin made an edit with summary: Text replacement - "<(\/?)source" to "<$1syntaxhighlight"
High loadMark reviewed View change on page (view page history)
  • 24 February Admin made an edit with summary: Text replacement - "<(\/?)source" to "<$1syntaxhighlight"
Last seen Current
Line 7: Line 7:
== General ==
== General ==
Some of the commands you will find useful for high load issues
Some of the commands you will find useful for high load issues
<source lang="bash">
<syntaxhighlight lang="bash">
# look at any hardware or unusual issues first
# look at any hardware or unusual issues first
dmesg
dmesg
Line 20: Line 20:
# show one iteration of iotop
# show one iteration of iotop
iotop -bto --iter=1
iotop -bto --iter=1
</source>
</syntaxhighlight>


== Applications ==
== Applications ==
Perl View change on page (view page history)
  • 24 February Admin made an edit with summary: Text replacement - "<(\/?)source" to "<$1syntaxhighlight"
Git/migrating to gitMark reviewed View change on page (view page history)
  • 24 February Admin made an edit with summary: Text replacement - "<(\/?)source" to "<$1syntaxhighlight"
Last seen Current
Line 36: Line 36:
<li> Convert svn:ignore properties to .gitignore file (example of why you need to later delete empty commits which reflect properties not code changes)
<li> Convert svn:ignore properties to .gitignore file (example of why you need to later delete empty commits which reflect properties not code changes)
<li>Verification
<li>Verification
<source lang="bash">
<syntaxhighlight lang="bash">
mkdir -p /tmp/verify
mkdir -p /tmp/verify
cd /tmp/verify
cd /tmp/verify
Line 58: Line 58:
diff -ur /tmp/verify /tmp/verify/git
diff -ur /tmp/verify /tmp/verify/git


</source>
</syntaxhighlight>


<li>Build
<li>Build
Importing contacts/AccountsMark reviewed View change on page (view page history)
  • 24 February Admin made an edit with summary: Text replacement - "<(\/?)source" to "<$1syntaxhighlight"
Last seen Current
Line 3: Line 3:
definition of the SOAP profile for Accounts
definition of the SOAP profile for Accounts


<source lang="php">
<syntaxhighlight lang="php">
array (
array (
   'module_name' => 'Accounts',
   'module_name' => 'Accounts',
Line 611: Line 611:
   'error' => '',
   'error' => '',
)
)
</source>
</syntaxhighlight>


[[Category:SugarCRM]]
[[Category:SugarCRM]]
CiviCRM/CiviMail View change on page (view page history)
  • 24 February Admin made an edit with summary: Text replacement - "<(\/?)source" to "<$1syntaxhighlight"
Tidy View change on page (view page history)
  • 24 February Admin made an edit with summary: Text replacement - "<(\/?)source" to "<$1syntaxhighlight"
Wiki report/javascriptMark reviewed View change on page (view page history)
  • 24 February Admin made an edit with summary: Text replacement - "<(\/?)source" to "<$1syntaxhighlight"
Last seen Current
Line 1: Line 1:
{{stub}}I need to come try some of this and document it.  Some clientside JavaScript to talk to the mwApi.
{{stub}}I need to come try some of this and document it.  Some clientside JavaScript to talk to the mwApi.
<source lang="JavaScript">
<syntaxhighlight lang="JavaScript">


$(document).ready(function() {
$(document).ready(function() {
Line 96: Line 96:
     });   
     });   


</source>
</syntaxhighlight>
Email View change on page (view page history)
  • 24 February Admin made an edit with summary: Text replacement - "<(\/?)source" to "<$1syntaxhighlight"
TLSMark reviewed View change on page (view page history)
  • 24 February Admin made an edit with summary: Text replacement - "<(\/?)source" to "<$1syntaxhighlight"
Last seen Current
Line 32: Line 32:
and therefore is quite noisy.
and therefore is quite noisy.


<source lang="bash">
<syntaxhighlight lang="bash">
nmap --script +ssl-enum-ciphers example.com
nmap --script +ssl-enum-ciphers example.com
</source>
</syntaxhighlight>


Using [[Certbot]], you can manage your certificates.
Using [[Certbot]], you can manage your certificates.
Strace View change on page (view page history)
  • 24 February Admin made an edit with summary: Text replacement - "<(\/?)source" to "<$1syntaxhighlight"
Eclipse View change on page (view page history)
  • 24 February Admin made an edit with summary: Text replacement - "<(\/?)source" to "<$1syntaxhighlight"
LocateMark reviewed View change on page (view page history)
  • 24 February Admin made an edit with summary: Text replacement - "<(\/?)source" to "<$1syntaxhighlight"
Last seen Current
Line 7: Line 7:
Note: Because the dollar sign has special significance to the shell, we enclose the function argument in single quotes to pass it literally to the function and the shell won't 'see' it.
Note: Because the dollar sign has special significance to the shell, we enclose the function argument in single quotes to pass it literally to the function and the shell won't 'see' it.


<source lang="bash">
<syntaxhighlight lang="bash">
locate -r '/phase3$'
locate -r '/phase3$'
</source>
</syntaxhighlight>
Library View change on page (view page history)
  • 24 February Admin made an edit with summary: Text replacement - "<(\/?)source" to "<$1syntaxhighlight"
Illegal charactersMark reviewed View change on page (view page history)
  • 24 February Admin made an edit with summary: Text replacement - "<(\/?)source" to "<$1syntaxhighlight"
Last seen Current
Line 1: Line 1:
You're cleaning up a Linux filesystem to make it compatible with Windows (which doesn't accept the kind of characters that Linux hangs around with).
You're cleaning up a Linux filesystem to make it compatible with Windows (which doesn't accept the kind of characters that Linux hangs around with).


<source lang="bash">
<syntaxhighlight lang="bash">


find . -name "*[<>:\\|?*]*" -exec bash -c 'x="{}"; y=$(sed "s/[<>:\\|?*]\+/-/g" <<< "$x") && mv "$x" "$y" ' \;
find . -name "*[<>:\\|?*]*" -exec bash -c 'x="{}"; y=$(sed "s/[<>:\\|?*]\+/-/g" <<< "$x") && mv "$x" "$y" ' \;


</source>
</syntaxhighlight>


[[Category:Bash]]
[[Category:Bash]]
Postfix View change on page (view page history)
  • 24 February Admin made an edit with summary: Text replacement - "<(\/?)source" to "<$1syntaxhighlight"
Subversion/pre-commitMark reviewed View change on page (view page history)
  • 24 February Admin made an edit with summary: Text replacement - "<(\/?)source" to "<$1syntaxhighlight"
Last seen Current
Line 1: Line 1:
<source lang="bash">
<syntaxhighlight lang="bash">
#!/bin/sh
#!/bin/sh
#
#
Line 294: Line 294:
   exit 0
   exit 0
fi
fi
</source>
</syntaxhighlight>


[[Category:Subversion]]
[[Category:Subversion]]
NetBeans View change on page (view page history)
  • 24 February Admin made an edit with summary: Text replacement - "<(\/?)source" to "<$1syntaxhighlight"
Performance tuning View change on page (view page history)
  • 24 February Admin made an edit with summary: Text replacement - "<(\/?)source" to "<$1syntaxhighlight"
NginxMark reviewed View change on page (view page history)
  • 24 February Admin made an edit with summary: Text replacement - "<(\/?)source" to "<$1syntaxhighlight"
Last seen Current
Line 34: Line 34:
== File Not Found ==
== File Not Found ==
I kept getting 404's and one possibility to eliminate is whether or not your server has read access to the filesystem.  You can check with:
I kept getting 404's and one possibility to eliminate is whether or not your server has read access to the filesystem.  You can check with:
<source lang="bash">
<syntaxhighlight lang="bash">
# -H for set 'home' from /etc/password
# -H for set 'home' from /etc/password
# -lmo for long, mode, owners
# -lmo for long, mode, owners
sudo -H -u nginx namei -lmo /var/www/mediawiki
sudo -H -u nginx namei -lmo /var/www/mediawiki
</source>
</syntaxhighlight>


== Other resources ==
== Other resources ==