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

SSH Filesystem This is a filesystem client based on the SSH File Transfer Protocol. Since most SSH servers already support this protocol it is very easy to set up: i.e. on the server side there's nothing to do. On the client side mounting the filesystem is as easy as logging into the server with ssh. The idea of sshfs was taken from the SSHFS filesystem distributed with LUFS, which I found very useful. Based on FUSE (the best userspace filesystem framework for linux ;-) Multithreading: more than one request can be on it's way to the server Allowing large reads (max 64k) Caching directory contents Once sshfs is installed (see next section) running it is very simple: Note, that it's recommended to run it as user, not as root. To unmount the filesystem: First you need to download FUSE 2.2 or later from And you are ready to go. Send bug reports to Good luck! Miklos Szeredi Hosted at:

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.

Sed - An Introduction and Tutorial Your browser does not have Javascript enabled. I use Javascript for analytics, and to show ads which pay for the maintenance Last modified: Thu Apr 23 16:37:48 EDT 2015 Quick Links Table of Contents Note - You can click on the table of contents sections to jump to that section. Then click on the section header of any section to jump back to the table of contents. Copyright 1994, 1995 Bruce Barnett and General Electric Company Copyright 2001,2005,2007,2011,2013 Bruce Barnett All rights reserved You are allowed to print copies of this tutorial for your personal use, and link to this page, but you are not allowed to make electronic copies, or redistribute this tutorial in any form without permission. Original version written in 1994 and published in the Sun Observer Introduction to Sed How to use sed, a special editor for modifying files automatically. There are a few programs that are the real workhorse in the UNIX toolbox. The Awful Truth about sed Sed is the ultimate stream editor. Do not fret! or .

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

meskyanichi/backup 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.

Bootchart How to Migrate to Open Source Software: Step-by-Step Instructions Edit Edited by Nivash Kumar, Krystle, Lewis Collard, Kals and 31 others Years ago, there was a vigorous debate about whether open source software (also known as Free (as in speech) Software , software libre and freedomware) could ever compete with proprietary software. Usability, the traditional handicap of open source, is a problem that is gradually being solved. Migrating to open source is not difficult; much open source software is available on Windows, so you won't have to switch to Linux if you don't want to. Edit Steps 1 Try out OpenOffice .org or LibreOffice , which is an open source office suite, available for many platforms (including Windows). If you are after an FTP client, FireFTP (a Firefox add-on) will do the trick within your browser; FileZilla is a cross-platform FTP client with many features. 1 Use the GIMP (GNU Image Manipulation Program) which is a free alternative to costly raster image processing and editing programs . Edit Tips Edit Warnings Edit Things You'll Need

Entity Framework Development Workflows Video Entity Framework Development Workflows Find out about the different ways you can use Entity Framework to access a relational database from your .NET application. About This VideoFind out about the different ways you can use Entity Framework to access a relational database from your .NET application. Presented By: Rowan Miller Downloads Video: WMV | MP4 | WMV (ZIP)