Search Results

Search found 1065 results on 43 pages for 'michelle six'.

Page 2/43 | < Previous Page | 1 2 3 4 5 6 7 8 9 10 11 12  | Next Page >

  • PHP query for totals of products for last six months

    - by user2260925
    I need to get the figures for the last six months from my orders table. The table has the following fields: qty, product, price, code, The format of the report must be as follows: Month: Jan Feb Mar Apr May June Product1 7 5 4 6 8 9 Product2 8 3 1 4 7 7 Product3 5 4 1 7 7 6 My current code gets the figures for one month only: "SELECT product,building, SUM(qty) AS 'month1' FROM sh_orders WHERE MONTH(order_date) = MONTH(CURDATE()) GROUP BY product"; The code to show it is: echo " <td> ". $row['product']. "</td> <td> ". $row['month1']. "</td>; Any help is greatly appreciated.

    Read the article

  • How to print lines from a file that have repeated more than six times

    - by Mike
    I have a file containing the data shown below. The first comma-delimited field may be repeated any number of times, and I want to print only the lines after the sixth repetition of any value of this field For example, there are eight fields with 1111111 as the first field, and I want to print only the seventh and eighth of these records Input file: 1111111,aaaaaaaa,14 1111111,bbbbbbbb,14 1111111,cccccccc,14 1111111,dddddddd,14 1111111,eeeeeeee,14 1111111,ffffffff,14 1111111,gggggggg,14 1111111,hhhhhhhh,14 2222222,aaaaaaaa,14 2222222,bbbbbbbb,14 2222222,cccccccc,14 2222222,dddddddd,14 2222222,eeeeeeee,14 2222222,ffffffff,14 2222222,gggggggg,14 3333333,aaaaaaaa,14 3333333,bbbbbbbb,14 3333333,cccccccc,14 3333333,dddddddd,14 3333333,eeeeeeee,14 3333333,ffffffff,14 3333333,gggggggg,14 3333333,hhhhhhhh,14 Output: 1111111,gggggggg,14 1111111,hhhhhhhh,14 2222222,gggggggg,14 3333333,gggggggg,14 3333333,hhhhhhhh,14 What I have tried is to transponse the 2nd and 3rd fields with respect to 1st, so that I can use nawk on the field of $7 or $8 #!/usr/bin/ksh awk -F"," '{ a[$1]; b[$1]=b[$1]","$2 c[$1]=c[$1]","$3} END{ for(i in a){ print i","b[i]","c[i]} } ' file > output.txt

    Read the article

  • Wireless Broadcom 4313 not working on Ubuntu 12.04

    - by user88568
    It seems a lot of people are having this problem, but none of the posted solutions have worked for me so far. My driver is installed and activated, I have tried removing and re-adding the network, and various other fixes. No networks were picked up on my first boot, the next day wireless worked fine, and since then it does not detect networks, and when I manually try to connect, it repeatedly asks for the password and does not connect. Here's my info: 03:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01) Subsystem: Dell Inspiron M5010 / XPS 8300 Flags: bus master, fast devsel, latency 0, IRQ 17 Memory at f0500000 (64-bit, non-prefetchable) [size=16K] Capabilities: [40] Power Management version 3 Capabilities: [58] Vendor Specific Information: Len=78 Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+ Capabilities: [d0] Express Endpoint, MSI 00 Capabilities: [100] Advanced Error Reporting Capabilities: [13c] Virtual Channel Capabilities: [160] Device Serial Number 00-00-a1-ff-ff-f3-70-f1 Capabilities: [16c] Power Budgeting Kernel driver in use: wl Kernel modules: wl, bcma, brcmsmac root@michelle-laptop:/home/michelle# ifconfig eth0 Link encap:Ethernet HWaddr 70:f1:a1:f3:ba:ab inet6 addr: fe80::72f1:a1ff:fef3:baab/64 Scope:Link UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:29 TX packets:0 errors:30 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:17 eth1 Link encap:Ethernet HWaddr f0:4d:a2:53:83:7a UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:43 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:104 errors:0 dropped:0 overruns:0 frame:0 TX packets:104 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:8000 (8.0 KB) TX bytes:8000 (8.0 KB) root@michelle-laptop:/home/michelle# lsmod Module Size Used by dm_crypt 22528 0 snd_hda_codec_hdmi 31775 1 snd_hda_codec_realtek 174313 1 snd_hda_intel 32765 5 snd_hda_codec 109562 3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel snd_hwdep 13276 1 snd_hda_codec snd_pcm 80845 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec snd_seq_midi 13132 0 snd_rawmidi 25424 1 snd_seq_midi snd_seq_midi_event 14475 1 snd_seq_midi snd_seq 51567 2 snd_seq_midi,snd_seq_midi_event parport_pc 32114 0 ppdev 12849 0 binfmt_misc 17292 1 lib80211_crypt_tkip 17275 0 bnep 17830 2 rfcomm 38139 0 snd_timer 28931 2 snd_pcm,snd_seq snd_seq_device 14172 3 snd_seq_midi,snd_rawmidi,snd_seq joydev 17393 0 wl 2646601 0 snd 62064 19 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device soundcore 14635 1 snd btusb 17912 0 bluetooth 158438 11 bnep,rfcomm,btusb uvcvideo 67203 0 videodev 86588 1 uvcvideo snd_page_alloc 14108 2 snd_hda_intel,snd_pcm lib80211 14040 2 lib80211_crypt_tkip,wl intel_ips 17822 0 psmouse 72919 0 serio_raw 13027 0 mei 36570 0 dell_laptop 17767 0 dell_wmi 12601 0 dcdbas 14098 1 dell_laptop sparse_keymap 13658 1 dell_wmi mac_hid 13077 0 lp 17455 0 parport 40930 3 parport_pc,ppdev,lp usbhid 41906 0 hid 77367 1 usbhid wmi 18744 1 dell_wmi i915 414817 3 atl1c 36718 0 drm_kms_helper 45466 1 i915 drm 197692 4 i915,drm_kms_helper i2c_algo_bit 13199 1 i915 video 19068 1 i915 root@michelle-laptop:/home/michelle# iwlist scan lo Interface doesn't support scanning. eth1 Interface doesn't support scanning. eth0 No scan results root@michelle-laptop:/home/michelle# rfkill list 0: dell-wifi: Wireless LAN Soft blocked: no Hard blocked: no 1: dell-bluetooth: Bluetooth Soft blocked: yes Hard blocked: no 3: brcmwl-0: Wireless LAN Soft blocked: no Hard blocked: no Obviously I don't know what I'm doing. I'd appreciate any help! Thanks!

    Read the article

  • How can I get six Xbox controllers to provide input to an HTML5 game?

    - by Daniel X Moore
    I'm creating a six player HTML 5 game designed to be played locally (Red Ice). I've previous set up handling 7 Wiimotes using something along the lines of Joy2Key to map each input for each player to a separate keyboard key, but Wiimotes are pretty hard on the hands for these types of games and not very ergonomic so I thought I'd try and get Xbox controller support. I don't believe that any simple key mapping solution will work due to the nature of the directional stick. My inclination is that this will require a browser plugin and if so I'd prefer to write the plugin for Google Chrome. How do I create a Chrome browser plugin to handle multiple Xbox controllers or is there some other way? Please do not answer this question saying it can't be done, because it absolutely can. EDIT: I don't believe any keymapping/mouse simulating solution will work unless it can reliably distinguish six axis of inputs, one per player.

    Read the article

  • From the Tips Box: Kindle as Raspberry Pi Screen, iPod Control Boxes, and Easy Six Degrees of Kevin Bacon

    - by Jason Fitzpatrick
    Once a week we round up some of the great reader tips that come our way and share them with everyone. Today we’re looking at using the Kindle as a screen for the Raspberry Pi, custom iPod control modules, and an easy way to play the Six Degrees of Kevin Bacon. How to Get Pro Features in Windows Home Versions with Third Party Tools HTG Explains: Is ReadyBoost Worth Using? HTG Explains: What The Windows Event Viewer Is and How You Can Use It

    Read the article

  • Un e-Book pour se familiariser avec Windows Phone 7 Series propose six chapitres en avant-première g

    Microsoft : un e-Book pour se familiariser avec Windows Phone 7 Series Six chapitres en avant-première gratuite font déjà beaucoup parler de lui Au cas où vous ne le connaîtriez pas, Charles Petzold est un MVP de Microsoft auteur d'une liste longue comme le bras de livres renommés sur les technologies de Redmond. [IMG]http://ftp-developpez.com/gordon-fowler/Tattoo.jpg[/IMG] Charles Petzold et son tatouage Windows Avec la sortie de la platef...

    Read the article

  • Imagine Cup 2012 : les espoirs français de la 10ème finale du concours de Microsoft, l'Afrique francophone aligne six représentants

    Imagine Cup 2012 : les quatre espoirs français de la 10ème finale Du concours de Microsoft, l'Afrique francophone aligne six représentants Créé en 2002, Imagine Cup permet à des étudiants du monde entier de « s'affronter » pour révéler leur potentiel créatif et entrepreneurial avec une mission : répondre à un ou plusieurs des « Objectifs du Millénaire pour le Développement », adoptés par les Nations-Unies (à savoir « imaginer un monde où la technologie nous aide à répondre aux enjeux les plus cruciaux de notre société »). [IMG]http://ftp-developpez.com/gordon-fowler/ImagineCup20121.png[/IMG] Cette année, 4 équipes défendront les couleurs de la France lors de la finale...

    Read the article

  • La "taxe Google" reportée pour un délai d'au moins six mois, malgré son adoption lundi par la commission mixte paritaire

    La "taxe Google" reportée pour un délai d'au moins six mois, malgré son adoption lundi par la commission mixte paritaire Mise à jour du 15.12.2010 par Katleen Lundi soir, la "taxe Google" a été adoptée par la Commission Mixte Paritaire (composée de 7 sénateurs et 7 députés), qui l'a un peu remodelée en favorisant le texte du Sénat plutôt que celui de l'Assemblée. Ceci a crée un fort mouvement de contestation auprès des professionnels français de la publicité en ligne, qui seront les premiers touchés et directement ponctionnés par cet impôt spécifique. « Une telle taxe ferait mécaniquement baisser les recettes des acteurs français installés en France et retarderait ...

    Read the article

  • Windows Phone 7 : 1,5 millions d'unités écoulés en six semaines selon son vice-président marketing, bon ou mauvais chiffre ?

    Windows Phone 7 : 1.5 millions d'unités écoulés en six semaines Selon le vice-président marketing de l'OS, bon ou mauvais chiffre ? Lors d'une interview réalisée en interne, Achim Berg, le vise-président chargé du marketing du département Windows Phone, a déclaré que les constructeurs de téléphones partenaires de Microsoft, avaient écoulé 1.5 millions d'unités sous Windows Phone 7 depuis la sortie de l'OS. Très loin des 300 000 activations quotidienne d'Android, ce chiffre doit tout de même être relativisé. Il ne s'agit en effet pas du nombre d'activations par les nouveaux utilisateurs finaux, mais des appareils vendus aux importateurs et aux détaillants. Au...

    Read the article

  • Windows Phone 7 : 1,5 millions d'unités écoulées en six semaines selon son vice-président marketing, bon ou mauvais chiffre ?

    Windows Phone 7 : 1.5 millions d'unités écoulées en six semaines Selon le vice-président marketing de l'OS, bon ou mauvais chiffre ? Lors d'une interview réalisée en interne, Achim Berg, le vise-président chargé du marketing du département Windows Phone, a déclaré que les constructeurs de téléphones partenaires de Microsoft, avaient écoulé 1.5 millions d'unités sous Windows Phone 7 depuis la sortie de l'OS. Très loin des 300 000 activations quotidienne d'Android, ce chiffre doit tout de même être relativisé. Il ne s'agit en effet pas du nombre d'activations par les nouveaux utilisateurs finaux, mais des appareils vendus aux importateurs et aux détaillants. A...

    Read the article

  • Windows Phone 7 : 1.5 millions d'unités écoulés en six semaines selon le vice-président marketing de l'OS, bon ou mauvais chiffre ?

    Windows Phone 7 : 1.5 millions d'unités écoulés en six semaines Selon le vice-président marketing de l'OS, bon ou mauvais chiffre ? Lors d'une interview réalisée en interne, Achim Berg, le vise-président chargé du marketing du département Windows Phone, a déclaré que les constructeurs de téléphones partenaires de Microsoft, avaient écoulé 1.5 millions d'unités sous Windows Phone 7 depuis la sortie de l'OS. Très loin des 300 000 activations quotidienne d'Android, ce chiffre doit tout de même être relativisé. Il ne s'agit en effet pas du nombre d'activations par les nouveaux utilisateurs finaux, mais des appareils vendus aux importateurs et aux détaillants. Au...

    Read the article

  • Building a six-screen setup. What video cards options are there?

    - by Stephan
    I'm building myself a nice setup with a massive amount of screen real estate. Since I had/have problems with video drivers in the past. I'm asking for advise here first. I want to connect at least six screens. What are the best options? What are the pitfalls? I preferably would not like to use closed binary blob drivers. usecase scenario: I'm writing a piece of software that has to interact with other systems. I would like to be able to see all of those systems, my code, lots of log files and documentation without the need to swap windows/screens. To just better see what im doing.

    Read the article

  • Les processeurs multi-cores pourraient gagner en performances, grâce à des communications internes six fois plus rapides

    Les processeurs multi-cores pourraient gagner en performances, grâce à des communications internes six fois plus rapides Des chercheurs américains, de l'Université de la Caroline du Nord, on fait une découverte qui pourrait améliorer les performances des puces multicores. En effet, la majorité des processeurs actuels de 4 ou 8 coeurs, connaissent des difficultés à voir leurs cores communiquer directement entre eux. Mais une alternative serait possible. Au lieu de devoir passer par la mémoire pour envoyer et récupérer des données, plusieurs coeurs travaillant sur la même tâche pourraient bénéficier d'une accélération matérielle. En effet, les ingénieurs développant le projet ont mis au point une HAQu (h...

    Read the article

  • Opus : le nouveau codec audio open-source est standardisé, il ferait mieux que six codecs propriétaires réunis dixit Mozilla

    Opus : le nouveau codec audio open-source est standardisé Il couvre les usages de six codecs propriétaires et le ferait mieux dixit Mozilla Une victoire historique. Pour Mozilla, la standardisation du codec audio open-source Opus est un évènement de cette envergure. La Fondation y voit « le début de la fin des formats propriétaires [dans l'audio] ». Ce projet de standardisation a été mené à bien grâce à une collaboration entre le monde open-source (dont est issue la Fondation) et des entreprises privées dont Microsoft (au travers de Skype) ou Google. Cette standardisation devrait permettre à Opus de mieux s'imposer que ses prédécesseurs (comme Vorbis)...

    Read the article

  • Flash 10.1 dépasse les 85% de part de marché, et pourrait atteindre 90% dans six mois d'après Adobe

    Flash 10.1 dépasse les 85% de part de marché, et pourrait atteindre 90% dans six mois d'après Adobe Mise à jour du 10.01.2011 par Katleen Adobe vient de révéler ses dernières statistiques concernant Flash. Si le plug-in est devenu un incontournable sur les ordinateurs du globe (il équipe plus de 98% des PC), toutes les machines ne sont malheureusement pas à jour. Et pourtant, il est important d'avoir la dernière mouture en date : pour des questions de sécurité, mais aussi de compatibilité avec les applications les plus récentes. Adobe a donc demandé à Millward Brown de voir ce qu'il en était. C'est chose faite, et les résultats sont là : en décembre 2010, Flash 10.1 était installé sur 85.3% des PCs présents su...

    Read the article

  • Xmodmap: six characters to one key and two layouts?

    - by sup
    I know how to have six symbols on one key thanks to this question: Xmodmap: Six characters to one key? However, when I have two layouts and switch them, weird things happen. I have the following (well, different, but this is easier to talk about) line in my xmodmap: keycode 31 = a A b B c C When I log in, everything works as you would expect. Pressing key 31 give a, with Shift A, with AltGr c and C respectively and with ISO_Level3_Shift. However, when I change the layout, key 31 gives me b and B with shift and c and C with AltGr. This is on Ubuntu 11.10 under Ubuntu. Does anybody undestand what is happening? Could I restrict xmodmap to just one layout?

    Read the article

  • Twitter API 1.1 : à prendre ou à laisser, les développeurs tiers ont six mois pour se conformer aux nouvelles règles

    Twitter API 1.1 : plus de règles, moins de tweets Professionnalisation de l'écosystème ou volonté de monétisation ? [IMG]http://djug.developpez.com/rsc/twitter-money.jpg[/IMG] Twitter vient d'annoncer des changements anticipés à son API, dont l'intention affichée est de « fournir une expérience consistante de Twitter ». Mais pour certains, cette nouvelle mise à jour restreint encore davantage la manière dont les tweets des utilisateurs sont exploités en dehors du site des réseaux sociaux. Ce serait plutôt une préparation du terrain pour monétiser la croissance continue de Twitter. Cette nouvelle mise à jour de l'API prévoit trois changements. La première con...

    Read the article

  • BlackBerry 10 : RIM promet six téléphones avec et sans clavier sur 2013, les deux premiers modèles auraient déjà fuité sur Internet

    BlackBerry 10 : RIM annonce 6 téléphones avec et sans clavier Les deux premiers modèles auraient fuité sur Internet Lors d'une conférence de presse de RIM qui s'est tenue la semaine dernière, le constructeur du BlackBerry a confirmé à Developpez.com que la sortie de son OS BlackBerry 10, prévue début 2013, sera accompagnée d'un seul modèle, 100% tactile et haut-de-gamme. Suivra ensuite « rapidement » un deuxième Smartphone, lui aussi haut de gamme, mais avec un clavier physique. Ce pourrait être ces deux modèles ? baptisés officieusment BlackBerry 10 L & N, pour London et Nevada ? qui auraient fuité cette semaine dans une vidéo postée sur Internet et

    Read the article

  • Does NTFS performance degrade significantly in volumes larger than five or six TB?

    - by Josh Yeager
    One of my customers is planning to set up a new document store, which will probably grow by 1-2TB per year. One of my co-workers says that Windows performance is extremely bad if it has a single NTFS volume that is bigger than five or six TB. He thinks that we need to set up their system with multiple volumes so that no single volume will exceed that limit. Is this a real problem? Does Windows or NTFS slow down when the volume size reaches several terabytes? Or is it possible to create a single volume of 10 or more TB?

    Read the article

  • Email sent by ActionMailer is taking six hours to deliver mail.

    - by grg-n-sox
    So I have been asked to help maintain a website that uses Ruby on Rails. Now, let me just say I've been programming Ruby for awhile but I am still new to Rails. The first problem brought to my attention is how the activation email takes about six hours to arrive. It would be one thing if the email was not being sent due to errors but it is being send correctly, just slow. Also the server this is running on is also its own SMTP. I checked how the email was being formatted before calling the setup_email method and everything looks okay. I even dug into the ActionMailer lib and read through the files there and didn't see anything out of the ordinary. So what is most likely causing the email to take six hours to deliver?

    Read the article

  • How i find the greatest number from six or more digit number?

    - by Rajendra Bhole
    Hi,thanks in advance, I have the code in which i want to find out the greatest number from six numbers, the code as follows, if( (pixels->r == 244 || pixels->g == 242 || pixels->b == 245) || (pixels->r == 236 || pixels->g == 235 || pixels->b == 233) || (pixels->r == 250 || pixels->g == 249 || pixels->b == 247) || (pixels->r == 253 || pixels->g == 251 || pixels->b == 230) || (pixels->r == 253 || pixels->g == 246 || pixels->b == 230) || (pixels->r == 254 || pixels->g == 247 || pixels->b == 229)) { numberOfPixels1++; NSLog( @"Pixel data1 %d", numberOfPixels1); } if( (pixels->r == 250 || pixels->g == 240 || pixels->b == 239) ||(pixels->r == 243 || pixels->g == 234 || pixels->b == 229) || (pixels->r == 244 || pixels->g == 241 || pixels->b == 234) || (pixels->r == 251 || pixels->g == 252 || pixels->b == 244) || (pixels->r == 252 || pixels->g == 248 || pixels->b == 237) || (pixels->r == 254 || pixels->g == 246 || pixels->b == 225)) { numberOfPixels2++; NSLog( @"Pixel data2 %d", numberOfPixels2); } if( (pixels->r == 255 || pixels->g == 249 || pixels->b == 225) ||(pixels->r == 255 || pixels->g == 249 || pixels->b == 225) || (pixels->r == 241 || pixels->g == 231 || pixels->b == 195) || (pixels->r == 239 || pixels->g == 226 || pixels->b == 173) || (pixels->r == 224 || pixels->g == 210 || pixels->b == 147) || (pixels->r == 242 || pixels->g == 226 || pixels->b == 151)) { numberOfPixels3++; NSLog( @"Pixel data3 %d", numberOfPixels3); } if( (pixels->r == 235 || pixels->g == 214 || pixels->b == 159) ||(pixels->r == 235 || pixels->g == 217 || pixels->b == 133) || (pixels->r == 227 || pixels->g == 196 || pixels->b == 103) || (pixels->r == 225 || pixels->g == 193 || pixels->b == 106) || (pixels->r == 223 || pixels->g == 193 || pixels->b == 123) || (pixels->r == 222 || pixels->g == 184 || pixels->b == 119)) { numberOfPixels4++; NSLog( @"Pixel data4 %d", numberOfPixels4); } if( (pixels->r == 199 || pixels->g == 164 || pixels->b == 100) ||(pixels->r == 188 || pixels->g == 151 || pixels->b == 98) || (pixels->r == 156 || pixels->g == 107 || pixels->b == 67) || (pixels->r == 142 || pixels->g == 88 || pixels->b == 62) || (pixels->r == 121 || pixels->g == 77 || pixels->b == 48) || (pixels->r == 100 || pixels->g == 49 || pixels->b == 22)) { numberOfPixels5++; NSLog( @"Pixel data5 %d", numberOfPixels5); } if( (pixels->r == 101 || pixels->g == 48 || pixels->b == 32) ||(pixels->r == 96 || pixels->g == 49 || pixels->b == 33) || (pixels->r == 87 || pixels->g == 50 || pixels->b == 41) || (pixels->r == 64 || pixels->g == 32 || pixels->b == 21) || (pixels->r == 49 || pixels->g == 37 || pixels->b == 41) || (pixels->r == 27 || pixels->g == 28 || pixels->b == 46)) { numberOfPixels6++; NSLog( @"Pixel data6 %d", numberOfPixels6); } I have to find out greatest from numberOfPixels1....numberOfPixels6 from above code. There are any optimum way to find out the greatest number?

    Read the article

  • BlackBerry 10 en images (8/9) : un téléphone ? Non, six ! A tous les prix, avec et sans clavier

    BlackBerry 10 en images (1/9) : BlackBerry Flow RIM dévoile les nouveautés au compte-goutte et promet de très grosses surprises Deux jours après les annonces officielles du PDG de RIM, la filiale Française nous a conviés à une démonstration pour nous dévoiler « en vrai » quelques nouveautés supplémentaires de son prochain BlackBerry 10. « Son plus gros lancement de tous les temps », selon David Derrida, le responsable produit. Les voici en images au moment où le code est officiellement gelé. BlackBerry Flow C'est la nouvelle manière d'interagir avec l'OS. ...

    Read the article

< Previous Page | 1 2 3 4 5 6 7 8 9 10 11 12  | Next Page >