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 | |
NAME=$(basename $0) | |
WINEPREFIX=$HOME/.2010 | |
WPREF=$WINEPREFIX | |
MS_VER=14 | |
MS_LOCATION=$WPREF/drive_c/Program\ Files/Microsoft\ Office/Office$MS_VER | |
WINEPREFIX="$WPREF" wine "$MS_LOCATION/$NAME.EXE" $* > /dev/null |
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
Cleanup docker images and containers | |
By Dan Sosedoff on 17 Dec 2013 | |
Docker is a fantastic tool to create lightweight containers for any application or stack, powered by LXC, which im a big fan of. There are no special ways of building docker images, some folks are using Chef/Puppet, etc. However, docker brings a very simple way to define image build steps: Dockerfiles. | |
Example of the Dockerfile: | |
FROM ubuntu:12.04 | |
MAINTAINER Dan Sosedoff "dan.sosedoff@gmail.com" |
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
program fibnums; | |
{$APPTYPE CONSOLE} | |
uses | |
SysUtils; | |
Const | |
MaxVecLen=1024; |
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
\documentclass[professionalfont]{beamer} | |
\usepackage[english]{babel} | |
\usepackage{iftex,ifxetex} | |
\ifPDFTeX | |
\usepackage[utf8]{inputenc} | |
\usepackage[T1]{fontenc} | |
\usepackage{lmodern} | |
\else | |
\ifluatex | |
\usepackage{unicode-math} |
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
# Maintainer: Alexander Shuklin <jasuramme@mail.ru> | |
pkgname=ejudge | |
pkgver=3.3.1 | |
pkgrel=0 | |
pkgdesc="online programming competitions server" | |
arch=('i686' 'x86_64') | |
url="http://ejudge.ru/" | |
license=('GPL') | |
depends=(sendmail make gcc glibc bison flex gawk sed zlib ncurses expat libzip gettext curl util-linux) |
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
unit Unit1; | |
interface | |
uses | |
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, | |
Dialogs, StdCtrls, Grids; | |
type | |
TForm1 = class(TForm) |
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
program lab_10; | |
uses crt; | |
const | |
n=60; | |
m=16; | |
var | |
l,i,a,j,k:integer; | |
procedure picture1(a,l,t:integer); | |
begin |
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
# /etc/X11/xorg.conf.d/00-keyboard.conf | |
Section "InputClass" | |
Identifier "system-keyboard" | |
MatchIsKeyboard "on" | |
Option "XkbLayout" "us,ru" | |
Option "XkbModel" "pc104" | |
Option "XkbVariant" ",winkeys" | |
Option "XkbOptions" "grp:caps_toggle,grp:alt_shift_toggle,terminate:ctrl_alt_bksp" | |
EndSection |
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/env python2 | |
import os, os.path | |
import pprint | |
import pickle | |
def gpg_move(): | |
f=open("find_gpg.log") | |
for orig in f: | |
orig = orig.strip() | |
path = os.path.normpath(orig) |
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 | |
#### This script is published by Philipp Klaus <philipp.l.klaus@web.de> | |
#### on <http://blog.philippklaus.de/2011/05/ipv6-6in4-tunnel-via-hurricane-electric-tunnelbroker-net-automatic-ip-update-on-mac-os-x/> | |
#### It is originally by freese60 and modified by limemonkey. | |
#### Found on <http://www.tunnelbroker.net/forums/index.php?topic=287.0> | |
### Uncomment this line to debug the script: | |
#set -x |
OlderNewer