This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grep -i -e "could not" -e "cannot" sfclog.txt | \ | |
awk -F ';' '{ print $1; }' | awk -F "??" '{ print $3; }' | \ | |
sed -e 's/^\\//' -e 's/"\\\[.*\]"/\\/g' -e 's/"$//' | sort | uniq | \ | |
tee -a ./win7sysfiles/FILELIST.TXT | \ | |
sed -e '/^$/d' -e 's/\\/\//g' -e 's/^C:\(.*\)$/\/media\/wsystem\1/' \ | |
-e 's/\([ ()]\)/\\\1/g' | \ | |
while read i ; do if [ -f "$i" ] ; then STATUS="ERROR" ; \ | |
cp "$i" ./win7sysfiles/ && STATUS="COPIED" ; else STATUS="MISSING" ; fi ; \ | |
printf "%-30s%-30s\n" "`basename \"$i\"`" "[$STATUS]" ; done \ | |
&& echo -n "Creating checkums..." ; for f in ./win7sysfiles/* ; do \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Safely Imports Hyper-V Virtual Machines that were exported | |
as configuration only, without State Data (snapshots, VHDs, etc). | |
.DESCRIPTION | |
Hyper-V 2008 R2 removed the option to export a Virtual Machine without | |
its State Data (Snapshots, Virtual Disk Images (VHDs), Suspend State), | |
as configuration only through the GUI. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# rc.logo - Crappy welcome mat for unix shells | |
# 2010-2011 Alexandre Gauthier <[email protected]> | |
# | |
# Displays usless ascii logo, information and random niceties | |
# on login. | |
# | |
##################################################################### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class HelloWorld : Object { | |
public string name { get ; set; default = "World"; } | |
public HelloWorld() { | |
/* Huh. With properties accessed like fields, | |
and able to have default values, turns out I don't | |
actually have to do this. At all. Sweet shorthand, | |
Vala. Your syntactic sugar is growing on me. */ | |
//this.with_name("World"); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* hello.c generated by valac 0.11.1, the Vala compiler | |
* generated from hello.vala, do not modify */ | |
#include <glib.h> | |
#include <glib-object.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <stdio.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* - | |
* TP No. 1 | |
* "Doing Melissa's programming homework out of boredom" | |
* (c) 2010-2011 | |
* Alexandre Gauthier <[email protected]> | |
* | |
* Specifications: | |
* | |
* Read 10 numbers from the user and store them in an array | |
* of 10 elements. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from contextlib import closing | |
#from collections import defaultdict | |
import re | |
import shelve | |
from urllib2 import Request, urlopen, URLError | |
from BeautifulSoup import BeautifulSoup | |
apiurls = { 'std-unix': 'http://cygwin.com/cygwin-api/compatibility.html', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Design Module. | |
* | |
* @package Module | |
* @subpackage Design | |
*/ | |
/** | |
* Include System stuff. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:: $Id: env_universaldate.cmd 1986 2006-12-06 20:36:59Z gauthiera $ | |
:: Librarie pour generation de date Universelle | |
:: | |
:: ATTENTION: La date et le nom des variables | |
:: sont differents selon la langue du systeme | |
:: d'exploitation: | |
:: Francais: %jj% %mm% %aa% | |
:: Anglais: %mm% %dd% %yy% | |
:: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(** BuyPhone.muf [c] Nilesta, 2000 http://members.home.net/tiadasia/ **) | |
$def PPROG #277 (** DBREF of Phones.muf **) | |
(** The following are for costs. If you don't want costs, set them all **) | |
(** to 0. Per-month cost is added up and stored on the phone object **) | |
(** under '@phone/upkeep' **) | |
(** This /does not/ actually charge them the per-month costs. You'll **) | |
(** need to program something to do that if you want it done. **) | |
OlderNewer