Skip to main content

BedroomLAN

Tilde~A: Alexios' Homepage

Search form

Primary navigation

  • Home
  • Projects
  • Coding
  • Writing
  • Hardware
  • Research
  • Miscellany
  • Tools and Toys

You are here

Home » Coding

Coding

These pages describe things I've done which primarily involve coding. Some of these may be useful. Currently, we have hacks, mini-projects, and recipes. I also maintain a page of my Projects.


Comments

Trackback: six pack shortcut

Submitted by Blog: six pack ... (not verified) on Thursday, 2013-05-02 — 15:16

Trackback from http://searchengineoptimizationdiva.com.Coding | BedroomLAN


Recent Ones

Pascal's Triangle in Python

Created Wednesday, 2011-04-06 — 13:48. Last update 5 days ago.
You need to generate Pascal's Triangle in Python, and you're lazy (an admirable trait). Alternatively, you're looking for a Pascal's Triangle generator that can show really high-ranking rows, ones with multi-hundred-digit (or multi-million-digit) coefficients. ==Solution (pre Python 3)== Here's the essential, unadorned code: def pascal(n): """ Yield up to row ``n`` of Pascal's triangle, one row at…
  • maths
  • python
  • recipes

Detecting ‘Idle’ and ‘Away’ Timeouts in Javascript

Created Tuesday, 2011-04-05 — 22:03. Last update 6 days ago.
A short Javascript program to improve detection of users idling or away from their keyboards, which should in turn improve how online users are detected. The file works with both jQuery and Prototype. It autodetects which is available at load time. Putting an AJAX request in one of the handlers can notify the back-end about the online state of a…
  • javascript
  • jquery
  • prototype
  • recipes

USBTouchScreen Patch

Created Friday, 2011-05-13 — 11:49. Last update 3 weeks ago.
This is a patch adding some extra functionality to the Linux USB touchscreen driver. It adds features useful in developing and testing applications on touch-screens, as well as the ability to reverse the x and/or y axes — not every tablet out there defines its axes the same way. Installation Download this patch and then run the usual: cd /usr/src/linux-kernel patch
  • hacks
  • linux
  • patches

Pascal's Triangle for LaTeX

Created Wednesday, 2011-04-06 — 13:32. Last update 1 month ago.
You need to display Pascal's Triangle in a LaTeX document and whenever you hear ‘ampersand’ or ‘smallskip’, you go into a homicidal rage, leaving behind you a trail of viscera and blood-stained Lion Book pages. Also, you're lazy. Put that chainsaw down, this recipe is for you. Although, really, with that kind of reaction to ampersands, what are you doing…
  • latex
  • maths
  • python
  • recipes

Flatten a Directory Structure

Created Wednesday, 2011-04-06 — 13:28. Last update 2 months ago.
You have a deep directory tree of files, and you need to flatten it into a single directory, so that there are no files in subdirectories, and all the files are in the same place. all the filenames are unique. If they're not, some will get overwritten (using the cp command), or not linked (using the ln command). ==Solution== cd $ROOT_DIRECTORY_OF_TREE find . -type…
  • recipes
  • unix

Pages

  • 1
  • 2
  • 3
  • 4
  • next ›
  • last »

