← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 148
  1. (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…

  2. (In case you're not familiar with it yet, Jedi is an awesome autocompletion library for Python that tries to understand your code.

  3. 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,…

  4. 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.

  5. Enums in Python

    Until now, if you wanted to use enumeration types in Python you had to fall back to a class-attribute approach: >>> class Color(object): ...

  6. 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.

  7. 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…

  8. At HSR, I'm currently enrolled in a course about neural networks and machine learning.

  9. d3.js and X-Requested-With

    Most JavaScript frameworks set the X-Requested-With HTTP Header to XMLHttpRequest when sending non-cross-domain XHR requests.

  10. This week, I held a short introductory presentation about git at Webrepublic.

  11. Sometimes I want an easy way to cut off some parts of a video.

  12. Each time I start my X session, the desktop wallpaper is set in the .xinitrc script.

  13. Update 2014-08-21: The vim packages in Arch Linux have been reorganized: https://www.archlinux.org/news/reorganization-of-vim-packages/.

  14. Virtualenv Quickstart Guide

    I was searching for a nice virtualenv quickstart guide today, but couldn't find one that I liked.

  15. I'm running a Debian Squeeze box with Redmine 1.1.2, Apache and Passenger.

  16. Mail Loop From Hell

    Found in #django on freenode, Jul 12, 2012.

  17. 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.

  18. Using tsql

    Today I had to connect to a MSSQL database from a Linux box.

  19. 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.

  20. This is a howto to install Redmine on Ubuntu Natty (probably works on Debian too) with Nginx, Mongrel and Supervisord.

  21. 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…

  22. As many other dwm users do, I customized my .xinitrc file and the dwm status bar in to display some useful information.

  23. django-sphinx sorting

    Unfortunately, the django-sphinx module is not very thoroughly documented.

  24. jQuery On-Off Toggle/Switch

    Today I was looking for a nice graphical on/off switch to replace checkboxes on a webpage I'm working on.

  25. Sometimes you want to validate only parts of a Django form.

  26. I always keep an irssi session open inside a screen session on my server via ssh.

  27. After all the buzz around Google+, one of its competitors, Diaspora (free and open source) was almost forgotten.

  28. Show MySQL Storage Engines

    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.

  29. 1. April 2011

    Hier ein paar der Aprilscherze 2011: DayDeal: DIY Lego-Haus (screenshot) XKCD: Alle Comics in 3D mit Parallaxscrolling (screenshot) OMG!

  30. 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…

  31. 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!

  32. A simple LaTeX Makefile

    Today I created a simple LaTeX Makefile based on this tutorial.

  33. Film Heute erst entdeckt: Der Bloggerfilm.

  34. Arduino Documentary

    I recently found a great documentary on Vimeo about the Arduino project.

  35. This how-to will enable you to print and scan with a Brother DCP-7010 printer under Arch Linux.

  36. 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

  37. If you want to use Python's easy_install, you need to install an additional package.

  38. 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.

  39. Slock Logging Patch

    I love slock, a simple screenlocker written for dwm, but I was missing some logging functionality.

  40. 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…

  41. With the "Jailbreak" for the Kindle 3, you also have the possibility to exchange the default "screensaver" images provided by Amazon.

  42. Today I gave some thoughts to what distinguishes a good software project website from a bad software project website (especially for open source projects).

  43. Medienwandel in der Schweiz

    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.

  44. Vimeo Picks 2

    Hier die Fortsetzung der Serie...

  45. 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.

  46. To create 30-second sound samples (e.g. for audio previews of songs) from existing tracks on GNU/Linux, you can use SoX.

  47. 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.

  48. 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];

  49. 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…

  50. Ubuntu Lucid - fix theme

    After upgrading to Ubuntu Lucid, I didn't like some aspects of the new theme (Ambiance).