background preloader

FUSE: Filesystem in Userspace

FUSE: Filesystem in Userspace
Related:  User interface design

Deploying a Django App on Dokku - Guest post written by Michael Herman, hacker at and co-founder of Real Python, about deploying a Django app on Dokku. What is Dokku? A few days ago I was pointed towards the project Dokku. Dokku is a "Docker powered mini-Heroku" that you can deploy on your own server to serve as your own private PaaS. Why would you want your own mini-Heroku? Dokku ties Docker together with Gitrecieve and Buildstep into one package that is easily deployed, forked/hacked, and updated. What You Need To Get Started You could use anything from AWS to a computer on your own private network. The requirements for hosting Dokku are simple: Ubuntu 13.04 x64SSH Capabilities, andJeff suggests having a domain name on hand so it's easy to point to your apps. First, I signed up for an account on DigitalOcean. Next, I created my first "droplet" (spun up a node) by clicking "Create Droplet". Installing Dokku Now that our host is all set up it's time to install and configure Dokku. For example, I used: Finally, PUSH to:

Ureadahead Ureadahead (Über-readahead) is used to speed up the boot process. It works by reading all the files required during boot and makes pack files for quicker access, then during boot reads these files in advance, thus minimizes the access times for the harddrives. It's intended to replace sreadahead. Requirements Ureadahead needs a kernel patch to work, which is no longer available on the AUR. The user-space package is called ureadahead. How it works When run without any arguments, ureadahead checks for pack files in /var/lib/ureadahead, and if none are found or if the packfiles are older than a month, it starts tracing the boot process. Otherwise, if the file is up to date, it just reads the pack file in preparation for the boot. It works for both SSDs and traditional harddrives and automatically optimizes the pack files depending on which you have. Using ureadahead First you need the patched kernel. ureadahead() { /sbin/ureadahead --timeout=240 & } add_hook sysinit_end ureadahead Configuration

Knopper.Net Consulting ELF STATIFIER MAIN PAGE Working with Schema Names in Entity Framework Code-First Design | Entity Framework content from Dev Pro Related: "Improve Performance with Entity Framework 5" and "Thoughts on Microsoft's Entity Framework." In my last column about Entity Framework's code-first design feature, I explained to readers about my session at PASS Summit 2011. One of the questions I didn't have time to explore in my session is how you can work with database schema names other than being the database owner (DBO). On one hand, the options aren't very obvious, but on the other it's a capability that would be hard to imagine the Entity Framework developers overlooking. Fortunately this capability wasn't overlooked, and after you see how the basic feature works, schema names become pretty easy to work with. I'll use the same sample application from last month's column, Ordering.sln, which is a simple ordering system with Customer, Address, and Order entities. Figure 2: Database Schema in SQL Server Management Studio Figure 4: Updated Database Schema So far, so great. Voilà! Figure 5: Final Schema

protobuf - Protocol Buffers - Google's data interchange format What is it? Protocol Buffers are a way of encoding structured data in an efficient yet extensible format. Google uses Protocol Buffers for almost all of its internal RPC protocols and file formats. Latest Updates Documentation Read the documentation. Discussion Visit the discussion group. Quick Example You write a .proto file like this: message Person { required int32 id = 1; required string name = 2; optional string email = 3;} Then you compile it with protoc, the protocol buffer compiler, to produce code in C++, Java, or Python. Then, if you are using C++, you use that code like this: Person person;person.set_id(123);person.set_name("Bob");person.set_email(""); fstream out("person.pb", ios::out | ios::binary | ios::trunc);person.SerializeToOstream(&out);out.close(); Or like this: Person person;fstream in("person.pb", ios::in | ios::binary);if (! For a more complete example, see the tutorials.

How To install wine on knoppix: xplay tutorial What are we trying to do here? The goal of this tutorial is to get XMPlay up and running using WINE under Linux. I'm using Ubuntu 6.10 "Edgy Eft" and WINE 0.9.30 for now and had some success getting XMPlay to play music. If you know any tweaks that make XMPlay run more stable under WINE, let me know! What you will need Admin rightsWINEa copy of XMPlaybasic knowledge on terminal usage Getting started Get your music from your Windows hard disk - mount a NTFS drive If you came from WinXP, you probably have your music on a NTFS-formatted HD. Open a terminal and type fdisk -l to find your Windows partition. sudo mkdir /mnt/c Then mount your NTFS partition in read-only mode to the directory you just created, like so: sudo mount /dev/hda1 /mnt/c/ -t ntfs -o nls=utf8,umask=0222 Now, you can access your files on your NTFS Windows partition via your Linux file manager (e.g. Automatic mounting You can also let Ubuntu do the mounting automatically at startup - open another terminal and type: Configuring WINE