Here's What We Have

  • Home
    • Curriculum Vitæ
  • Projects
    • ansi2img: ANSI Rasteriser
    • Acrobase BBS Client
    • DungeonMaker
    • DungeonSpawn
    • Python-Dungeonspawn
    • Extension:Embargo
    • libastar
    • ttyconv
    • evrouter
    • lmctl
    • RSAR
    • Kareltima
    • PalmOS Apps
    • RGA: The Roguelike Graphics Adapter
    • ROMtools
    • evrouter 2
    • mcasm
    • Ένα καλύτερο ελληνικό πληκτρολόγιο για Windows
  • Coding
    • Linux RAID One-Liners
    • APT Archive Cleanup
    • DLT Labels
    • Amanda DLT Tape Label
    • Amanda 8mm Tape Label
    • S2 Moon Phase
    • JavaScript Timeout
    • Duotone
    • Full Frame
    • Photo Frame
    • Renaming MP3s
    • USBTouchScreen Patch
    • Cleaning Up APT Caches
    • Pascal's Triangle in Python
    • Pascal's Triangle for LaTeX
    • Flatten a Directory Structure
    • Too Many Unknown PCI Devices
    • Signature Befunge
    • Soup!
    • Data Recovery... Not
    • Incremental MySQL Maintenance Script
  • Writing
    • Ελληνική Πληκτρολόγηση
    • Η χρήση των δϊαλϋτϊκών
    • Guide to Greek Sexuality
    • How Many Poly People…?
    • 50­— εμ, 15 τρόποι
    • Ε.Α.Π.Κ.
    • Ε.Α.Π.Κ. (LGU Edition)
    • Acrobase BBS FAQ
      • Τι είναι η Acrobase
      • Τεχνικά ζητήματα
      • Περίεργα, παράπονα κλπ
      • Ακροβασιανοί: έργα και ημέρες
      • Προνόμια
      • Διάφορα
      • Ορολογία
    • Oric C Programming
      • Introduction
      • Using the Compiler
      • Simple Data Types and Variables
      • Expressions
      • Operators
        • Arithmetic Operators
        • Conditions, Comparisons and Logic
        • Bitwise Operators
        • The Strange Ones
      • Operator Precedence
      • Statements
        • Special Statements
        • Branching
        • Loops
      • Intermission
      • Functions
      • Iteration vs. Recursion
      • Data Structures
        • Arrays
        • Strings
        • Inner Sanctum
        • Composite Data Structures
        • Enumerated Types
        • Name It!
        • Unions
    • Blood 'n' Iron Rulebook
    • Barcodes και 666
    • Emacs in Greek
  • Hardware
    • Fungus
      • Introduction
      • Design Aims
      • Data Path
      • Programming Model
      • CPU Architecture
      • Instruction Set
      • Instruction Reference
        • Arithmetic/Logic Binary Operations
        • Arithmetic/Logic Unary Operations
        • Literals
        • Memory Input/Output
        • Flow Control
    • Sun Monitors on PCs
    • Sun keyboards on USB
    • The Oric IDE Interface
    • An Unusual Apple II Joystick
    • Flash Programmer
    • The CFT Mini Computer
      • CFT Running on your Browser
      • CFT Poster/Infographic
      • Never Asked Questions
      • CFT Project Log
        • Control Unit rev D routed
        • Emulator Back in Working Order
        • Whoops! Major Revision
        • Major Register Board Routed
        • Front Panel Draft
        • CFT Assembly Examples
        • Front Panel Schematic
        • Front Panel Operations Guide, Rev A
        • Front Panel Controller Board
        • The Switch to SMD
        • A Long-Overdue Update: Kitchen Sink Edition
        • VDU card: the plot thickens
        • Front Panel Revision 4
        • New Clock Generator
        • Completion of Clock Conversion. And an Audio Device!
        • That Damned Debugging Card
        • The Calm Before the Storm?
        • Construction Time (Not Again)
        • First setback
        • Digital Storage Oscilloscope
        • Interesting Realisations
        • Dem VDU Timing Blues
  • Research
    • A Genetic Algorithm Based Information Filter for Usenet
    • Publications
    • A Rough Set Approach to Text Classification
  • Miscellany
    • Acrobase Logo
    • Celtic Knotwork
    • Menasat Font
    • Obscure Greek Political Parties
    • The Oric Logo in Vector Format
  • Tools and Toys
    • Polyamory Graph Explorer
    • ANSI-to-PNG
    • Befunge '93 Playground
    • DLT Label Creator

Photos on Flickr

Elati Moss
13

Here

  • BedroomLAN Debian Repository
  • Downloads
  • Debian Packages
  • The Oric Software Page
  • My GnuPG public key

Find me on...

  • Google+
  • Flickr
  • Linked In
  • Twitter
  • Diaspora*
  • Stack Exchange

Other Places

  • Civic

Unless otherwise stated, all content on this page is Copyright © 1994–2013 Alexios Chouchoulas. All rights are reserved. Trademarks and copyrights belonging to third parties mentioned above are all acknowledged. Any opinions inadvertently expressed are mine! All mine! Mwahahahahaha!

Όλο το υλικό του ιστοτόπου (sic) είναι πρωτότυπο. Copyright © 1994–2013 Alexios Chouchoulas. Απαγορεύεται η αναδημοσίευση χωρίς την άδεια του συγγραφέα, ο οποίος θα χαρεί να τη δώσει αν κάποιος (επιτέλους) του τη ζητήσει.