Skip to content

Instantly share code, notes, and snippets.

View Harvie's full-sized avatar
🎯
Focusing

Tomas Mudrunka Harvie

🎯
Focusing
View GitHub Profile
@Harvie
Harvie / context_demo.c
Created January 7, 2022 14:32 — forked from DanGe42/context_demo.c
A non-trivial example of how to use user contexts for trivial scheduling.
#include <ucontext.h>
#include <sys/types.h>
#include <sys/time.h>
#include <signal.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <poll.h>
/* ucontext sample program
@Harvie
Harvie / glassfish.log
Created April 7, 2017 10:46
glassfish log
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=192m; support was removed in 8.0
Launching GlassFish on Felix platform
Dub 07, 2017 8:34:42 DOP. com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner createBundleProvisioner
INFO: Create bundle provisioner class = class com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner.
Dub 07, 2017 8:34:42 DOP. com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations
WARNING: Skipping entry because it is not an absolute URI.
Dub 07, 2017 8:34:42 DOP. com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations
WARNING: Skipping entry because it is not an absolute URI.
Dub 07, 2017 8:34:42 DOP. com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner startBundles
WARNING: Can not start bundle file:/home/harvie/GlassFish_Server/glassfish/modules/core.jar because it is not contained in the list of installed bundles.
<form method="POST" action="index.php">
Jméno:
<input type="text" size=16 name="jmeno">
Poíjmení:
<input type="text" size=16 name="prijmeni">
E-mail:
<input type="text" size=16 name="email">
Telefon:
<input type="text" size=16 name="telefon">
<input type="submit" value="odeslat">
# dmidecode 2.12
SMBIOS 2.6 present.
78 structures occupying 2863 bytes.
Table at 0x000E0010.
Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: LENOVO
Version: 6QET61WW (1.31 )
Release Date: 10/26/2010
@Harvie
Harvie / hodiny.php
Last active December 31, 2015 20:49
<?php
function polarx($u,$v){
return ($v*cos(deg2rad($u)));
}
function polary($u,$v){
return ($v*sin(deg2rad($u)));
}
$x=23;