Posts

Rename flags in outlook 2003 -

Image
i'm using outlook 2003 , using flags define different followup categories. in-build 'red flag', 'blue flag' labels not useful, need define custom labels. that, went through following link i completed first 3 steps. while on step 4, when right click flag in new toolbar, default menu select toolbars. has idea problem , how can fix it? are right-clicking flag icon? looks right-clicked toolbar item itself. sometimes, difficult tell. screenshot looks list of available toolbars. this not context menu icon.

symfony - How to set default route parameter from session? -

if have batch of routes looking this: /{location}/catalog /{location}/search etc. session has "location" attribute (alias auto-recognized user location, e.g. city). so, generate each route {location} parameter, need do { location: session.get('location') } is there way automatically? can override default urlgenerator , inject @session it? try override routingextension class /vendor/symfony/symfony/src/symfony/bridge/twig/extension/codeextension.php symfony 2.1 extending core classes also fork https://github.com/symfony/twigbridge , use composer http://getcomposer.org/doc/05-repositories.md#vcs

Start/Stop Service with C# Windows 8 app -

i brand new windows development, , trying create windows 8 app using c#/xaml. app, want stop existing service. possible? have not been able find documentation on this... no, can't things metro style app. need create regular win32 app.

asp.net mvc - JQGrid ContextMenu - Dynamic Menus -

i have page, used building queries , running them against different entities (kind of query builder/generic search). the results displayed in jqgrid, same grid used rendering results different entities. this results grid has support context menus, differ each entity. need way change context menu per entity. each entity may have different number of menu items in context menu , each item may respond in different manner (sometimes alert, action spawning in different tab). rendering different menus (through li) not issue attaching methods li proving challenge. pointers highly appreciated. i using jquery.contextmenu-ui.js . following sample picked (jqgrid) site function initgrid() { $("#entitygrid").contextmenu('cmenu' ,{ bindings: { /* avoid , pass actions 1 method*/ 'edit': function (t) { editrow(); }, 'add': function (t) { addrow(); }, ...

c++ - How to do file I/O with std::vector<bool>? -

i need implement boolean data container store large amount of variables. suppose use char* , implement c-style macro accessors prefer have wrapped in std:: structure. std::bitset<size_t> not seem practical has fixed-during-compilation size. so leaves me std::vector<bool> optimized space; , has nice bool-like accessor. is there way directly feed pointer fwrite() ? and how 1 file input such vector? and lastly, data structure when lot of file i/o needed? what random file access ( fseek etc)? edit: i've decided wrap std::vector<unsigned int> in new class has functionality demanded requirements. is there way directly feed pointer fwrite()? no, can std::fstream std::ofstream f("output.file"); std::copy(vb.begin(), vb.end(), std::ostream_iterator<bool>(f)); and how 1 file input such vector? using std::fstream std::ifstream f("input.file"); std::copy(std::istream_iterator<bool>...

Metasploit Framework running on Android -

is possible run metasploit framework on android devices? i've googled , found link . there's access denied error. any ideas? judging own google results , possible. there no direct port of metasploit android there other methods: custom rom (ca 2011) dsploit has support many of metasploit's methods using backtrack on phone a side note: link requires create account. if you're curious, might well. of course if you're suspicious of website, use tor , throw-away email address make account.

android - Service stops updating location -

i working on app has work in background , send location updates server. the code pretty simple , normaly works. there service has timer sends updates server every 15 seconds , implements locationlistener interface. i dont think giving code useful, here how set class: @override public void oncreate() { super.oncreate(); locationmanager = (locationmanager) getsystemservice(context.location_service); locationmanager.requestlocationupdates( locationmanager.gps_provider , 5000, 10.0f, this); locationmanager.requestlocationupdates( locationmanager.network_provider , 5000, 10.0f, this); //ping task sends updates server ping_timer.scheduleatfixedrate( new ping_task(), 5000, ping_task.time_get_jobs*1000 ); } in practice have problems code. services should work in background, if service stoppes there gcm system in place restart service in background. even these protections still have problems, app not update location anymore, if clear service st...