Wikipedysta:Sunridin/Brudnopis
Z Wikipedii
Spis treści |
[edytuj] Lista
- To Do — moja lista rzeczy do zrobienia w bliżej nieokreślonym czasie (mam nadzieję, że jak najszybciej).
- e — o liczbie e.
- Wikipedysta:BrokenglaSS/Brudnopis/Zamiana_ułamka_na_binarny
- Wzory Viete'a
- Wikipedysta:BrokenglaSS/Brudnopis/Strona_Wikipedysty
- RLC
- Drewniana noga
[edytuj] Listy dla bota
- Wikipedysta:BrokenglaSS/Brudnopis/Test_bota
- Wikipedysta:BrokenglaSS/Brudnopis/Lista_fizyka
- Wikipedysta:BrokenglaSS/Brudnopis/Lista_matematyka
- Wikipedysta:BrokenglaSS/Brudnopis/Lista_okrety
[edytuj] Część właściwa brudnopisu
gnuplot> plot [f=500:5000] [0:0.6] 10/(sqrt(400+(5*pi*f*2*10**(-3)-1/(2*pi*f*10**(-6)))**2)
„Cytat drukarski”
dir l:\Muzyka\*.* /o:n/b > l:\lista.txt
[edytuj] Arch Linux
[edytuj] Do działania superkaramby z Pythonem 2.5.* i KDE 3.5.6
# ln -s /usr/lib/libpython2.5.so.1.0 /usr/lib/libpython2.4.so.1.0
[edytuj] W razie komunikatu klauncher o braku kio_http
# pacman -S db
[edytuj] NTFS pod Linuksem
# pacman -S ntfs-3g Targets: fuse-2.6.1-1 ntfs-3g-0.20070118-1 Total Package Size: 0.4 MB Proceed with upgrade? [Y/n] y :: Retrieving packages from extra... fuse-2.6.1-1 [################] 100% 115K 14.0K/s 00:00:08 ntfs-3g-0.20070118-1 [################] 100% 256K 20.2K/s 00:00:12 checking package integrity... done. loading package data... done. checking for file conflicts... done. installing fuse... done. ==> You must load the fuse kernel module to use FUSE. -> Run 'modprobe fuse' to load the module now. -> Add fuse to $MODULES in /etc/rc.conf to load on every boot. ==> You will need a /dev/fuse device node to use FUSE. -> If you use udev, nothing needs to be done -> For a static /dev, run: mknod /dev/fuse -m 0666 c 10 229 installing ntfs-3g... done.
Montowanie:
# ntfs-3g /dev/hda7 /mnt/ntfs3
Ewentualnie /etc/fstab:
/dev/hda7 /mnt/ntfs3 ntfs-3g silent,umask=0,locale=pl_PL
[edytuj] Arghh, Qt… (config.log)
configure:29737: checking for perl configure:29797: result: /usr/bin/perl configure:29923: checking for Qt configure: 29988: /opt/qt/include/qstyle.h taking that configure:30106: rm -rf SunWS_cache; g++ -o conftest -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -I/opt/qt/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -L/opt/qt/lib -L/usr/lib conftest.cc -lqt-mt -lpng -lz -lm -ljpeg -ldl -lXext -lX11 -lSM -lICE -lpthread 1>&5 /opt/qt/lib/libqt-mt.so: undefined reference to `__pthread_register_cancel@GLIBC_2.3.3' /opt/qt/lib/libqt-mt.so: undefined reference to `__pthread_unregister_cancel@GLIBC_2.3.3' collect2: ld returned 1 exit status configure:30109: $? = 1 configure: failed program was: #include "confdefs.h" #include <qglobal.h> #include <qapplication.h> #include <qcursor.h> #include <qstylefactory.h> #include <private/qucomextra_p.h> #if ! (QT_VERSION >= 300 && QT_VERSION < 0x040000) #error 1 #endif int main() { (void)QStyleFactory::create(QString::null); QCursor c(Qt::WhatsThisCursor); return 0; } configure:30149: error: Qt (>= Qt 3.0 and < 4.0) (library qt-mt) not found. Please check your installation! For more details about this problem, look at the end of config.log. Make sure that you have compiled Qt with thread support!
[edytuj] bot
python replace.py -page:Wikipedysta:BrokenglaSS/Brudnopis/Test_bota -regex "int(_| _)" "int\limits_"
python replace.py -page:Wikipedysta:BrokenglaSS/Brudnopis/Test_bota -regex "int(_| _|\^| \^)" "int\limits\1"
# python replace.py -page:Wikipedysta:BrokenglaSS/Brudnopis/Test_bota -regex "( |>)(arc(sin|cos)|sin[h]|cos[h]|sec|csc)" "\1 \\ \2 " Checked for running processes. 1 processes currently running, including the current process. Getting 1 pages from wikipedia:pl... >>> Wikipedysta:BrokenglaSS/Brudnopis/Test bota <<< - :<math>sin{\alpha} \cdot cos{\beta} \cdot tan{\gamma} \cdot cot{\delta} \cdot tg\epsilon \cdot ctg\zeta arcsin\alpha arccos a</math> + :<math>sin{\alpha} \cdot cos{\beta} \cdot tan{\gamma} \cdot cot{\delta} \cdot tg\epsilon \cdot ctg\zeta \ arcsin \alpha \ arccos a</math> - :<math>sin\alpha \cdot cos\beta \cdot tan\gamma \cdot cot\delta \cdot sinh k \cdot coshl \cdot tanh\phi \cdot coth{\eta}</math> + :<math>sin\alpha \cdot cos\beta \cdot tan\gamma \cdot cot\delta \cdot \ sinh k \cdot \ cosh l \cdot tanh\phi \cdot coth{\eta}</math> Do you want to accept these changes? ([y]es, [N]o, [a]ll)