How do I set up hugepages in Red Hat Enterprise Linux 4? by The editorial team Contributed by Michael Kearey Release Found: Red Hat Enterprise Linux 4 Resolution: Hugepages can be allocated using the /proc/sys/vm/nr_hugepages entry, or by using the sysctl command. To view the current setting using the /proc entry: # cat /proc/sys/vm/nr_hugepages 0 To view the current setting using the sysctl command: # sysctl vm.nr_hugepages vm.nr_hugepages = 0 To set the number of huge pages using /proc entry: # echo 5 > /proc/sys/vm/nr_hugepages To set the number of hugepages using sysctl : # sysctl -w vm.nr_hugepages=5 vm.nr_hugepages = 5 It may be necessary to reboot to be able to allocate all the hugepages that is needed. It is recommended that the /etc/sysctl.conf file should be used to allocate hugepages at boot time. vm.nr_hugepages = 5 Red Hat’s customer service and support teams receive technical support questions from users all over the world.

Create web forms and calculators for ASP.NET from Excel-SpreadsheetConverter Create calculating and good-looking web pages and web forms in minutes using Microsoft Excel. Convert to ASP.NET or classic ASP format with SpreadsheetConverter. Receive submitted forms directly in your Inbox. Let a business expert create a calculator or web form as an Excel spreadsheet including all necessary formulas. Either use the page as it is or open it in Visual Studio for further processing. While the user moves on to edit the next field in the form, the server dynamically instructs the browser to update any fields or charts that were affected by the previous data entry. See examples of what SpreadsheetConverter can do for you. Free offer: Send us a spreadsheet and we’ll send it back as a web page. It’s so easy, you can do it yourself! SpreadsheetConverter ASP.NET lets you connect your website to internal IT resources behind the firewall. A time-saving calculator makes your web site stand out from the competition. Example: Simple home loan calculator with slider and live chart

e4rat e4rat (ext4 – reduced access time) est un outil permettant d’accélérer le démarrage de votre distribution Ubuntu en déplaçant certains fichiers de démarrage en début du disque dur réduisant considérablement le temps de démarrage. C'est donc une alternative à ureadahead utilisé par défaut par Ubuntu. Attention, cet outil n'est pas officiellement supporté par Ubuntu et modifie en profondeur votre système: utilisez-le à vos risques et périls. Pour configurer e4rat, il vous faut redémarrer votre ordinateur et lorsque le menu de grub-pc apparaît, appuyez sur la touche “e” pour l'éditer. À la fin de la ligne kernel /vmlinuz26 root=/dev/disk/by-uuid/… ou de la ligne linux /boot/vmlinuz-… ajoutez ceci: init=/sbin/e4rat-collect et appuyez sur <Ctrl> + <X> pour lancer Ubuntu avec la nouvelle option. Une fois dans votre session et pendant 2 minutes, e4rat va collecter et enregistrer dans le fichier /var/lib/e4rat/startup.log tout ce que vous faites comme lancer Firefox, Thunderbird, … single

Download Download the Kubuntu installer to create your own installation medium. The download process can take a while, depending on your connection speed. You can download Kubuntu in many ways. Choose the one that suits you the most. Kubuntu 13.10 Release Announcement. Download Kubuntu DVD and USB stick images. Upgrade Kubuntu 13.04 to 13.10 if you are already running the previous release. BitTorrent is a peer-to-peer download network that sometimes allows higher download speeds and provides more reliable downloads of large files. Kubuntu can be installed from a recordable DVD or from an USB stick. MD5 Sums Before writing an image to DVD or USB drive, it is highly recommended that you verify the MD5 sum (hash) of the ISO file. cf667b29e8d97d61709f1d5745675221 kubuntu-13.10-desktop-amd64.iso 28ac3506ce4cfb1dabcc4ae23f9a534b kubuntu-13.10-desktop-i386.iso Kubuntu 12.04 Release Announcement. Alternate CD Also available is the alternate CD. Kubuntu is also available for download in a DVD. About the DVD

Getting Started This tutorial will teach you the basics of building an ASP.NET MVC 5 web app using Visual Studio 2013. Download the completed project. This tutorial was written by Scott Guthrie (twitter@scottgu ), Scott Hanselman (twitter: @shanselman ), and Rick Anderson ( @RickAndMSFT ) You need an Azure account to deploy this app to Azure: You can open an Azure account for free - You get credits you can use to try out paid Azure services, and even after they're used up you can keep the account and use free Azure services.You can activate MSDN subscriber benefits - Your MSDN subscription gives you credits every month that you can use for paid Azure services. Getting Started Start by installing and running Visual Studio Express 2013 for Web or Visual Studio 2013. Visual Studio is an IDE, or integrated development environment. Creating Your First Application Click New Project, then select Visual C# on the left, then Web and then select ASP.NET Web Application. Click F5 to start debugging.