Fuck code signing/security/whatsoever: let MY hardware execute what I want, huh?
I read somewhere that this can be done using Visual Studio 2008; don't know, as I don't (still) use the beast.Device Command Shell (DCS) provides a command-line interface to several useful functions for developing Smart Device applications using Visual Studio 2005. It is implemented as a Visual Studio "Command Window" add-in for convenience and quick access.This is the author description for DCS. Useful tools, indeed. Download URL used to be http://www.gotdotnet.com/workspaces/workspace.aspx?id=50618f79-c7b1-4588-9c0a-cf4ddae8092a but seems that M$ is moving everything to MSDN Code Gallery and this stuff got lost somewhere. OK, don't know if it's OK for me to redistribute, but many seem to need this...
Download Device Command Shell here: DeviceCommandShellSetup.zip
But at long last I was able to put all the pieces together:
Server failed to listen on 192.168.0.103Standard useless error message. Ok, there must be this old address configured somewhere. In the registry, of course. Just searched throughout the whole registry and found:1433. Error: 0x2741. To proceed, notify your system administrator.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\MSSQLServer\SuperSocketNetLib\TcpHere you'll find subkeys named IP1 to IPSomeNumber. If one refers to an unbindable address just set Enabled or Active to 0.
| 2X PM10244-70 T9210 1X M5M41000BJ 234GE20-7 |
1 MB |
| 1X TMS4C1024DJ HEP 3312 24 2X TMS44400DJ OBI 4051 AH |
1 MB |
| 2X KOREA AO169315GGG HM514400AS7 1X KOREA A0029305GGGK HM511000AJP7 |
1 MB |
Also many synthesizers that have floppy drives use the standard Shugart interface pinout; so, let's say this Shugart interface is what PSR 5700 has (controller is a HD63266F but I could not find much info about this).
And the long awaited solution: grab a floppy cable, cut wires 10, 12, 34 (remember that wire 1 is red-marked) and solder together
QString class because of the clumsy error checking mechanism, so I wrote a little wrapper for boost::lexical_cast.
boost::lexical_cast is not written with extensibility in mind so a temporary std::basic_string variable is required to perform the magic (or at least I couldn't find a better, unobtrusive way).
namespace boost { namespace detail {
#ifndef DISABLE_WIDE_CHAR_SUPPORT
inline bool operator>>(boost::detail::lexical_stream<QString, std::wstring>& in, QString& output)
{
std::wstring tmp;
in >> tmp;
output = QString::fromStdWString(tmp);
return true;
}
#endif
template<typename Source>
inline bool operator>>(boost::detail::lexical_stream<QString, Source>& in, QString& output)
{
#if defined(BOOST_NO_STRINGSTREAM)
in << '\0';
#endif
std::string tmp;
in >> tmp;
output = QString::fromStdString(tmp);
return true;
}
}}
This allows you to write something like:
QString x("123");
int id(boost::lexical_cast<int>(x));
I have to do a simple backup task to DVD-R using flexbackup on Linux 2.6. My first idea was to use packet writing: setup the media, mount as rw somewhere and write to it.
So I installed udftools (Debian package, version 1.0.0b3-12) and started to read docs. README.Debian states:
3) Write an empty session spanning the whole medium. It seems that without this step, any attempt to create the UDF filesystem will fail. DVD-RW: growisofs -Z /dev/hdc=/dev/zero
If applied to a non-rewritable media THIS PRODUCES A NICE COASTER!
Ok, just skip this step and go to the next, which should be
mkudffs --udfrev=0x0150 --spartable=2 --media-type=dvd /dev/pktcdvd/0
trying to change type of multiple extents.
In short, unless I'm missing something, this means YOU CANNOT USE UDF FILESYSTEM ON DVD-R MEDIA ON LINUX 2.6. Go for cdrecord/growisofs and ISO.
default distribution and, optionally, for SMP
Module name is r8168
Here you can find a tarball of the driver disk. Just unpack to a filesystem accessible during the installation process.
This driver disk supports r8168 for the following kernels:
As an happy user of the SciTE editor I was missing this feature in Komodo Edit which by the way is an excellent product.
Comment/uncomment means that a "special" comment string is used, i.e. #~ for Python. If this string is present at beginning of line the macro removes it (uncomment); if not it is inserted (comment). Python and PHP only for now, and poor code for sure. Any help is welcome.
import logging
logger = logging.getLogger('macro')
h = logging.FileHandler("/tmp/somefile", "w")
logger.addHandler(h)
ke = komodo.editor
kd = komodo.document
kv = komodo.view
commentMap = {
u'python': '#~ ',
u'php': '//~ ',
u'javascript': '//~ ',
u'c++': '//~ ',
}
commentTxt = commentMap[kd.language.lower()]
def EVAL(stmt):
res = eval(stmt)
logger.error("%s --> %s" % (stmt, res))
def getLineNo(position=None):
pos = position or ke.currentPos
return ke.lineFromPosition(pos)
def getLine(lineNo=None):
line = lineNo or getLineNo()
eol = ke.getLineEndPosition(line)
return ke.getTextRange(ke.currentPos, eol)
def vCHome(lineNo=None):
if (lineNo is not None):
ke.gotoLine(lineNo)
ke.vCHome()
if (getLine().strip() == ''):
return
if (ke.getTextRange(ke.currentPos, ke.currentPos+1).isspace()):
ke.vCHome()
def doLine(lineNo=None):
vCHome(lineNo)
pos = ke.currentPos
s = ke.getTextRange(pos, pos+len(commentTxt))
if (s == commentTxt):
ke.setSel(pos, pos+len(commentTxt))
ke.replaceSel('')
else:
ke.insertText(pos, commentTxt)
komodo.view.setFocus()
try:
pStart = ke.anchor
pEnd = ke.currentPos
lStart = ke.lineFromPosition(pStart)
lEnd = ke.lineFromPosition(pEnd)
if (lEnd < lStart):
tmp = lStart
lStart = lEnd
lEnd = tmp
for line in range(lStart, lEnd+1):
doLine(line)
except:
logger.error("Error", exc_info=True)
return
|
|
September '08 | |||||
| Mo | Tu | We | Th | Fr | Sa | Su |
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
| 29 | 30 | |||||
2006-2008 Giuseppe 'Cowo' Corbelli | Cowo's homepage | Cowo's photo page | Contact me | Back to top
Design by Andreas Viklund | Serendipity Template by Carl