Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
(TLDR: https://github.com/dbrgn/heroku-buildpack-python-sklearn) Background At Webrepublic we just launched a Python based system that among other things does comparison of large texts using tf-idf vectors in a multi-dimensional vector space and measuring…
-
(In case you're not familiar with it yet, Jedi is an awesome autocompletion library for Python that tries to understand your code.
-
Most nginx / php-fpm tutorials you'll find nowadays recommend to create an nginx upstream configuration that listens on localhost port 9000. upstream php { server 127.0.0.1:9000; } If you're using a current version of Debian and php5-fpm from dotdeb,…
-
If you're looking for a simple frontend to iptables, you might want to take a look at ufw. ufw stands for Uncomplicated Firewall and has been developed for Ubuntu Server, to simplify the firewall management process.
-
Until now, if you wanted to use enumeration types in Python you had to fall back to a class-attribute approach: >>> class Color(object): ...
-
In the past, if you wanted to review your installed pip packages to see if there are updates available, you either had to use tools like pip-tools or check all of them manually.
-
If you want to test Dajaxice views from the Django test client, this might be your first approach: url = '/dajaxice/apps.front.add_vote/' data = {'vote': 'yes', 'primary_key': '1'} response = self.client.post(url, data=data) This doesn't work for several…
-
At HSR, I'm currently enrolled in a course about neural networks and machine learning.
-
Most JavaScript frameworks set the X-Requested-With HTTP Header to XMLHttpRequest when sending non-cross-domain XHR requests.
-
This week, I held a short introductory presentation about git at Webrepublic.
-
Sometimes I want an easy way to cut off some parts of a video.
-
Each time I start my X session, the desktop wallpaper is set in the .xinitrc script.
-
Update 2014-08-21: The vim packages in Arch Linux have been reorganized: https://www.archlinux.org/news/reorganization-of-vim-packages/.
-
I was searching for a nice virtualenv quickstart guide today, but couldn't find one that I liked.
-
I'm running a Debian Squeeze box with Redmine 1.1.2, Apache and Passenger.
-
Found in #django on freenode, Jul 12, 2012.
-
Sometimes you might get to the point where you accidentally faked all South migrations for a specific app using the ‑‑fake option, but the database is missing the last change.
-
Today I had to connect to a MSSQL database from a Linux box.
-
Since having switched from the PHP world to the Python world about 2 years ago, I thought about relaunching my Blog using Python instead of PHP.
-
This is a howto to install Redmine on Ubuntu Natty (probably works on Debian too) with Nginx, Mongrel and Supervisord.
-
Um Soundcloud-Songs direkt in ein phpBB Forum einzubinden, einfach folgenden BB-Code im Backend erstellen: Benutzung [Soundcloud]{URL}[/Soundcloud] HTML Ersetzung <object height="81" width="100%"> <param name="movie" value="http://player.soundcloud.com/p…
-
As many other dwm users do, I customized my .xinitrc file and the dwm status bar in to display some useful information.
-
Unfortunately, the django-sphinx module is not very thoroughly documented.
-
Today I was looking for a nice graphical on/off switch to replace checkboxes on a webpage I'm working on.
-
Sometimes you want to validate only parts of a Django form.
-
I always keep an irssi session open inside a screen session on my server via ssh.
-
After all the buzz around Google+, one of its competitors, Diaspora (free and open source) was almost forgotten.
-
If you have ever wanted to know the storage engine type of every table in one of your MySQL databases, you know how tedious that can be.
-
Hier ein paar der Aprilscherze 2011: DayDeal: DIY Lego-Haus (screenshot) XKCD: Alle Comics in 3D mit Parallaxscrolling (screenshot) OMG!
-
How to install Eclipse and the Android Developer Tools under ArchLinux x64: sudo pacman -S eclipse yaourt -S android-sdk eclipse-android sudo usermod --groups android <user> Log out and back in (to update your permissions) Open Eclipse, select Window > Pr…
-
I just received a pretty dang awesome confirmation-email for a CD order at CD Baby, a great indie music onlineshop/label: Thanks for your order with CD Baby!
-
Today I created a simple LaTeX Makefile based on this tutorial.
-
Film Heute erst entdeckt: Der Bloggerfilm.
-
I recently found a great documentary on Vimeo about the Arduino project.
-
This how-to will enable you to print and scan with a Brother DCP-7010 printer under Arch Linux.
-
To update a file type (or rather a mime type) association under Linux, you can use the xdg-mime command. $ xdg-mime default desktop-file mimetype E.g. to open pdf files with evince, issue $ xdg-mime default evince.desktop application/pdf
-
If you want to use Python's easy_install, you need to install an additional package.
-
Some useful tips for using the dwm window manager on Ubuntu: GDM / Booting To disable the automatic start of gdm, add "text" to the GRUB_CMDLINE_LINUX_DEFAULT-line in /etc/defaults/grub.
-
I love slock, a simple screenlocker written for dwm, but I was missing some logging functionality.
-
How to add fingerprint reader support to your Ubuntu installation (yes, it does work): Add fingerprint-gui ppa to your sources: $ sudo add-apt-repository ppa:fingerprint/fingerprint-gui $ sudo apt-get update Install fingerprint-gui $ sudo apt-get install…
-
With the "Jailbreak" for the Kindle 3, you also have the possibility to exchange the default "screensaver" images provided by Amazon.
-
Today I gave some thoughts to what distinguishes a good software project website from a bad software project website (especially for open source projects).
-
Ein sehr interessantes und super gemachtes Video zum Thema "Medienwandel in der Schweiz": Genau aus jenen Gründen sollte auch in der Politik ein Umdenken stattfinden - die heutige Generation lebt genauso in der Digitalen welt, wie auch in der Realen.
-
Hier die Fortsetzung der Serie...
-
The MPX project is a Xorg extension to allow several mouse pointers and keyboards in an X session to be used at the same time.
-
To create 30-second sound samples (e.g. for audio previews of songs) from existing tracks on GNU/Linux, you can use SoX.
-
My solution to stop wordpress comment spam is a combination of three Wordpress plugins: Akismet has protected your site from 11,247 spam comments already, but there's nothing in your spam queue at the moment.
-
To change MySQL table column encoding: ALTER TABLE artists CHANGE [fieldname] [fieldname] [fieldtype] CHARACTER SET [encoding] COLLATE [collation]; To change table encoding: ALTER TABLE [tablename] CONVERT TO CHARACTER SET [encoding] COLLATE [collation];
-
If you accidentally deleted one of your Ubuntu user directories (like Desktop, Music, Pictures, Templates etc), you can fix them by editing the file ~/.config/user-dirs.dirs. # This file is written by xdg-user-dirs-update # If you want to change or add di…
-
After upgrading to Ubuntu Lucid, I didn't like some aspects of the new theme (Ambiance).