text
stringlengths
256
65.5k
I'm a little lost with the best way to process a record from a displayed list. I'm allowing users to click on a link which will contain the record id in the querystring in the following way in my template.html: <a href="/edit_record?id={{company.key.id}}">Edit</a> I have in my handler: application = webapp.WSGIApplica...
Ping Овај чланак не цитира никакве референце или изворе. Молимо помозите да овај чланак буде поправљен додавањем навода из поузданих извора. Садржај непоткрепљен изворима може бити доведен у питање, а потом и уклоњен. Пинг (енгл. Ping) је алатка за администрацију рачунарске мреже која се користи за тестирање доступност...
The rr.nu PHP Worm and Encrypted Webshells: Dyslexic Mayans Want to Sell You Cialis Problems with preg_replace("/.*/e","\x65\x76 , $_8b7b="\x63\x72\, eval(base64_ hacks, and those damn rr.nu domain redirects My shared host account got hacked-TFU last Monday. After looking a little closer it became clear that there had ...
I've got a small program I've written in python (2.7.3) that I'm moving over to another box. However, when executing this line: from Tkinter import * I get this error; Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 42, in <module> raise ...
It is a really important question to me! I've worked 7 months on a 13" laptop with colleagues having 24" desktop monitors, and I found myself spending lots of time shortening lines to end up with something readable. 80 columns is a bit small in lots of cases (except if you're working on a terminal with vi the only opti...
I proposed to implement this feature in http://brainstorm.ubuntu.com/idea/27164/, but it was marked as already implemented. Could someone shed light on how i can do it? I would like a shortcut to a specific connection (vpn or broadband) on my panel (one click connect). You should be able to create shortcuts that call H...
nombre réponses : 2 stef95 Réponses : 171 Salut, j'ai un problème au lancement de l'appli (ubuntu9.10) : Télécommande pour Freebox HD. Traceback (most recent call last): File "/usr/bin/greemote", line 13, in <module> main() File "/usr/bin/greemote", line 10, in main libgreemote.greemote.greemote() File "/...
PyOracle is an ongoing project which uses Python to automatically analyze aspects of musical structure. Audio Oracle, an algorithm based on the Factor Oracle string matching algorithm, is used to detect introductions and repetitions of musical materials. Through this analysis, aspects of musical structure can be unders...
I installed the KDE window manager on top of Ubuntu 11.10 and while I am using KDE, I do not get an elevation dialog when I try to perform tasks that require root privileges. Instead, the operations silently fail, unless I launch apps from a terminal, in which case I get errors like: Traceback (most recent call last): ...
When creating a DataFrame with MultiIndex columns it seems not possible to return a single column with a MultiIndex. Instead, an object with an Index is returned: import pandas as pd import numpy as np dates = np.asarray(pd.date_range('1/1/2000', periods=8)) _metaInfo = pd.MultiIndex.from_tuples([('AA', '[m]'), ('BB', ...
Email and SMS Setting up email Web2py provides the gluon.tools.Mail class to make it easy to send emails using web2py. One can define a mailer with from gluon.tools import Mail mail = Mail() mail.settings.server = 'smtp.example.com:25' mail.settings.sender = 'you@example.com' mail.settings.login = 'username:password' ...
If I understand you properly, the problem here is that the traceback does not give you any indication from where in your code the error originates. Somehow you had to track down the line logging.debug('This is a string %d', str(foo)) yourself. The logging module was designed so that exceptions that occur during an emi...
By reducing the file size of your CSS, JavaScript and images, as well as the number of unnecessary browser requests made to your site, load time of your applications pages can be drastically reduced, not to mention the load on your server. Yahoo have created a list of the 35 best practices to speed up your website, a r...
I have a class with two class methods (using the classmethod() function) for getting and setting what is essentially a static variable. I tried to use the property() function with these, but it results in an error. I was able to reproduce the error with the following in the interpreter: >>> class foo(object): ... _...
Python, like many languages, allows the behavior of operators to be customized using a scheme based on the types of objects they are applied to. The precise rules and intricacies of this customization are fairly involved, though, and most people are unaware of their full scope. While it is sometimes valuable to be able...
Participate in the “Internet Slowdown” with One Click | 09-09-14 Net Neutrality is an important issue for CloudFlare as well as for our more than 2 million customers, whose success depends on a vibrant, dynamic, and open Internet. An open Internet promotes innovation, removes barriers to entry, and provides a platform ...
CSS 810311 — 2013-07-15T07:27:13-04:00 — #1 Hello Good People, Please, take a look at this site http://yogastudio.atspace.com/ Issue: the following images get nudged down in Opera but look ok in Firefox and Chrome <img id="mon" src="images/mon_img.png" alt="" width="113" height="113"/> <img id="tue" src="images/tue_img...
AnsuzPeorth [HtmlDesktopTools] Tout pour votre bureau en HTML5/JS/CSS3 Bjr, N'ayant pas trouvé une taskbar qui me convienne, j'ai codé, pour le fun, une taskbar html. Plutot que de me faire juste ma taskbar, j'ai plutot développé un outils qui permet de faire ses widgets en html pour le bureau, dont ma taskbar. Ce proj...
I'm using the blobstore to backup and recovery entities in csv format. The process is working well for all of my smaller models. However, once I start to work on models with more than 2K entities, I am exceeded the soft memory limit. I'm only fetching 50 entities at a time and then writing the results out to the blobst...
pops logiciel d'animation en pixel art Bonjour, Je voulais vous présenter un petit logiciel d'animation en pixel art sur lequel je travaille depuis un peu plus d'un mois. C'est encore très sommaire, mais il commence a être utilisable : On peut dessiner avec des couleurs indexées, animer, il y a quelques brosse et on pe...
#1676 Le 29/03/2013, à 06:12 nassertom Re : [ VOS SCRIPTS UTILES ] (et eventuelles demandes de scripts...) re bonjour, voici les scripts que j'utilise pour faire la conversion à la volé de vidéo. je sais que ce type de script est en abondance sur le réseau cependant je n'ai jamais trouvé mon bonheur. en quelques mots :...
It looks like you're new here. If you want to get involved, click one of these buttons! Users identify which GATK walker to run by specifying a walker name via the --analysis_type command-line argument. By default, the GATK will derive the walker name from a walker by taking the name of the walker class and removing pa...
Django Model formsets not validating I had a problem recently with a site I was working on, I was trying to allow a user to input details about a variable number of items through forms on the front end. To acomplish this I was using Django's model formsets but I had a problem, the user was required to fill in each fiel...
I'm having the problem where the application is running the on_press command of a button immediately before anything else happens. If I us a .kv for the layout it works fine, but I want to be able to manage the buttons using a simple list. class AppBase(Widget): def Launcher(self, launchapp): os.system(laun...
FelixP [Résolu] Sources de Logiciels ne veut plus démarrer… Salut ! Je reposte mon problème car il semblerait que mon ancien post soit tombé dans les abîsses… Lorsque je veux ouvrir la liste des sources de logiciels, j'obtiens une erreur… Ce problème est apparu, je crois, après ajout du dépot permettant d'installer cam...
I have no experience of the first two examples you give, but it's certainly possible, and indeed relatively easy, using cairo. Using Python, you can hook it up with PyCairo and GTK3. The general idea would be to create a GTK DrawingArea and use the cairo context to draw what you want. Here's the shortest snippet I can ...
no_spleen Re : Petit guide pour aider au choix d'un langage Le fichier de maillage est trops gros à poster ! Hors ligne tshirtman Re : Petit guide pour aider au choix d'un langage un code permettant de générer un fichier de ce type alors? je vais regarder ton code voir si je voit quelque chose de choquant pour les perf...
#1676 Le 28/06/2012, à 20:51 AnsuzPeorth Re : [glade2script-GTK2] Interface graphique pour script bash ou autre. re, Bon, pour les whitelits, il faut indiquer la section et la variable ... Je vais réfléchir pour faire mieux ... Mais je pense que ce sera dur de faire différent, il faut bien indiquer la section et la var...
I asked this question for python 2 here, but bumped into the issue again when the the answer no longer worked for Python 3.2.3. Here's code that works on Python 2.7.3: import logging # Attempt to set up a Python3 logger than will print custom messages # based on each message's logging level. # The technique recommended...
Recently, I created a form (in Django 1.3) where users could add extra rows of form fields as required, similar to how you can add extra reminders in Google Calendar. Patternry calls it an inline input adder. I found it a bit tricky to achieve this, so I thought I’d write about it. Note: This is only a ‘one-way’ form. ...
Answers I. a learning problem and reference-request. Please, see very good examples here. The code can also become useful here. Good tutorial video here. Main docs here. II. I am using DVO -layout where many keys such as " and ' are broken -- and many hotkeys are broken (things are apparently hard-coded to QWE -lay...
First: Go to the "Plugins" drop-down menu. Open the Plugins Manager. Download PythonScript for Notepad++. Via the prompt, restart Notepad++. Next: Go to Plugins in the drop-down menu. Click PythonScript->new script``. Save the script with a .py extension. Copy and paste this code, then edit it: #*** IMPORTS *** fro...
Published on O'Reilly Network (http://www.oreillynet.com/) See this if you're having trouble printing code examples by Cameron Laird and Boudewijn Rempt 07/07/2000 Editor's note -- Seldom do I run across an article on application development that is just plain fun. I have one here. There are four characters in this sto...
There's two parts to making seamlessly tileable fBm noise like this. First, you need to make the Perlin noise function itself tileable. Here's some Python code for a simple Perlin noise function that works with any period up to 256 (you can trivially extend it as much as you like by modifying the first section): import...
bibichouchou TVDownloader: télécharger les médias du net ! [2] A k3c j'ai fait les mêmes constats quand à l'utilisation du script de KSV. le flux rtmp était bien utile car les séries n'étaient pas chiffrées. avec la version fragmentée, ce n'est pas le cas ci-dessous une version corrigée de ton script pour tf1 et compag...
When inherit from a base class, that implements __deepcopy__ and the inheriting class changes the arguments in __init__, how can the __deepcopy__ from the base class be reused in the inheriting class? Here an example: class A(object): def __init__(self, arg1, arg2): self.arg1 = arg1 self.arg2 = arg2...
Possible Duplicate: How to clone a Python generator object? Suppose I have a generator 'stuff_to_try', I can try them one by one but if I had a method that wanted to go through the generator and that method is recursive, I want to let each recursion get a fresh new generator that starts at the first yield rather than w...
I figured out that the names can be set using gsettings set org.compiz.workspacenames:/org/compiz/profiles/unity/plugins/workspacenames/ names [\"Name1\",\"Name3\"] gsettings set org.compiz.workspacenames:/org/compiz/profiles/unity/plugins/workspacenames/ viewports [1,3] So I wrote a python script to do what I wanted:...
Killable Threads August 13, 2006 The thread2 module is an extension of the standard threading module, and provides the meansto raise exceptions at the context of the given thread. You can use raise_exc() to raise anarbitrary exception, or call terminate() to raise SystemExit automatically. It uses the unexposed PyThrea...
Finding and replacing strings are often-used operations when editing text and vim has a full-featured regex engine to aid in that. Unfortunately, it’s one of a kind – neither POSIX- nor perl-compatible, though mostly the latter. There are various differences with perl, though, and minor oddities that can be pretty anno...
Oni Re : [How-to] Desktop Screenlets Salut. Je viens de réinstaller screenlets. Lorsque je lance une musique avec Listen (mon lecteur par défaut), le module "Now Playing" me renvoie une erreur comme vous pouvez le voir sur la capture ci-dessous. J'ai installé le paquet "python-dcop" au cas où... mais même problème. Si ...
Your code won't work, as the attributes of field instances are read-only. I fear it might be a wee bit more complicated than you're thinking. If you'll only ever create User instances with a form, you can define a custom ModelForm that enforces this behavior: from django import forms from django.contrib.auth.models imp...
toma222 [HOW TO] adesklets : configuration des desklets Il existe désormais un article sur le wiki concernant Adesklets donc je vous conseille de vous y fier, ce tutoriel n'étant plus mis à jour. J'ouvre ce deuxième post au sujet de adesklets, afin de permettre une meilleure lisibilité de l'ensemble.Celui-ci a donc pou...
FTG [script/python] Nautilus et picasaweb! Bonjour à tous, depuis longtemps je voulais réaliser un petit script python a l'aide des API Google, me permettant d'uploader en 2 temps 3 mouvements un paquet de photos de Nautilus vers Picasaweb par un clic droit de souris. Je n'avais pratiquement rien à faire aujourd hui et...
.NET xxjhansonxx — 2012-07-18T09:49:23-04:00 — #1 Hello Sitepoint, I am trying to implement some AJAX(using jQuery) in my company's CMS system and am running into a couple problems. I have read all over online and looked at quite a few examples but just can't seem to get this to work or understand the best practice whe...
Description: Gensim - Python Framework for Vector Space Modelling Gensim is a Python library for Vector Space Modellingwith very large corpora. Target audience is theNatural Language Processing(NLP) community. Features All algorithms are memory-independentw.r.t. the corpus size (can process input larger than RAM), Intu...
JavaScript whisher — 2010-06-29T10:43:14-04:00 — #1 Hi, I've a form with a lot of fields so I ended up with var postData = $('#frmUserRegister :input'); but there is also a radio check for the sex so server side I receve always the same value Is there a way to intersect the checked radio input ? Bye. whisher — 2010-0...
Is there any known formula for the number of compositions of an integer k (partitions with considering the order of the parts) of length m (exactly m parts) where the parts do not exceed a given integer n? Without limitation of the parts there is, of course, a well-known formula (binomial k-1 over m-1). Introducing the...
I would like to ignore some key events in a text view, now i do the following def on_key_press_event(self,source,event): keyname = Gdk.keyval_name(event.keyval) if(keyname=="Return"): tv = self.builder.get_object('txtMsg') buf = tv.get_buffer() msg = buf.get_text(buf.get_star...
#1251 Le 05/02/2012, à 19:35 chaoswizard Re : TVDownloader: télécharger les médias du net ! Voilà, la version 0.5 est arrivée dans le PPA ! Ubuntu ==> Debian ==> Archlinux Hors ligne #1252 Le 05/02/2012, à 20:08 ynad Re : TVDownloader: télécharger les médias du net ! @Greg_lattice comme f.x0 avec la même ligne de comma...
Úvodem Web2py[web2py] je open-source webový framework pro rychlý vývoj bezpečných databázových webových aplikací. Je vytvořen v jazyce Python[python] , s jehož pomocí se také píší cílové webové aplikace. Web2py je full-stack framework, což znamená, že obsahuje všechny komponenty, které potřebujete pro vytvoření komplet...
When VLC is running, it prevents the computer from suspending. I want it to allow suspend IF VLC is stopped (the media finished playing). How can this be done? You could set up a DBus query to get the play state of VLC and kill the process when it's done playing. That should release its hold on suspend state. I was exp...
I have an array n x m, and maximum values for each column. What's the best way to replace values greater than the maximum, besides checking each element? For example: def check_limits(bad_array, maxs): good_array = np.copy(bad_array) for i_line in xrange(bad_array.shape[0]): for i_column in xrange(bad_a...
hectorau_ben Re : [tuto]Installation de Dofus 2.0 par paquet debian et rpm (pour la doc) Même si tu m'as toujours pas répondu, dofus marche parfaitement, sans AUCUN ralentissement, mais le son ne marche pas ... Même si l'Updater est ouvert et que j'ai activé le son dans le options et biensûr, je n'ai pas trouvé la solu...
I just purchased a new phone. I’m convinced that this was not a brilliant time to introduce a great source of distraction, given I’m frantically working towards finishing my thesis and preparing for my defense. But it’s so shiny! We had a paper at the last SOSP on transaction chains. Our original analysis of chains was...
FelixP [Résolu] ! Script pour noms de musique Salut à tous ! J'ai une petite question à vous poser… (Eh oui !) Je cherche un script pour me créer un fichier avec la liste des noms des musiques qui sont dans un dossier donné, avec la syntaxe de Wikipédia (histoire de remplir ses serveurs de données !) en sachant que les...
Bonjour, J'ai fait un script en python qui remplit automatiquement une clef usb avec des repertoires de mp3 choisis aleatoirement (entre 25 et 250 mo); Le voici: import os.path from os import mkdir import shutil from random import randint class Rep: def __init__(self): self.fics=[] self.taille=0 ...
Alon Swartz - Mon, 2010/12/13 - 18:26 When settings.DEBUG is set to False, exception tracebacks will be sent to settings.ADMINS. To make it simpler to track down how and why the exception was raised, it's beneficial to know which user caused the exception. settings.py MIDDLEWARE_CLASSES = ( ... 'hubutils.middle...
Composite Manager Retained Drawing Protocol RFC Robert Carr 02/28/07 Outline and justification: Results from development in the creation of 'first generation' mainstream composite window managers has outlined the need for several reconsiderations in regards to applications interacting and communicating with the composi...
Φροντιστήριο για το web.py 0.2 Ξεκινώντας Αν γνωρίζετε Python και θέλετε να φτιάξετε ένα σάιτ, το web.py παρέχει τον κώδικα ώστε να το φτιάξετε εύκολα. Για να παρακολουθήσετε ολόκληρο το φροντιστήριο, θα πρέπει να έχετε εγκατεστημένα τα εξής: Python, web.py, flup, psycopg2 και Postgres (ή κάποια αντίστοιχη βάση δεδομέν...
kevin54 Re : [ VOS SCRIPTS UTILES ] (et eventuelles demandes de scripts...) @yvon22 Merci cela marche bien pour mes fichiers de + 2 jours. Mais pour garder les 3 derniers dimanches, cela est possible avec cette commande ? Hors ligne Fenouille84 Re : [ VOS SCRIPTS UTILES ] (et eventuelles demandes de scripts...) Voici u...
If I run compix-switch or fusion-icon, and then select xfwm4 from its menu, it refuses to load, terminal gives me these errors: Code: * Setting window manager to Xfwm4 ** (xfwm4:6218): CRITICAL **: Xfconf could not be initialized ** (xfwm4:6218): WARNING **: Missing data from default files * Setting window manager to X...
I have a long-running process in a task queue that is causing a DeadlineExceededError because the task can take longer than 10 minutes. As I described in this question, the long-running process has a for loop that sequentially calculates new values in large dictionaries that are used to create kml files. The task curre...
Trudy Résolu ! Ouvrir fenêtre Dépôts Bonjour, Je voudrais savoir comment ouvrir la fenêtre Dépots, si je ne l'ai pas dans Système-Aministration ... Merci pour vos réponses ! Dernière modification par Trudy (Le 04/12/2005, à 15:57) Hors ligne Express Re : Résolu ! Ouvrir fenêtre Dépôts Ca s'appel "Gestionnaire de paquet...
It’s been almost two months since Adam O’Byrne and I launched Kouio, a Google Reader replacement we’ve built together. It’s been a wild ride and we’ve both learnt a lot in a very short period of time. With Kouio, we’ve had the blessing of what I refer to as DevOps by default, the all too common scrappy start-up scenari...
It seems that you are trying to make an API with Django. You can read here more about REST APIs. The basic idea is that your web site will have a set of command links/urls - where each link will either do some action (update db, etc), just return some information (most commonly in JSON - e.g. return an object from db),...
I want to call and send message using Skype API for Mandriva 2011? I've tried skype4Py in Ubuntu and it works. Skype4Py is the only Skype-wrapper I've seen for Linux. Does anyone know how to make a call and send message for Mandriva 2011? To run skype API in mandriva using Skype4Py, go to installer /Skype4Py/api/posix....
Pylades Re : /* Topic des codeurs couche-tard [1] */ It works! \o/ Bon, alors, vous en pensez quoi ? On met le planeur ? Avant le titre ? Après ? “Any if-statement is a goto. As are all structured loops. “And sometimes structure is good. When it’s good, you should use it. “And sometimes structure is _bad_, and gets int...
hectorau_ben Re : [tuto]Installation de Dofus 2.0 par paquet debian et rpm (pour la doc) Même si tu m'as toujours pas répondu, dofus marche parfaitement, sans AUCUN ralentissement, mais le son ne marche pas ... Même si l'Updater est ouvert et que j'ai activé le son dans le options et biensûr, je n'ai pas trouvé la solu...
TDD isn’t something that comes naturally. It’s a discipline, like a martial art, and just like in a Kung-Fu movie, you need a bad-tempered and unreasonable master to force you to learn the discipline. Ours is the Testing Goat. The Testing Goat is the unofficial mascot of TDD in the Python testing community. It probably...
naingenieu CSyD - divisez vos données Bonjour tout le monde Je viens vous présenter un projet tout droit tiré de mes cours de maths, j'ai nommé Can Split your Data Le principe Ce petit logiciel en python permet de décomposer un mot de passe, une phrase en plusieurs clés qui pourront être, toutes ou en parties, réunies ...
This project is archived and is in readonly mode. Can't adapt type 'Decimal' Reported by Marti Raudsepp | April 26th, 2011 @ 01:21 PM We're using lots of numeric/Decimal types in our database, with a Django/mod_wsgi/Apache frontend, using WSGI daemon mode. Sometimes we spuriously receive "Can't adapt type 'Decimal'" er...
(I haven't used compiz in a while, and thought I'd like to try it again, hopefully in KDE) When I try to start ccsm I get this message: Traceback (most recent call last): File "/usr/bin/ccsm", line 96, in <module> from ccm.Constants import Version, ConfFile ImportError: cannot import name ConfFile (note: this cc...
degolarson RESOLU connexion ok mais ouverture pages web lente ou imopssible bonjour j'ai déjà posté ici : http://forum.ubuntu-fr.org/viewtopic.php?id=21092 mais le pb était peut être un peu différent quand je tape une recherche dans Google ou bien dans ma barre personnelle d'onglets l'ouverture de la page est souvent l...
I installed ubuntu 12.04 64-bit I have python 2.7 with some additional packages. When I try to use simple command in python like for example help('modules') I have an error and python terminates. >>> help('modules') Please wait a moment while I gather a list of all available modules... /usr/lib/python2.7/dist-packages/...
Using Metaclasses to Create Self-Registering Plugins Fredrik Lundh | July 2008 | Based on a comp.lang.python post Background: This was posted to a thread about how to bestregister plugin classes. The original approach was to scanall plugin modules for Plugin subclasses; this note describesan alternative solution that u...
Ayu Grub ne se lance pas Bonsoir, J'ai installé windows 7 et Xubuntu 11.10 sur un nouveau pc avec cette configuration:CM: Asus P8H67 B3Processeur: i5 2500kDD: 1TO 7200 RPMRAM: 2x4GOCG: Gigabyte GeForce GTX 560 Mais je boot toujours sur windows et Grub ne se lance pas j'ai essayé de réinstaller grub depuis une session l...
The following python curl call has the following successful results: >>> import subprocess >>> args = [ 'curl', '-H', 'X-Requested-With: Demo', 'https://username:password@qualysapi.qualys.com/qps/rest/3.0/count/was/webapp' ] >>> xml_output = subprocess.check_output(args).decode('utf-8') % Tot...
Well, I have a problem in a Python script, I need to do is that the index of the split function, increases automatically with every iteration of the loop. I do this: tag = "\'" while loop<=302: for line in f1.readlines(): if tag in line: word = line.split(tag)[num] #num is the index ...
25 12 / 2013 This article will focus on deploying flask app starting from scratch like creating separate linux user, installating database, web server. Web server will be nginx, database will be postgres, python 2.7 middleware will be uwsgi, server ubuntu 13.10 x64. Flask app name is fido. Demo is carried out in Digita...
Like said on title, by a slip of the keys I issued the command: sudo rm /etc/lib/python2.7/urllib.py sudo rm /etc/lib/python2.7/urllib2.py And with that the problems started, Ubuntu still starts, but when I now want to do anything with pip or easy_install, I get this error: ..... import sys, os.path, re, urlparse, url...
Plot Routines As with the basic DISLIN library, pxDislin contains high-level plot generating functions. Similar to the first example, creating a 2D plot in pxDislin is as simple as >>> x=arange(100.0) >>> y = sin(x/3)+cos(x/5) >>> plot = dScatter(x,y) >>> plot.add_axis(dAxis(0,100,-4,4)) >>> plot.show(). After which y...
Python kylewolfe — 2013-02-22T11:35:25-05:00 — #1 So I've just started playing around with python. My first script was to spool through a pipe deliminated csv. I noticed this language is slightly more strict than PHP I receive an error when trying to assign a non existant variable to a new list. #open csv file ifile =...
pops Re : logiciel d'animation en pixel art merci doudoulolita pour tous ces retour, idées Outils - Un lasso de sélection me permettrait de couper-coller des parties, par exemple la tresse était trop haute, j'ai du la supprimer et la redessiner sur le calque tête. - Un outil de rotation, au moins à 45° serait pas mal, ...
For 12.10 We have created a script that lets you enable/disable show-desktop icon. If you dont want to install a separate tool, grab our script and run it. It is hosted on bitbucket at https://bitbucket.org/jpmahesh/unity-reset Or if you are lazy and prefer not to open another page, here's the snippet. #!/usr/bin/pytho...
Possible Duplicate: error occured while running sudo apt-get install -f [sudo] password for rahul: Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following extra packages will be installed: gnome-icon-theme-full libgail-3-0 libgtk-3...
I have an Dell XPS 13 Ultrabook with Ubuntu 12.04. its works pretty well, but if I attach my Apple Cinema Display with the Mini Display Port then hangs the Notebook up. Its totally randomly. Power attached or not, freshly restarted or not, monday or friday. I cant see any pattern for the problem. The X Log says nothing...
So this is an example I have, a site that organizes people into departments with per department ordering. Its the same concept as your problem but with different models. This example uses many-to-many through table. class Department(models.Model): slug = models.SlugField( verbose_name = _(u'Slug'), ...
sweetly Re : A quoi ressemble votre environnement - printemps/été 2011 Le blur, au bout d'un moment... blurp. Hors ligne Ypnose Re : A quoi ressemble votre environnement - printemps/été 2011 Hop, mon portable sous Chakra : Vide : Plein : Cool. Enfin une vrai distrib digne de ce nom. Mario_26 Re : A quoi ressemble votre...
I have a dataframe of historical stock trades. The frame has columns like ['ticker', 'date', 'cusip', 'profit', 'security_type']. Initially: trades['cusip'] = np.nantrades['security_type'] = np.nan I have historical config files that I can load into frames that have columns like ['ticker', 'cusip', 'date', 'name', 'sec...
How do I configure VIM for using Ctrl-c to copy and Ctrl-v to paste from system buffer in Ubuntu? Default beheaviour in MS Windows:- Here is an excert from the mswin.vim file:- " CTRL-X and SHIFT-Del are Cut vnoremap <C-X> "+x vnoremap <S-Del> "+x " CTRL-C and CTRL-Insert are Copy vnoremap <C-C> "+y vnoremap <C-Insert>...
Today I did a fresh install of ubuntu 12.04 and went about setting up my local development environment. I installed mysql and edited /etc/mysql/my.cnf to optimise InnoDB but when I try to restart mysql, it fails with a error: [20:53][tom@Pochama:/var/www/website] (master) $ sudo service mysql restart start: Job failed ...
So, I was trying to add a repository using add-apt-repository and I got this error: sudo add-apt-repository ppa:gijzelaar/opencv2 [sudo] password for foo: Traceback (most recent call last): File "/usr/bin/add-apt-repository", line 8, in <module> from softwareproperties.SoftwareProperties import SoftwarePropertie...
clement.analogue Réponses : 22 Bonjour, J'ai plusieurs profils de connexion filaire. Le probleme etant que je ne peux pas selectionner un profil. Quand j'active la connexion filaire, ca se connecte automatiquement en utilisant un des profils, generalement le meme. Comment resoudre ce probleme ? clement.analogue Réponse...
Topic: [FAQ] How to enable signing disclaimer on outgoing mails? Note Signing disclaimer on outgoing mails is available in iRedMail/iRedOS-0.5.0 and later, users upgrade from 0.4.0 or even older versions can add this feature manually with steps explained in our Upgrade Tutorial (0.4.0 -> 0.5.0). iRedMail uses Amavisd-n...
function [A , c] = MinVolEllipse(P, tolerance) [d N] = size(P); Q = zeros(d+1,N); Q(1:d,:) = P(1:d,1:N); Q(d+1,:) = ones(1,N); count = 1; err = 1; u = (1/N) * ones(N,1); while err > tolerance, X = Q * diag(u) * Q'; M = diag(Q' * inv(X) * Q); [maximum j] = max(M); step_size = (maximum - d -1)/((d+1)*(max...
blob: e0edd41f176db91165047e107c2b0a0db0de4cc3 ( plain ) systemd System and Service Manager DETAILS: http://0pointer.de/blog/projects/systemd.html WEB SITE: http://www.freedesktop.org/wiki/Software/systemd GIT: git://anongit.freedesktop.org/systemd/systemd ssh://git.freedesktop.org/git/s...
fenix122 Re : erreur avec apache2 : « Unable to open logs » [RESOLU] non non je sais faire les serveur sans interface j'ai fait sa surtout pour simplifier après non je ne suis pas tout a lettre car le tuto que j'ai suivi avait des erreurs pour certaine chose surtout pour c'est source pas bonne j'ai du aller sur le site...
Introduction web2py[web2py] is a free, open-source web framework for agile development of secure database-driven web applications; it is written in Python[python] and programmable in Python. web2py is a full-stack framework, meaning that it contains all the components you need to build fully functional web applications...
I have noticed that disk activity is very high and I have been getting the spinning beach ball of death too. Does anyone have any ideas why or what I can do about it? I am using Snow Leopard and used Activity Monitor to see the disk activity. Could you be running out of RAM? You can check this in Activity Monitor, too....