In the Example is /dev/sdb the unmounted usb stick.
$ dd if=debian-testing-i386-netinst.iso of=/dev/sdb
516096+0 records in
516096+0 records out
264241152 bytes (264 MB) copied, 92.3948 s, 2.9 MB/s
| #!/usr/bin/env bash | |
| USAGE="$0 <arg1>" | |
| if [ $# -eq 0 ] ; then | |
| echo $USAGE | |
| exit 1 | |
| fi | |
| "use strict"; | |
| function trace(s) { | |
| if (typeof console != "undefined") {console.log(s);} | |
| } | |
| var TerminalHistory = function () { | |
| this.cmd = []; | |
| this.cmdIndex = 0; |
| #include <gtk/gtk.h> | |
| #include <gdk/gdkkeysyms.h> | |
| static gboolean button_pressed (GtkWidget*, GdkEventButton*, GArray*); | |
| static gboolean motion_notify (GtkWidget*, GdkEventMotion*, GPtrArray*); | |
| static gboolean key_pressed (GtkWidget*, GdkEventKey*, GPtrArray*); | |
| static gboolean expose_event (GtkWidget*, GdkEventExpose*, GArray*); | |
| static gboolean ui_draw_grid (GtkWidget *area); | |
| static gboolean ui_draw_boxes (GtkWidget *area); | |
| static gboolean ui_redraw (GtkWidget *area, GArray *steparray); |
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| remd - remember days and get a mail notification. | |
| contacts.db assumed to be in same directory. | |
| Copyright (C) 2013 pce | |
| # Cronjob everyday at 0'o clock | |
| # crontab -e |
| # ~/.bashrc: executed by bash(1) for non-login shells. | |
| export PS1='\h:\w\$ ' | |
| umask 022 | |
| # colors | |
| export LS_OPTIONS='--color=auto' | |
| eval "`dircolors`" | |
| alias ls='ls $LS_OPTIONS' | |
| # alias ll='ls $LS_OPTIONS -l' |
| #!/bin/bash | |
| # . .:free space checker:. | |
| # -o- | |
| # ' .-. . | |
| # __/ @_\_ . * -o- | |
| # (________) ' | |
| # | |
| # * | | |
| # . --o-- |
| # added "-J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=lcd" | |
| netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true -J-Dsun.zip.disableMemoryMapping=true -J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=lcd" | |
| #!/bin/bash | |
| # TODO use $TLD to build a regex for egrep and strlen of head | |
| TLD=to | |
| for domain in $(aspell -l en dump master | egrep '^\w{3,5}to$') | |
| do | |
| domain=$(echo $domain | head -c-3).$TLD | |
| echo $domain | |
| whois $domain | grep "Status: free" >/dev/null && echo "the domain $domain seems available" |
| #!/bin/env ruby | |
| def euclid(m, k) | |
| if k==0 | |
| return m | |
| else | |
| return euclid(k, m%k) | |
| end | |
| end |