date MMDDhhmmYYYY.ss
video und abkürzungen
[ad] Cam: ——————– Die schlechteste aller Aufzeichnungsformen. Der Film wurde mit einem Camcorder im Kino von der Leinwand abgefilmt. Die Bildqualität ist meist akzeptabel bis gut, bei manchen Filmen sind in kurzen Momenten Köpfe von anderen Kinobesuchern im Bild. Die Tonqualität ist sehr unterschiedlich, Störgeräusche wie Gelächter des Publikums sind möglich. Telesync: ——————– Diese VCDs… Continue reading video und abkürzungen
copy file creation date to copied file if forgotten
ls -l “../../../gallery/gallery”| grep -v insgesamt|while read line; do dat=`echo $line|awk ‘{print $6}’`; time=`echo $line|awk ‘{print $7}’`;fn=`echo $line|awk ‘{print $8” “$9” “$10” “$11” “$12}’|sed -s “s/ *$//g”|sed -s “s/\ /\\\ /g”`;echo “$fn/” $dat $time;touch “$fn” -d “$dat $time”;done
[virus TDSSserv.sys] how to get rid of it?
easy 🙂 [ad] go into device manager, show all hidden device. click on NON-PNP look for our friend tdssserv -> deactivate it , reboot, again same but not deactivate, just remove, reboot, write me a thank you mail, that’s it 🙂 oktay
[vpn] openvpn
install it, then create a key: openvpn –genkey –secret key then on pc 1: openvpn –remote 192.168.0.32 –dev tun1 –secret key –ifconfig 10.4.0.1 10.4.0.2 –verb 3 pc2: openvpn –remote “the-remote-name-port” –dev tun1 –secret key –ifconfig 10.4.0.2 10.4.01 –verb 3 both should be reachable via 10… address setup routes to get networks behind… Continue reading [vpn] openvpn
[xp/linux routing] add route
win: route print (check current routes) route add 192.168.0.0 mask 255.255.255.0 10.4.0.1 (192.168.0.0/24 is now reachable via 10.4.0.1) linux: route route add -net 192.168.0.0 netmask 255.255.255.0 gw 10.4.0.1
[xp / linux routing] how to enable ip_forward on xp
Enabling TCP/IP Forwarding for linux: echo 1 > /proc/sys/net/ipv4/ip_forward for windows: 1. Use Registry Editor (Regedt32.exe) to view the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters 2. Set the following registry value: Value Name: IPEnableRouter Value type: REG_DWORD Value Data: 1 NOTE: A value of 1 enables TCP/IP forwarding for all network connections installed and used… Continue reading [xp / linux routing] how to enable ip_forward on xp
[javascript regex] nach = wort in ” ” wenn in <* > uiuiuiu
eingabe: <ASD asd=SDf SDA=F sad=F dsaf =SDAf =s daf=SDA f=SA Df=><P style=”border:2px solid lightblue;padding:10;text-align:center;color:royalblue;background:aliceblue width = = 123″><B>Welco ausgabe: <ASD asd=”SDf” SDA=”F” sad=”F” dsaf=SDAf=”s” daf=”SDA” f=”SA” Df=><P style=”border:2px solid lightblue;padding:10;text-align:center;color:royalblue;background:aliceblue” width==”123″><B>Welco <TEXTAREA id=n rows=10 cols=100></TEXTAREA> <SCRIPT> //a='<A href= asdsad name1 = aus1 name2 = \’aus2\’ asdsad = “32wq”>lkh</A>\n<asd=wqer<>><ASD asd=SDf SDA=F sad=F dsaf =SDAf =s daf=SDA… Continue reading [javascript regex] nach = wort in ” ” wenn in <* > uiuiuiu
[javascript] search replace
a='<p align=center><i>text</i></p><b>bold</b><img src=><a href=sdasdadasdasda</a></img>’ a.replace(/<([/]?)([a-zA-Z]{1,8})(\ ?)/gi, function(m){return m.toUpperCase()} ) //b=a.replace(/<([/]?)([a-zA-Z]{1,8})(\ ?)/gi, ‘<$1($2)$3’) ausgabe: <P align=center><I>text</I></P><B>bold</B><IMG src=><A href=sdasdadasdasda</A></IMG>
[bash – sed] after 70 chars one enter
cat lo | sed -e “s/\(.\{70\}\)/\1\n/g”
