Posts

How do I regenerate imagecache thumbnails in drupal 6? -

Image
my thumbnails images missing hosting account causing gallery images show broken shown in screenshot. i have tried creating new gallery , uploading images gallery hoping rebuild thumbnails has failed well. somehow image cache not creating thumbnails anymore , removed there completely. images in specific image style generated when ever image in style (thumbnail if like) displayed on page, file doesn't exist. if fails check first: first check file permissions. can php write /sites/default/files do have original image. maybe thumb can't generated because original image missing or it's not allowed php read (file permissions again). maybe php graphic library not installed (correctly) generation process fails.

Arduino Uno - EEPROM locations not consistant -

i trying write items eeprom , later read them out. finding reading not getting same put in @ times. narrow down example can show you. below read variables 2 address. const int start_add_type = (eeprom.length() - 10); const int start_add_id = (eeprom.length() - 4); i @ value (via rs232) serial.begin(9600); serial.println(start_add_type); serial.println(start_add_id); of them @ start of setup() , see get 1014 1020 i again @ end serial.println(start_add_type); serial.println(start_add_id); and get 1014 818 i cannot see why should change. did try calling them const e.g. const const int start_add_type = (eeprom.length() - 10); const int start_add_id = (eeprom.length() - 4); but gave same result. here sit puzzled @ must have missed. got idea? #include "eeprom.h" int start_add_type = (eeprom.length() - 10); int start_add_id = (eeprom.length() - 4); char id[7] = "encpg2"; char stored_id[5]; char input[10]; //string type; void setup() { s...

java - How specify realization of interface in xStream? -

the xml description of entities "messages". <message id="11600005" name="some_name"> <sourcepartitionid>11600</sourcepartitionid> <destpartitionid>11700</destpartitionid> <payloadid>1300005</payloadid> <sourceudp>1045</sourceudp> <destudp>1046</destudp> <sourceip>10.4.48.0</sourceip> <destip>10.4.49.0</destip> <sourceport id="1045" name="sp_q_1045_11600_11700_005"> <type>queuing</type> <maxmessagesize>8192</maxmessagesize> <characteristic>1</characteristic> </sourceport> <destport id="1046" name="dp_q_1045_1046_11600_11700_005"> <type>queuing</type> <maxmessagesize>8192</maxmessagesize> <cha...

Reverse css-animation on class removal without animation onload -

i want transition 1 additional step -webkit-clip-path. way know css animation. click on menu-trigger adds class .menushown body . menu reacts animation. on removal of .menushown animation should reversed. way know animation on main element. way animation triggered on load. here pen illustrating problem. additionaly can't animation-fill-mode work in example. i use animation / transitions after adding / removing classes , have been wondering how done actual css animations without problem of initial animation. http://codepen.io/katerlouis/pen/kxzadl .menu { -webkit-clip-path: polygon(0 0, 100% 0, 100% 30%, 0 30%); animation: menuclippath 2000ms linear; animation-direction: reverse; } body.menushown .menu { animation: menuclippath 2000ms linear; // animation-fill-mode: forwards; } @keyframes menuclippath { 0% { -webkit-clip-path: polygon(0 0, 100% 0, 100% 30%, 0 30%); } 50% { -webkit-clip-path: polygon(0 0, 100% 0, 100% 50%, 0 85...

ios - Error after adding GoogleMap API in the project -

Image
its been 2 days figuring out solve problem unable so. have been getting error after adding google api project.can tell me problem. can't figure out. why saying googlemaps framework not found have in project.

Java runtime issue from Swing application -

i have 1 swing application executing 1 jar file, processing internally. process have below: 1. 1 java file main() loads swing gui. gui can browse , load required jar files execute. public static void main(string[] args) { javax.swing.swingutilities.invokelater(new runnable() { public void run() { migrationprocesselementdialog.createandshowgui(); } }); } from swing application loading jar file as: runtime rt = runtime.getruntime(); // replacepath path of jar file loaded. process proc = rt.exec("java -jar " + replacepath); int exitval = proc.waitfor(); when trigger execution, task manager seeing, 2 javaw.exe (one eclipse, 1 swing gui) , 1 java.exe program flow. program flow continues few times (evident log update) stuck after time. as as, kill swing gui javaw.exe; program flow starts , continues rest of part promptly. seems me somehow javaw.exe blocking java.exe execution. @ possible? what's resolution of it? ...

sql - How can I restrict a query that uses STUFF to only return one record for each group of values stuffed rather than one for each stuffed item? -

with query: select s.unit, lu.reportname, s.nextexecution, stuff((select ','+emailaddr reportsunitemails e s.unit = e.unit , s.reportid = e.reportid xml path('')),1,1,'') allemailaddresses, s.nextexecutionsbegindatearg, s.nextexecutionsenddatearg reportsscheduler s full join reportslu lu on s.reportid = lu.reportid full join reportsunitemails e on s.unit = e.unit , s.reportid = e.reportid order s.unit, s.reportid ...i want same count of records exists in rreportsscheduler table, in fact getting 1 record each related email address (emailaddr reportsunitemails). where there 1 email address, 1 record returned; there 4 email addresses, 4 records returned; etc. so question is: can "distinctify" complex query return 1 record each email address (while still stuffing them "allemailaddresses"). i tried this: select s.unit, lu.reportname, s.nextexecution, distinct(stuff((select ','+emailaddr reportsun...