text
stringlengths
256
65.5k
doudoulolita Faire une animation sur la création de jeux vidéo libres Dans le topic Création de jeu vidéo libre - Appel à candidatures, j'ai découvert le créateur de jeu de Ultimate Smash Friends, Tshirtman. Voici ce que je lui ai écrit: Je cherche un jeu que notre Espace Public Numérique pourrait proposer aux jeunes s...
One Interface To Rule Them All Python library for interacting with many of the popular cloud service providers using a unified API. Supports more than 30 providers such as Supports more than 30 providers such as Latest stable version: 0.15.1 pip install apache-libcloud Or download it from our servers and install it man...
Suppose we need to write a function that gives the list of all the subsets of a set. The function and the doctest is given below. And we need to complete the whole definition of the function def subsets(s): """Return a list of the subsets of s. >>> subsets({True, False}) [{False, True}, {False}, {True}, set()]...
I'm Paul Bissex. I build web applications using open source software, especially Django. Backstory: In the 1990s I did graphic design for newspapers and magazines. Then I wrote technology commentary and reviews for Wired, Salon.com, Chicago Tribune, and lots of little places you've never heard of. Then I taught photogr...
I have an error in GAE python API with my app. Error is: File "/base/data/home/apps/s~graph-coloring/coloring.362739865286670993/main.py", line 249, in txn Gfile.put() I have dropped the txn function but it still appears. I have changed also app version, deployed several times but GAE is still calling txn function. Wha...
Sublime Text: One Editor to Rule Them All? Sublime Text is a proprietary, cross-platform text editor designed for people who spend huge amounts of time shuffling code around. A programmer's editor, Sublime Text is a third option to the long-standing "Vi or Emacs" conundrum. Going beyond the basics of syntax highlightin...
nam1962 [résolu, du coup tuto] Comment nettoyer mauvaise install de langues Comment peut on récupérer un desktop en francais sous 12.04 ou 12.10 ? Je viens d'installer un Airis pour un ami en Xubuntu 12.04 Tout est total ok, mais le desktop est en anglais (tous les fichiers locale indique pourtant fr_Fr ou fr UTF8). Y ...
original post I'm running ubuntu 10.04, using the openbox window manager. There recently appeared a black rectangle with dimensions of about 100x200 pixels that's obscuring the contents of the display. wmctrl -l doesn't list anything that could be causing it. It appears on all desktops. It catches mouse focus, but xkil...
There is matplotlib2tikz, which creates a TikZ/pgfplots file that can be \input in your document. I don't know how well it works, having never used matplotlib, but I have used matlab2tikz from the same author, and that works well. Also, I do not know if matplotlib2tikz supports all the different kinds of plots that mat...
Modern OpenGL with Haskell July 18, 2013: See a newer article on modern OpenGL and Haskell for the current state of affairs of texture loading, geometry specification and loading, and GLSL binding. This is a Haskell implementation of the ideas presented in chapter two of Joe Groff’s excellent tutorial on modern OpenGL....
Hi, From 3 days, I am continuously making my efforts to get this thing to do in Python, which I can easily do in PHP. I just want following lines from PHP file (abc.php) to Python (abc.py). <?php $mind = explode(',', $_GET['mind']); $data = ''; if(in_array('good', $mind)) { $data .= file_get_contents('good.txt'); } if...
rodofr Re : Voyager 12.04 Ah ! mais voyager n'est pas aussi parfaite que ça !!!:lol: Il y a toujours des erreurs et ainsi va le monde. C'est parfois un problème de droits mais je crois que c'est sur la 32 bits. Je l'ai déjà souligné sur le forum et sur astuces sur mon site. Hors ligne Tux35 Re : Voyager 12.04 Hello Et ...
using window.open to open a popup, the "scrollbars=1" thing is not working in IE8 for some reason (the window opens, its just that the scroll bar that isn't showing). works fine in firefox and chrome here is what I tried: window.open(source, null, "height=200, width=400, scrollbars=yes, scrollbars=1, toolbar=no, resiz...
tbonacco Réponses : 351 Afin d'éviter de compiler OpenCascade, une alternative serait d'utiliser la plateforme SALOME (http://www.salome-platform.org), en cours de développement, dont le composant géométrique est développé à partir de la technologie OpenCascade. #1 Re : -1 » Pb à l'installation de matlab » Le 03/03/200...
enebre Re : Gmediafinder : Youtube/dailymotion/vimeo.. sans flash et bien plus.... bonjour smo, je viens de réinstaller gmf sur mon petit netbook et git clone git://github.com/smolleyes/gmediafinder2.git gmf2 cd gmf2/Gmediafinder python gmediafinder.py je constate que python-mecahanize n'est plus intégré dans les deps...
Alan Davies is learning Chinese and couldn't find a site that would work out what level of difficulty a text or a vocabulary list would be. So he built a site to do that on PythonAnywhere, our Python-focused PaaS and browser-based programming environment. Bravely enough, he did it in Python 2, which is not renowned for...
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...
I do not have access to ArcMap 10, only 9.3, but I expect that it won't be very different from this. You can create a simple script in Python, that checks your attribute field for different values, and then, for each of them runs a SELECT operation to your original Shapefile. If you are not familiar with python scripti...
In a decorator method, you can list arguments of the original method in this way: import inspect, itertools def my_decorator(): def decorator(f): def wrapper(*args, **kwargs): # if you want arguments names as a list: args_name = inspect.getargspec(f)[0] ...
I have the following code: query = Entry.objects.all() print 'authors ' + repr([x.id for x in authors]) print 'query ' + repr(query) print 'query ids ' + repr([x.author.id for x in query]) query.filter(author__in=authors) print 'filtered ids ' + repr([x.author.id for x in query])...
I am tring to implement google maps using the new google maps api v2 and for some reason i don't see a map. I think that the problem is those two lines of error when i run it on the emulator: E/ActivityThread( 1373): Failed to find provider info for com.google.settings E/ActivityThread( 1373): Failed to find provider ...
I am new to python and I am practicing writing classes in terminal I wrote following >>> class Calculator: ... def calculate(self,expression): ... self.value=eval(expression) ... class Talker: as soon as I typed class Talker: as above I get following error File "<stdin>", line 4 class Talker: ...
I'm not 100% on this, but doing an outer join and dropping the NAs is the same as an inner join. So in the case of no matching indicies, you just get an empty dataframe. If we modify your example to include one matching record, this appears to be the case: import pandas as pd d1 = pd.DataFrame({ 'i1': [1, 2, 2], ...
Google Summer of Code 2011 application for openSUSE Project by Alex Eftimie. AppStream is an initiative of cross-distro collaboration, which aims creating an unified software metadata database, and also a centralized OCS (Open Collaboration Services) user-contributed content database. By this project, a PackageKit back...
I have two vectors u and v. Is there a way of finding a quaternion representing the rotation from u to v? Quaternion q; vector a = crossproduct(v1, v2) q.xyz = a; q.w = sqrt((v1.Length ^ 2) * (v2.Length ^ 2)) + dotproduct(v1, v2) Don't forget to normalize q Richard is right about there not being a unique rotation, but...
#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...
http://www.linuxjournal.com/content/introduction-mapreduce-hadoop-linux When your data and work grow, and you still want to produce results in a timely manner, you start to think big. Your one beefy server reaches its limits. You need a way to spread your work across many computers. You truly need to scale out. Say you...
In SQLAlchemy, imagine we have a table Foo with a compound primary key, and Bar, which has two foreign key constrains linking it to Foo (each Bar has two Foo objects). My problem is with the relationship function, which makes me repeat the information (in the primaryjoin) which I have already given in the ForeightKeyCo...
When using sqlite for django you can checkout your application from source control and run the unit tests without needed to do anything special. But when you switch to using mysql as your database all of the sudden you need to create a database. Why do I need to do this? This is especially weird since the unit tests wo...
The impressive term partial function application stands for a programming technique that is not nearly as complicated as it sounds. In short words, it refers to creating a new function from any given function by fixating one or more of its arguments. Why write a tutorial about such a simple feature? The actual techniqu...
I want to use simple grid layout in my kivy program, but I don't appropriate example; here is my code: import kivy from kivy.uix.gridlayout import GridLayout from kivy.app import App from kivy.uix.button import Button layout = GridLayout(cols=2, row_force_default=True, row_default_height=40) layout.add_widget(Butt...
You must give a presentation tomorrow and you haven't prepared any figures yet; you must document your last project and you need to plot your most hairy class hierarchies; you are asked to provide ten slightly different variations of the same picture; you are pathologically unable to put your finger on a mouse and draw...
I think the join syntax is slightly strange: >>> list = ['cow','dog','cat'] >>> print list.join() Traceback (most recent call last): File " AttributeError: 'list' object has no attribute 'join' >>> print join.list() Traceback (most recent call last): File " NameError: name 'join' is not defined >>> print ''.join.list...
It's nearing the end of 2013 and I wanted to look back at some of the goals I set for myself this past year as well as reflect on some of the things that happened over the year. One of the biggest change for me this past year was the increase in running. Running moved from being just excercise to a pastime. My goal for...
What I am trying to do is to get from SqlAlchemy entity definition all it's Column()'s, determine their types and constraints, to be able to pre-validate, convert data and display custom forms to user. How can I introspect it? Example: class Person(Base): ''' Represents Person ''' __tablename__ = 'p...
A long time ago, I wrote a little python script to automatically log me on to the wireless network at my office. Here is the code: #!/opt/local/bin/python from urllib2 import urlopen from ClientForm import ParseResponse try: if "Logged on as" in urlopen("https://MYWIRELESS.com/logon").read(): print "Already logged ...
I have a problem with my "b" letter in Python shell in OS X. I can't type "b", but "B" worked fine. How can I solve this issue? I have the same issue. This happens when you use the MacPorts version of Python in Snow Leopard. I don't see this issue in Apple's Python that comes with Mac OS X. So, the workaround should b...
I have been struggling to get the emailing to work in Django for logging as well as for 500 and 404 errors and for the life of me I cant get it to work. I have DEBUG=False and all the other settings. I have the below for the email settings: EMAIL_HOST = 'host' EMAIL_PORT = 587 EMAIL_HOST_USER = 'username' EMAIL_HOST_PA...
March 22nd, 2011 at 9:37 pm by Dr. Drang The most recent update to iTunes broke some of my BBC Radio 2 scripts, the AppleScript and Python scripts I use with AudioHijack Pro to automate the recording and iTunesifying of shows I like. The failures occurred in the parts of the scripts that add artwork to the saved shows....
I want to encrypt few files using python what is the best way I can use gpg/pgp using any standard/famous python libraries? It has a Python interface. Warning: it is a low-level interface, not very Pythonic. If you read French, see examples. Here is one, to check a signature: signed = core.Data(sys.stdin.read()) plain ...
About Python Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development, as well as for use as a scripting or glue language to conn...
If you are dealing with large areas on the map, you should set geometria = models.PolygonField(srid=4326, null=True, geography=True) As mentioned in geodjango's documentation https://docs.djangoproject.com/en/dev/ref/contrib/gis/model-api/#geography Geography Type In PostGIS 1.5, the geography type was introduced -- i...
DOM creation libraries JavaScript performance comparison Info Tests a number of ways of generating DOM. Preparation code <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"> </script> <script src="https://rawgithub.com/KoryNunn/crel/master/crel.js"> </script> <script src="https://rawgithub.co...
Possible Duplicate: How do you split a list into evenly sized chunks in Python? Let us have a list, there is always an even number of elements. We must break it down by pairing. Example: list['1','2','3','4'] need 1,2 and 3,4 Let us have a list, there is always an even number of elements. We must break it down by pairi...
Right now, in emacs' python-mode line continuations are aligned to the end of the previous line, as follows: this_is_a_list_of_django_urls = ('', url(r'^admin/?', include(admin.site.urls)), url(r'^polls/?', include('polls.urls')) ...
I would like to find a Python script that will access an attribute table within a shapefile and either update or replace records inside a field column. More specifically, I would like to use the replace expression to convert a table record like "123-456-789" to "123456789". I have many records to process and would like...
The Question is_match:(str, str) -> bool The first parameter is a puzzle and the second is a view. Return True iff the view could be a view of the given puzzle. My Answer I came up with this: def is_match(puzzle, view): if len(puzzle) != len(view): return False if len(puzzle) == len(view): retur...
Analysing recursive functions (or even evaulating them) is a nontrivial task. A (in my opinion) good introduction can be found in Don Knuths Concrete Mathematics. However, let's analyse these examples now: We define a function that gives us the time needed by a function. Let's say that t(n) denotes the time needed by p...
how do I print help info if no arguments are passed to python script? #!/usr/bin/env python import sys for arg in sys.argv: if arg == "do": do this if arg == "" print "usage is bla bla bla" what I'm missing is if arg == "" line that I don't know how to express :(
How can implement the equivalent of a __getattr__ on a class, on a module? Example When calling a function that does not exist in a module's statically defined attributes, I wish to create an instance of a class in that module, and invoke the method on it with the same name as failed in the attribute lookup on the modu...
ehmicky Stego++, projet de bibliothèque de stéganographie Salut à tous, [Message mis à jour 19/11/11] Je suis actuellement sur un projet de stéganographie (art de dissimuler un message secret dans "quelque chose" (fichier, phrase, etc.) d'apparence banal). Il s'agit de faire une bibliothèque C++, Stego++, qui permette ...
From the comments at the top: I need to know if the OS is (Open)SUSE so as to use the correct package installer (zypper). If it is DEBIAN (For Example), I will use apt-get... I suggest you directly solve the actual problem. Instead of identifying the OS, identify the package manager available. import os def file_exists...
I have this code from a tutorial: #File called test 1 def sanitize(time_string): 2 if '-' in time_string: 3 splitter = '-' 4 elif ':' in time_string: 5 splitter = ':' 6 else: 7 return(time_string) 8 (mins, secs) = time_string.split(splitter...
i have two model which are Post and Profile. i am keepin blog datas which are title,body,owner,slug etc in Post. and keepin' user profile settings which are slogan,email,website etc. in Profile in my index.html page i display user profile infos and post lists in same page. so ; i need to connect these two models each o...
I have a CSV file which is made of words in the first column. (1 word per row) I need to print a list of these words, i.e. CSV File: aandbecausehave Output wanted: "a","and","because","have" I am using python and so far I have the follwing code; text=open('/Users/jessieinchauspe/Dropbox/Smesh/TMT/zipf.csv') text1 = ''....
Python Scripts as a Replacement for Bash Utility Scripts To demonstrate the power of combining Python scripts in a modular andpiped fashion, let's expand further on the problem space. Let's findthe top five users of the service. head is a commandthat allows you tospecify a certain number of lines to display of the stan...
I use poster.streaminghttp method to upload large file to sharepoint server. My code is working fine for BASIC authentication. But for NTLM, it is not working. How to authenticate ntlm if i use poster. for large file, i should import os import sys import time import base64 import hmac import mimetyp...
Another strange thing - an endless paginator 21 Apr 2014 A little bit about my new program-frankenstein. Now it is an endless Paginator for Django. It sounds crazy, isn't? Standart Django Paginator uses the count() function for the verification of page number. It is converted to the SELECT COUNT(*) ... query, of course...
The goal is to get the array of family members made and print out the results in the order created. Is there any way to tidy this up :)? // Our Person constructor function Person(name,age) { this.name=name; this.age=age; } // Now we can make an array of people var family=new Array(); family[0]=new Person("alice...
galanga Re : Qarte arte.tv browser (ex Qarte+7) @Christophe: content de voir que cela a commencé à fonctionner... Pour le second cas qui fait une erreur, c'est parce qu'il manque un back slash sur le guillemets fermant de ...3789-visual-crop-medium.jpg ; essayez avec cela : items.append("<item>\n <title>Dominique ...
In a Python program I'm writing I've compared using a for loop and increment variables versus list comprehension with map(itemgetter) and len() when counting entries in dictionaries which are in a list. It takes the same time using a each method. Am I doing something wrong or is there a better approach? Here is a great...
ehmicky Stego++, projet de bibliothèque de stéganographie Salut à tous, [Message mis à jour 19/11/11] Je suis actuellement sur un projet de stéganographie (art de dissimuler un message secret dans "quelque chose" (fichier, phrase, etc.) d'apparence banal). Il s'agit de faire une bibliothèque C++, Stego++, qui permette ...
Zetsu15 Probléme Gnome Shell Extension Salut A Tous Je Suis Nouveau Sur Le Forum Mais Il Ya Longtemps Que Jai Débuter Avec Ubuntu Jai Installé La Version 11.10 Et Gnome 3.2, jai tout mis a jour, installé gnome tweak tool, les extensions de chez Web upd8, bref tout marché nickel jusqu'a ce que je redémarre ma machine, l...
When trying to upgrade to 13.04 from 12.10, I get the following error: Traceback (most recent call last): File "/usr/bin/do-release-upgrade", line 108, in <module> print(_("Checking for a new Ubuntu release")) UnicodeEncodeError: 'ascii' codec can't encode character '\xf3' in position 32: ordinal not in range(128...
I'm a complete Linux newbie. I've just upgraded from 10.04 to 12.04 LTS and all sorts of things have started to go wrong. One main problem is the fact that I can't add repos. Example: sudo add-apt-repository ppa:team-xbmc outputs: Traceback (most recent call last): File "/usr/bin/add-apt-repository", line 8, in <modu...
I'm trying to intercept calls to python's double underscore magic methods in new style classes. This is a trivial example but it show's the intent: class ShowMeList(object): def __init__(self, it): self._data = list(it) def __getattr__(self, name): attr = object.__getattribute__(self._data, name...
How can I print each individual element of a list on separate lines, with the line number of the element printed before the element? The list information will also be retrieved from a text file. So far I have, import sys with open(sys.argv[1], 'rt') as num: t = num.readlines() print("\n"[:-1].join(t)) Which cu...
I'm trying to setup the trac, this is the commands that I used: sudo apt-get install trac python-setuptools libapache2-mod-python enscript sudo mkdir /var/www/trac sudo trac-admin /var/www/trac/repos initenv but I'm getting the following error: File "/usr/local/bin/trac-admin", line 5, in <module> from pkg_resourc...
Since its inception eight years ago Jack Dorsey's Twitter has grown into one of the most popular websites on the internet. With over a billion registered users and an average of five hundred million tweets sent per day Twitter is creating incredible amounts of data. Many novel ideas have come out of the question of wha...
SQLAlchemy Although it sometimes might seem as if relational databases have gone the way of the dinosaur, making way for non-relational (NoSQL) databases, such as MongoDB and Cassandra, a very large number of systems still depend on a relational database. And, although there is no requirement that a relational database...
I'm trying to save comments from an iPhone app that may and nowadays most likely will include emoticons. No matter what I do, I can't save the emoticons to the MySQL database ... Constant Unicode errors. Python 2.6.5 Django 1.2.1 MySQL database (set to utf8 character set for tables and rows) Saving the data to a VARCHA...
I've read here that matplotlib is good at handling large data sets. I'm writing a data processing application and have embedded matplotlib plots into wx and have found matplotlib to be TERRIBLE at handling large amounts of data, both in terms of speed and in terms of memory. Does anyone know a way to speed up (reduce m...
Chris__ Re : gReemote, télécommande + prog TV pour Freebox HD Merci tocks. Je pense aussi que la meilleur des solutions serait de minimiser dans la zone de notif quand on ferme la fenêtre. Je vais regarder ça dès que j'aurai un peu de temps. Pour réduire la fenêtre j'ai peur que ca commence à compliquer pas mal l'appli...
I was wondering why this works: sys.path.append('/home/user/django') sys.path.append('/home/user/django/mysite') os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings' but this doesn't? sys.path.append('/home/user/django') os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings' I thought that adding the django fol...
I have written this program after a lot of effort, and I was wondering about the efficiency of that solution and if it's neat. How plain is this program and is there any better way to rewrite it? import string # Strength of operations: # -> [] (brackets) # 6 -> ~ (negative) # 5 -> @, $, & (average, maximum, minimum) ...
fgin Impossible définir les langues du système/ kcmshell4 language-selector Je viens d'installer 12.10, depuis le DVD d'install. Je veux installer le chinois, pour une utilisation dans toutes las applications. Ibus s'intalle sans problème, de meme que tous les packs de langue. MAIS, impossible de changer les langues du...
How do I remove leading and trailing whitespace from a string in Python? For example: " Hello " --> "Hello"" Hello" --> "Hello""Hello " --> "Hello""Bob has a cat" --> "Bob has a cat" Just one space, or all such spaces? If the second, then strings already have a >>> ' Hello '.strip() 'Hello' >>> ' Hello'.strip() 'Hello'...
Yesterday we released the latest unstable version of MongoDB; the headline feature is basic full-text search. You can read all about MongoDB's full text search in the release notes. This blog had been using a really terrible method for search, involving regular expressions, a full collection scan for every search, and ...
I am trying to reference a slice of a "global" numpy array via a object attribute. Here is what I think the class structure would be like and it's use case. import numpy class X: def __init__(self, parent): self.parent = parent self.pid = [0, 1, 2] def __getattr__(self, name): if name ==...
Sublime 中安裝 Evernote 外掛,支援 Markdown (Mac) Install Evernote Plugin in Sublime supported Markdown (Mac) 安裝 Evernote 外掛好處 可以直接存取 Evernote 記事,新增、儲存、開啟、更新,不需寫在本機 支援 Markdown (在Sublime寫Markdown格式,Evernote 呈現)(本文利用 Markdown 所寫,寫完後顯示在 Evernote,然後複製到此 Blog貼上) 安裝方法 (In Sublime) 1. 安裝 Package Control 到 Sublime Package Control 官網安...
So, I've been banging my head against the wall the last few days trying to figure out what's wrong with my script. It's suppose to pull weekly flu data from a department of health website, parse it for that week, and then push the data up to our SDE server so that it can be displayed on our Web Mapping application. The...
I get this error on Linux (Ubuntu and CentOS) when executing a stored proc from Perl/DBI/ODBC/FreeTDS to SQL Azure: [unixODBC][FreeTDS][SQL Server]Read from the server failed (SQL-08S01) I don't get this error running the same Perl script on Windows (ODBC/Native) connecting to the same SQL Azure database, and although...
luc765 Re : Synthèse vocale SVOX Pico Merci à frafra et tuxmuraille, pour votre travail. J'utilisais espeak avec mbrola, la qualité de SVOX est nettement meilleure J'ai installé gSpeech sur Lucid via la compilation pour SVOX. Tout est parfait. Dans l'utilisation est-il possible de modifier la vitesse de lecture par un ...
Python does not continue to replace the same line in the terminal, but it replaces "name" and adds the progress bar to a new line which results in a huge stack of progress bars...this only happens when I use "\n" before "name". How can I get the result to look like this? [### ] 4%name2 python mylist = ['name1', 'name2'...
I need the best way to inspect HTTP response headers with Selenium. I looked around the Selenium docs and didn't see any straightforward way to do it. Help is highly appreciated. I've answered this question a couple times on StackOverflow. Search my previous answers to dig it up. The key that you have to write some cus...
1. Issues Your code fails in the following corner cases: a and b on the same day, for example: >>> a = datetime(2012, 11, 22, 8) >>> a.weekday() 3 # Thursday >>> seconds_between(a, a + timedelta(seconds = 100)) 54100.0 # Expected 100 a or b at the weekend, for example: >>> a = datetime(2012, 11, 17, 8) >>>...
How do I create a GUID in Python that is platform independent? I hear there is a method using ActivePython on Windows but it's Windows only because it uses COM. Is there a method using plain Python? "The uuid module, in Python 2.5 and up, provides RFC compliant UUID generation. See the module docs and the RFC for detai...
toma222 [HOW TO] adesklets : installation sous Ubuntu Dapper et Edgy 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. Je poste ce sujet en complément du sujet sur l'installation de adesklets sous Breezy. Je ne reviendrais pas sur...
toto2849 Connexion VPN automatique (NetworkManager) Bonjour,:D -Actuellement en stage il met demandé de mettre en place une connexion VPN qui se lance automatiquement au démarrage du pc ne laissant juste à l'utilisateur une boite de dialogue demandant login+pass.:rolleyes: -J'ai déjà installé le plugin "network-manager...
Setting Up Your Own PyPi Server Ever had problems with PyPi being unreachable? Dislike dealing with requirement.txt files just to support a git repository? For a low low price of FREE, and an hour of labor, get your very own PyPi server and solve all of your worries! Set up Chishop We're going to jump right into this o...
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...
smo Re : Gmediafinder : Youtube/dailymotion/vimeo.. sans flash et bien plus.... ola ok cool je vais regarder ca apres, la j en fais un "normalement" c est un peu (beaucoup...) plus complique pour les ppa j vous tiens au jus ! et whoue si vous avez des idees, hesitez pas hein ... j aimerais bien avoir des visualisations...
Leenuks Impossible de faire apt-get update Bonjour à tous,:) Je suis debutant sous linux, je m'adresse donc à vous pour m'aider. En effet je souhaite utiliser ubuntu pour mettre en place Nagios (c'est mal partie !!):P J'aimerais utiliser la commande apt-get update mais elle me retourne un message d'erreur le voici : ro...
The common use case here is a user uploading a jpeg logo with a white/color background. It's (fairly) simple to switch the white pixels to transparent ones, but this leaves aliasing artifacts. An ideal solution would essentially "undo" the aliasing (given a known background color). At a minimum, the solution must beat ...
rezzakilla Re : [Info] Installation du driver Libre ATI Radeon Je dis ça comme ça...mais ça marche terrible sur ma 7500.....:D Hors ligne hugo69 Re : [Info] Installation du driver Libre ATI Radeon ton tuto est dans la doc officielle mais ca naide pas beaucoup ma 9700ATI Hercules à fonctionner correctement. Si je mets l...
(in case you're curious about motivation: this will be used in a scons build to generate a C file containing a GUID) I found the question about generating a GUID in python. But I don't really know much about programming python. Could someone help me convert this to a string of the form "{0x**, 0x**, 0x**, 0x**, 0x**, 0...
The standard approach for using variable values in SQLite queries is the "question mark style", like this: import sqlite3 with sqlite3.connect(":memory:") as connection: connection.execute("CREATE TABLE foo(bar)") connection.execute("INSERT INTO foo(bar) VALUES (?)", ("cow",)) print(list(connection.execute(...
I'm fairly new to python, so I apologize in advance if this is something simple I'm missing. I'm trying to post data to a multipart form in python. The script runs, but it won't post. I'm not sure what I'm doing wrong. import urllib, urllib2 from poster.encode import multipart_encode from poster.streaminghttp import re...
I've bought a new laptop (dell inspiron 15 3521) with windows 8. Since I mainly use linux I removed the 7 partitions windows 8 apparently needed and made 4 partitions using a pmagic live usb (windows 80 gb, linux 80 gb, data 150 gb, swap 8 gb) and since I had some problems with getting it to boot from a dvd I installed...
Rport is an R package that greatly facilitates common tasks found in many R Business Intelligence apps. It bridges R and SQL analytics similarly to how Rails bridges Ruby and Web Development. Introduction Handling multiple database connections within one R session Caching results from long SQL statements in development...