Fulltext results:
- Formatting Syntax @wiki
- nd_strings_in_your_installation|localization]]): <code - conf/lang/en/lang.php> <?php /** * Customizati... be modified */ $lang['js']['nosmblinks'] = ''; </code> ==== Image Links ==== You can also use an imag... t use indention for deeper levels - That's it <code> * This is a list * The second item * You... t use indention for deeper levels - That's it </code> Also take a look at the [[doku>faq:lists|FAQ on
- Compare directories @info:script
- ach of the directories, generate a digest file: <code bash> find DIR -type f -exec shasum {} + | LC_ALL=C sort -d -k 2 > shasums.txt </code> It's important to use ''LC_ALL=C'' and the opti... After that, you can diff the two shasums.txt: <code bash> diff shasums1.txt shasums2.txt </code> Or you use Meld as graphical diff tool: <code bash> meld
- List Open Ports @info:sysadmin
- en ports together with the listening processes: <code bash> netstat -tulpn </code> Here is an example output: <code> Active Internet connections (only servers) Proto Recv-Q Send-Q Loc... 407/avahi-daemon: r </code> {{tag>sysadmin admin linux network port info}}
- Increase the Tomcat Upload Limit @info:sysadmin
- e ''WEB-INF/web.xml'' within the "manager"-App: <code xml> <multipart-config> <!-- 50MB max -... 0</file-size-threshold> </multipart-config> </code> To increate the limit to 75MiB change the file like this: <code xml> <multipart-config> <!-- 75MB max -... 0</file-size-threshold> </multipart-config> </code> If you have installed Tomcat in ''/opt/tomcat''
- Disable a Service @info:linux:debian
- Disable a Service ====== To disable a service: <code bash> service <service> stop update-rc.d <service> enable|disable </code> With ''systemd'' (starting with Debian 8): <code bash> systemctl disable <service> </code> To (re)enable a service: <code bash> update-rc.d <service>
- WiFi Config QR-Code @info
- ====== WiFi Config QR-Code ====== To generate a qr-code for a wifi config, you must encode the following URL in the qr-code: WIFI:S:<SSID>;T:<WPA|WEP|>;P:<password>;; If
- Cursor Size @info:linux:gnome
- itute the value ''32'' with your prefered size. <code bash> gsettings set org.gnome.desktop.interface cursor-size 32 </code> {{tag>desktop gnome linux mouse cursor settings
- MySQL: Create User @info:mysql:user
- ySQL: Create User ====== ==== Create User ==== <code sql> CREATE USER '{user}'@'%' IDENTIFIED BY '{passwd}'; </code> ==== Create User and Database ==== * Usually, ''{user}'' == ''{db}'' <code sql> CREATE USER '{user}'@'%' IDENTIFIED BY '{pas... ALL PRIVILEGES ON `{db}` . * TO '{user}'@'%'; </code> Simpler Alternative: <code sql> CREATE DATABAS
- SSH @info:sysadmin
- file (''sshd_config'') contains these settings: <code> PubkeyAuthentication yes PasswordAuthentication no </code> If you changed the config, make sure to restart sshd to activate ist: <code bash> service ssh restart </code> {{tag>sysadmin ssh linux security}}
- rmdir for OSX @info:mac
- ctories from the command line quite complicated: <code bash> $ rmdir test rmdir: test: Directory not empty $ rm test/.DS_Store $ /bin/rmdir test </code> I wrote a small bash function to remove directo... together with the contained ''.DS_Store'' file: <code bash> rmdir() { for d in "$@" do f="${d%/}/.DS_S... fi /bin/rmdir "${d}" || ls -al "${d}" done } </code> With this function you can remove the directory
- MacPorts @info:mac
- = ===== List Ports ===== list requested ports: <code bash> port echo requested | cut -d ' ' -f 1 | uniq </code> list installed ports: <code bash> port -qv installed </code> ===== Housekeeping ===== When ports are updated, the old port is onl
- Start and Stop the Apple File Server from Command Line @blog:2011
- he Apple File Server ("Personal File Sharing"): <code bash> sudo /sbin/service com.apple.AppleFileServer start </code> And likewise stop it: <code bash> sudo /sbin/service com.apple.AppleFileServer stop </code> {{tag>cli mac osx share shell sysadmin}}
- Set a Mac's Hostname @info:mac
- desired hostname instead of ''the_hostname''): <code bash> sudo scutil --set HostName the_hostname </code> === Credits === * http://osxdaily.com/2010/09
- Make your Mac feel at Home @info:mac
- s whether your Mac is in the given (home) WLAN. <code bash> # # Path to 'airport' executeable, as of Ma... MESSID}\$") # # Branch depending on grep's return code. if [ "$?" == "0" ]; then # in home wlan echo "... # not at home echo "on the road again..." fi </code> To use this code, set the ''HOMESSID'' to your ''SSID'' (the name of the wireless network) and replac
- Comapct Sparse Image @info:mac
- ====== Comapct Sparse Image ====== <code bash> hdiutil compact your.sparseimage </code> {{tag>sysadmin cli apple mac osx}}