tips
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tips [2016-05-08 11:57] – 203.79.107.114 | tips [2023-12-29 01:43] (current) – [Table] 74.88.27.221 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | + | ||
- | + | ||
- | ===== Stop MSBuild VS, holds files open ===== | + | |
- | + | ||
- | | + | |
- | + | ||
- | ===== zip all folders ===== | + | |
- | + | ||
- | < | + | |
- | for i in * ; do | + | |
- | if[[ -d " | + | |
- | 7z a -m5=LZMA2 $i.7z $i\* | + | |
- | fi | + | |
- | done | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | + | ||
- | [[Remove_app]] | + | |
- | + | ||
- | | + | |
- | | + | |
- | + | ||
- | [[Linux_Backups]] | + | |
- | + | ||
- | < | + | |
- | NOW=$(date +" | + | |
- | tar cxf file.${NOW}.tar.gz dir | + | |
- | </ | + | |
- | + | ||
- | | + | |
- | + | ||
- | [[Default_route]] | + | |
- | + | ||
- | route add default gw < | + | |
- | + | ||
- | [[Python_and_Django]] | + | |
- | + | ||
- | [[Apache_restrictive_deny_on_virthosts]] | + | |
- | + | ||
- | Default settings for DocumentRoot in http.conf | + | |
- | Order deny, | + | |
- | Deny from all | + | |
- | + | ||
- | Change to | + | |
- | Order allow, | + | |
- | Allow from all | + | |
- | + | ||
- | [[Ubantu_32-bit libraries where it only installs 64-bit]] | + | |
- | + | ||
- | | + | |
- | + | ||
- | [[My_IP_Addresses]] | + | |
- | + | ||
- | [[Reset_MYSQL_Root_Password]] | + | |
- | + | ||
- | Reset Forgotten MySQL Root Password | + | |
- | Have you ever forgotten the root password on one of your MySQL servers? No? Well maybe I’m not as perfect as you. This is a quick h00tow (how to) reset your MySQL root password. It does require root access on your server. If you have forgotten that password wait for another article. Original article posted on reset mysql root password. | + | This is the place to collect all your Tips and Tricks |
- | + | ||
- | First things first. Log in as root and stop the mysql daemon. Now lets start up the mysql daemon and skip the grant tables which store the passwords. | + | |
- | + | ||
- | | + | |
- | + | ||
- | You should see mysqld start up successfully. If not, well you have bigger issues. Now you should be able to connect to mysql without a password. | + | |
- | + | ||
- | mysql --user=root mysql | + | |
- | + | ||
- | | + | |
- | flush privileges; | + | |
- | | + | |
- | + | ||
- | Now kill your running mysqld, then restart it normally. You should be good to go. Try not to forget your password again. | + | |
- | + | ||
- | Deleteed user - | + | |
- | + | ||
- | | + | |
- | + | ||
- | | + | |
- | + | ||
- | In my case I'd deleted root user for 127.0.0.1, but localhost was still there. Was able to login in using the port directly using: | + | |
- | + | ||
- | mysql --protocol=tcp --port=3306 -h127.0.0.1 -u root -p | + | |
- | + | ||
- | Then update the privilages | + | |
- | + | ||
- | GRANT ALL PRIVILEGES ON * TO ' | + | |
- | + | ||
- | [[Doctorine]] | + | |
- | + | ||
- | [[Bash_one_liners]] | + | |
- | + | ||
- | [[Sendmail_Config]] | + | |
- | + | ||
- | [[Named_Config]] | + | |
- | + | ||
- | [[EEE_900]] | + | |
- | + | ||
- | [[Ubantu]] | + | |
- | + | ||
- | [[Cygwin]] | + | |
- | + | ||
- | [[SSH_public_keys]] | + | |
- | + | ||
- | [[http:// | + | |
- | + | ||
- | [[Rename_network_adaptors]] | + | |
- | + | ||
- | ===== unix version ===== | + | |
- | + | ||
- | uname -a | + | |
- | + | ||
- | ===== Search | + | |
- | + | ||
- | < | + | |
- | # | + | |
- | # base file that will be ' | + | |
- | BASENAME=' | + | |
- | # text array of the resulting file names, and the replace string | + | |
- | RESULTNAMES=' | + | |
- | # for loop thru the text array | + | |
- | for RESNAME in ${RESULTNAMES}; | + | |
- | echo " | + | |
- | sed " | + | |
- | done | + | |
- | </ | + | |
- | + | ||
- | sed -i 's/20[[0-1][[0-9]\{7\}/' | + | |
- | + | ||
- | sed -i ' | + | |
- | + | ||
- | ===== Decode Base64 email ===== | + | |
- | + | ||
- | php -r 'echo base64_decode($argv[[1]);' | + | |
- | + | ||
- | ===== ntp without daemon ===== | + | |
- | + | ||
- | | + | |
- | + | ||
- | ===== remove duplicate lines ===== | + | |
- | + | ||
- | sort / | + | |
- | + | ||
- | ===== add cygwin program as a windows service ===== | + | |
- | + | ||
- | run cygwin as admin | + | |
- | + | ||
- | | + | |
- | + | ||
- | ===== allow samba links for external to local shares ===== | + | |
- | + | ||
- | smb.conf | + | |
- | + | ||
- | | + | |
- | wide links = yes | + | |
- | unix extensions = no | + | |
- | + | ||
- | ===== make a subdir/dir ===== | + | |
- | + | ||
- | mkdir -p / | + | |
- | + | ||
- | ===== delete a user ===== | + | |
- | + | ||
- | | + | |
- | + | ||
- | [[Linux_Embedded_quick_commands]] | + | |
- | + | ||
- | [[Temporarily_disable_an_alias]] | + | |
- | + | ||
- | prefix the command with \ | + | |
- | + | ||
- | [[Chmod_all_files_in_subfolders_but_not_the_folders]] | + | |
- | + | ||
- | find ./ -type f | while read var; do chmod 664 $var; done | + | |
- | + | ||
- | + | ||
- | [[Chmod_some_files_in_subfolders_but_not_the_folders]] | + | |
- | + | ||
- | find ./ -type f | egrep " | + | |
- | + | ||
- | [[Chmod_all_folders_in_subfolders_but_not_files]] | + | |
- | + | ||
- | find ./ -type d | while read var; do chmod a+x " | + | |
- | + | ||
- | [[Chmod_.sh files in subfolders]] | + | |
- | + | ||
- | find ./ -type f | grep " | + | |
- | + | ||
- | + | ||
- | [[Remove_all_files_except_in_folder_.svn]] | + | |
- | + | ||
- | find ./ -type f | grep -v " | + | |
- | + | ||
- | + | ||
- | [[Remove_all_sub-folders called .svn]] | + | |
- | + | ||
- | find ./ -type d | grep " | + | |
- | + | ||
- | + | ||
- | [[sql_search_and_replace]] | + | |
- | + | ||
- | | + | |
- | + | ||
- | + | ||
- | [[grep|out comments]] | + | |
- | + | ||
- | grep -e " | + | |
- | ==== grep html tags ==== | + | :!: Steps for reorganization: |
+ | * Add a description to each page, and categorize within this page. Almost done. | ||
+ | * Review external links to remove broken ones, maybe integrate external link to have all content on dokuwiki.org\\ If possible please rewrite content, and remove old things. | ||
- | /< | + | **NOTE to translators: |
- | ==== grep square tags ==== | ||
- | | + | ===== Usage Tips ===== |
- | =====**Suse locks after first boot**===== | + | ^ Link ^ Short Description |
+ | | [[tips: | ||
+ | | [[http:// | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[: | ||
+ | | [[: | ||
+ | | [[: | ||
+ | | [[: | ||
- | On a Linux host with an XFree86 3.x X server, it is best not to run a screen saver in the guest operating system. Guest screen savers that demand a lot of processing power can cause the X server on the host to freeze. | ||
- | When you are installing SuSE Linux 7.1 in text mode and the guest operating system reboots for the first time, the Linux boot sequence reaches " | + | ===== Extending |
- | Despite its appearance, | + | **Most** of these tips need to be adjusted for the new [[devel: |
+ | They may be better implemented by using the new [[plugin]] | ||
- | Then return | + | ^ Link ^ Short Description |
+ | | [[tips: | ||
+ | | | This patch (to 2005-05-07 version) add AMSLaTeX mathematical expression support to DokuWiki | ||
- | Note: If you are using a different hot-key combination, | + | ===== Extending Layout and Styling ===== |
- | Note: This problem appears only when you install | + | Some of these tips may be implemented better by using the new [[template]] mechanism. You are encouraged to rewrite them accordingly. |
- | [[busybox_diff_bin_name]] | + | ^ Link ^ Short Description |
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips:Toc use position fixed]] | ||
+ | | [[tips: | ||
+ | | [[tips:back to top]] | back to top before every header | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[https:// | ||
+ | ===== Adding new Functionality ===== | ||
- | ===== apply multiple | + | ^ Link ^ Short Description |
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[http:// | ||
+ | | [[tips: | ||
+ | | [[http:// | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[devel: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[: | ||
+ | | [[: | ||
+ | | [[tips: | ||
+ | | [[: | ||
+ | | [[: | ||
+ | | [[: | ||
+ | | [[: | ||
+ | | [[: | ||
+ | | [[: | ||
+ | | [[tips: | ||
+ | | [[: | ||
+ | | [[: | ||
+ | | [[: | ||
- | for i in {1..25}; do patch -p0 < ../ | + | ===== Integration with Other Software ===== |
+ | Auth Plugins let you authenticate in DokuWiki with credentials of other software platforms. Look for available [[plugintype> | ||
- | ==== Putty ignores num-keypad ==== | ||
- | **Application Keypad Mode** is designed to send escape sequences | + | ==== Others ==== |
- | | + | ^ Link ^ Short Description |
+ | | [[tips: | ||
+ | | [[http:// | ||
+ | | [[tips:Edit DokuWiki with text editors using FUSE and Python]] | ||
+ | | [[http:// | ||
- | ===== Debian network setup ===== | + | ===== Interacting scripts and tools ===== |
- | http://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file | + | ^ Link ^ Short Description |
+ | | [[tips:DokuWiki Setup]] | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[https:// | ||
+ | | [[tips: | ||
+ | | [[.tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[http:// | ||
+ | | [[tips: | ||
+ | | [[cli|CLI ]] | DokuWiki command line utilities | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[http:// | ||
+ | ===== Importing from External Sources ===== | ||
- | ===== Phpmyadmin session timeout ===== | + | ==== Wikis ==== |
- | phpmyadmin/ | + | ^ Source Wiki ^ Description |
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[plugin: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
+ | | [[tips: | ||
- | | ||
- | apache php.ini | + | ==== Other ==== |
- | | + | ^ Link ^ Description |
+ | | [[~: | ||
+ | | [[~: | ||
+ | | [[http:// | ||
+ | | [[http:// | ||
+ | | [[http:// | ||
+ | | [[tips: | ||
+ | | [[http:// | ||
+ | | [[https:// | ||
+ | | [[http:// | ||
+ | | [[~: | ||
+ | | [[http:// | ||
+ | | [[~: | ||
+ | | [[~: | ||
+ | | [[~: | ||
+ | | [[~:doc to wiki syntax]] | ||
+ | | [[http:// | ||
+ | | [[http:// | ||
+ | | [[~: | ||
+ | | [[~:google sheets macro]] | ||
+ | | [[~: | ||
+ | ====== Miscellaneous ====== | ||
- | ===== Phpmyadmin hide databases ===== | + | ^ Link ^ Description ^ |
+ | | [[: | ||
+ | | [[: | ||
+ | | [[: | ||
+ | | [[: | ||
+ | | [[: | ||
+ | | [[http:// | ||
+ | | [[: | ||
+ | | [[: | ||
+ | | [[: | ||
+ | | [[: | ||
+ | | [[: | ||
+ | | [[: | ||
+ | | [[: | ||
- | phpmyadmin/ | + | ====== How To ====== |
- | $cfg[[' | + | //No plugin or modifications needed.// |
- | + | ^ Link ^ Description | |
+ | | [[: |
tips.1462701479.txt.gz · Last modified: 2016-05-08 11:57 by 203.79.107.114