Archive for category Technik

Lavalampe wieder zum Leben erweckt

Ich hatte schon seit ein paar Wochen Probleme mit einer Lavalampe. Wie sie sehen, sehen sie nix. Und genau das war das Problem. Das Wachs ist nicht mehr aufgestiegen O_o

Ich dachte mir: vielleicht mal das Wasser austauschen… gut das ich vorher noch mal im Internet nachgelsen hab. Da ist kein Wasser drin, sondern Isopropanol oder Ethylenglycol. Wie also wiederleben?

Erst mal 10 Minuten bei 800 Watt in die Micro. Hat nicht wirklich was geholfen. Dann mit dem Wasserkocher 2 Liter Wasser erhitzt und drüber gegoßen. Schon besser! Es ist immerhin flüssig geworden. Dann bestimmt einen Teelöffel voll Spüli rein. Gut schütteln! Nun geht meine Lavalampe wieder und geköstet hat es fast nichts.

Tags: ,

Compare batch

my script for quick comparing. Sometimes easier than using winmerge.

@echo off
diff -u 1.txt 2.txt > 12.diff
start /B C:\Programme\TortoiseSVN\bin\TortoiseUDiff.exe /patchfile:12.diff

Tags: , , , ,

RedDot release page without plugin but in the page

Today I had the issue to release a page without able to access the file system and creating a plugin for that which would be nicer.  But it also works inside the content template class. it is no ideal, but it works and reloads the page.

<script language="javascript">
function release_page(){
	location.href='ioRD.asp?Action=ReleasePage&EditLinkGuid=<%PageGUID%>';
	location.reload();
	return  true;
}
</script>

<a href="#" onclick="release_page();"><img border="0"  src="Icons/Release.gif"></a> release snippet

Tags: , ,

compile mariaDB win64 with VC9 express

win\configure WITH_INNOBASE_STORAGE_ENGINE WITH_PARTITION_STORAGE_ENGINE WITH_ARCHIVE_STORAGE_ENGINE WITH_BLACKHOLE_STORAGE_ENGINE WITH_FEDERATED_STORAGE_ENGINE __NT__ CYBOZU WITH_EMBEDDED_SERVER

win\build-vs9_x64

Open MySql.sln

Switch to Release.

Run ALL_BUILD  && Grab some food and wait.

 

my question: Where are the binaries after compiling?? (build “install” fails)

compile lua on windows

Grab the “newest” (2008) http://www.lua.org/ftp/lua-5.1.4.tar.gz
unpack it. Compiling with VC++ is very easy.

Open the x64 %comspec% /E:ON /V:ON /T:0E /K “C:\Program Files\Microsoft SDKs\Windows\v7.0\Bin\SetEnv.cmd” /Release
or x86 command line
%comspec% /k “”C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat”” x86

browse to lua folder and run

etc\luavs
copy /y src\*.* .\

Done!

Tags: , , , , ,

patch requires admin privileges on Windows 7

The patch.exe requires admin privileges on Windows 7. This is pretty annoying! The first thing that worked was just renaming the file to pach.exe Stupid windows. But I didn’t like that cause than I mostly typed it wrong and patch command was missing. I found a better solution:

Create a text file in the same directory with the name patch.exe.manifest

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
 <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
 <security>
 <requestedPrivileges>
 <requestedExecutionLevel level="asInvoker"/>
 </requestedPrivileges>
 </security>
 </trustInfo>
</assembly>

Save as UTF8. Now it works. Well I have to test if it is possible to embedd the manifest than good bye $%&# asking for admin permission

Tags: , , , , ,

compile zlib 1.2.5 on windows

Download from http://zlib.net/
extract it

For x86

nmake -f win32/Makefile.msc OBJA=inffast.obj
MT -manifest zlib1.dll.manifest -outputresource:zlib1.dll;2

For x64

nmake -f win32/Makefile.msc AS=ml64 LOC="-DASMV -DASMINF -I." OBJA="inffasx64.obj gvmat64.obj inffas8664.obj"

Done :-)

Tags: , , , , , , , ,

Löschen

Auskommentieren ist löschen für Feiglinge!

Tags: , ,

A new animal in my house

There is a new animal in my house. I’ve spotted it crawling on the floor. I’m sure it hadn’t legs yesterday. More to come? At least it is not a bug… so no need for debugging.

My Animal

My Animal

Tags: , , , ,

reddot rql finishtranslation

Howto get a page released from translation editor

Function finishtranslation(pageguid,availableLangVariantId)
 dim xmlString
 dim resXML
 xmlString = "" _
 & "<IODATA loginguid=""" & Session("LoginGuid") & """ sessionkey=""" & Session("SessionKey") & """>" & Vbcrlf _
 & "<WORKFLOW>" & Vbcrlf _
 & "<PAGES action=""finishtranslation"" sourcelanguageid="""& Session("LanguageVariantId") & """ targetlanguageid=""" & availableLangVariantId & """>" & Vbcrlf _
 & "<PAGE guid=""" & pageguid & """/>" & Vbcrlf _
 & "</PAGES>" & Vbcrlf _
 & "</WORKFLOW>" & Vbcrlf _
 & "</IODATA>" & Vbcrlf
 
 If show_debug = true then
 Response.write("<div style=""margin-left:20px; border:1px solid green;""")
 xmlString = replace(xmlString,"<","&lt;")
 xmlString = replace(xmlString,">","&gt;")
 Response.write("[" & xmlString & "]")
 response.write("</div>")
 End If
 
 resXML = objIO.ServerExecuteXml(XMLString, sError)

 If sError <> "" Then
     Response.Write "<span style='color:red'>" & sError & "</span><br />"
 End If

End Function
Lorem

Tags: , ,

Archives by Subject:

Archives by Month: