This file contains hidden or 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
/** | |
* Path for bigger sealed spaces (but slower) | |
* Author of patch: Honza <[email protected]> | |
* Author of pattern: micdoodle8 | |
*/ | |
package micdoodle8.mods.galacticraft.core.oxygen; | |
import java.util.ArrayList; | |
import java.util.HashMap; |
This file contains hidden or 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
/** | |
* JVM Tool Interface agent which sets | |
* security policy when is agent loaded | |
* @author Jan Kalina <[email protected]> | |
*/ | |
#include <string.h> | |
#include <jvmti.h> | |
#include <jni.h> |
This file contains hidden or 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
import processing.core.*; | |
import processing.data.*; | |
import processing.event.*; | |
import processing.opengl.*; | |
import codeanticode.gsvideo.*; | |
import guicomponents.*; | |
import processing.opengl.*; | |
import controlP5.*; |
This file contains hidden or 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
LVM: | |
parted /dev/sda print | |
pvcreate /dev/sda1 | |
vgcreate imladris /dev/sda1 | |
lvcreate --contiguous y --name root --size 40G imladris | |
parted /dev/sda set 1 boot on | |
--------------------------------------------------------------------- | |
mount /dev/sda1 /mnt/disk1/ | |
cdebootstrap --arch=amd64 stable /mnt/disk1/ http://ftp.cz.debian.org/debian/ | |
mount /dev /mnt/disk1/dev/ -o bind |
This file contains hidden or 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 | |
pushd . | |
echo[ | |
echo[ Script for offline editing of Windows registry from Windows PE | |
echo[ Author: Jan Kalina ([email protected]) | |
echo[ | |
echo[ Remote registry will be mounted to HKLM\Remote_* | |
echo[ |
This file contains hidden or 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
#include <stdio.h> | |
/* | |
***************************************************************************** | |
V jazyce ISO C napiště funkci Step_RK2 (double t, double st[], double in[], | |
unsigned N, double stepsize), které předáte modelový čas t, stav všech | |
integrátorů v poli st, jejich počet N a délku kroku. | |
Vzorec definující metodu: | |
k1 = h * f(t, y(t)) |
This file contains hidden or 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
// Policy file working with Wildfly-8.0.0.CR1 | |
// (modified https://community.jboss.org/wiki/ConfiguringAJavaSecurityManager) | |
// Into standalone.sh add: | |
// JAVA_OPTS="$JAVA_OPTS -Djava.security.manager=default" | |
// JAVA_OPTS="$JAVA_OPTS -Djava.security.policy=/tmp/jboss.policy" | |
// JAVA_OPTS="$JAVA_OPTS -Djboss.home.dir=/home/honza/Wildfly/wildfly-8.0.0.CR1" | |
// JAVA_OPTS="$JAVA_OPTS -Djboss.server.home.dir=/home/honza/Wildfly/wildfly-8.0.0.CR1" | |
// #JAVA_OPTS="$JAVA_OPTS -Djava.security.debug=access,failure" |
This file contains hidden or 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
/****************************************************************************** | |
* Laborator 04 Krivky - Zaklady pocitacove grafiky - IZG | |
* [email protected] | |
* | |
* | |
* Popis: Hlavicky funkci pro funkce studentu | |
* | |
* Opravy a modifikace: | |
* - [email protected] | |
* |
This file contains hidden or 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/sh | |
OUT=`date +"%Y-%m-%d %H-%M"` | |
IN_RESOLUTION="1280*1024" # screen resolution | |
OUT_RESOLUTION="720:576" # resolution of output video | |
VIDEO="-f x11grab -r 20 -s $IN_RESOLUTION -i :0.0 -b:v 1000k" | |
#AUDIO="-f alsa -i hw:0,0" # record microphone | |
AUDIO="-f pulse -i alsa_output.pci-0000_00_1b.0.analog-stereo.monitor" # record PC output |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
# apt-get install python python-qt4 | |
import os,sys | |
from PyQt4.QtCore import Qt | |
from PyQt4 import QtGui, QtCore | |
import PyQt4 | |
import signal | |
import sys | |
import urllib |
OlderNewer