Skip to content

Instantly share code, notes, and snippets.

View szepeviktor's full-sized avatar
🍓
Doing byte-level care

Viktor Szépe szepeviktor

🍓
Doing byte-level care
View GitHub Profile
@szepeviktor
szepeviktor / deb-pack.sh
Last active August 29, 2015 14:00
Extract and Rebuild Debain packages the right way
MOVED to: https://github.com/szepeviktor/debian-server-tools/blob/master/package/debackport.sh
@szepeviktor
szepeviktor / build-suhosin-1fba865.sh
Last active August 29, 2015 14:00
Build Suhosin with PHP 5.4
MOVED to: https://github.com/szepeviktor/debian-server-tools
@szepeviktor
szepeviktor / villamos2.php
Last active August 29, 2015 14:01
Villamos - Programozási feladat megoldása PHP és C++ nyelven
<?php
/**
* a járat class a "száraz" része a kódnak, ott nincs sem adat, sem kiírás
* a class után jön a "nedves" rész tele adattal és kiírással
* ehhez hasonló módon érdemes elválasztani a programok részeit
*/
class Jarat {
@szepeviktor
szepeviktor / phpmyadmin-get.sh
Last active August 29, 2015 14:01
Download latest phpmyadmin release automatically by github/sourceforge API
MOVED to: https://github.com/szepeviktor/debian-server-tools
@szepeviktor
szepeviktor / package-versions.sh
Last active August 29, 2015 14:01
Linux package version and possible updates - apt, python, pear, pecl, node.js, ruby gems, java JRE
MOVED to: https://github.com/szepeviktor/debian-server-tools/tree/master/monitoring
@szepeviktor
szepeviktor / do-fontdetect.js
Created May 19, 2014 17:44
JavaScript/CSS Font Detector by Lalit Patel
// loading on "load" may cause FOUC
window.onload = function() {
var detective = new Detector();
if (!detective.detect('Meat')) {
var url = 'link/to/style.css'
if (document.createStyleSheet) {
try { document.createStyleSheet(url); } catch (e) { }
} else {
var css;
@szepeviktor
szepeviktor / vmware-tools-wheezy.sh
Last active August 29, 2015 14:01
Install VMware tools service (vmtoolsd) from OSP on Debian wheezy
MOVED to: https://github.com/szepeviktor/debian-server-tools
@szepeviktor
szepeviktor / bodyFile.7362.html
Created May 23, 2014 17:49
email source causing exception in lxml (indeed notification email)
<html>
<head>
<style type="text/css">
a,a:link{color:#00c}
.nolink{unicode-bidi: embed;}
a[href=""] {-webkit-touch-callout:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:default;}
</style>
<style type="text/css">
a,a:link{color:#00c}
Delivered-To: viktor@szepe.net
Return-Path: <noreply.LOJlH@dx38.domails.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0-rsvnunknown (svnunknown) on
szerver.szepe.net
X-Spam-Level: ****
X-Spam-Status: No, score=4.1 required=5.0 tests=BAYES_50,HTML_MESSAGE,
HTML_OBFUSCATE_05_10,MIME_HEADER_CTYPE_ONLY,MIME_HTML_ONLY,
SUBJECT_NEEDS_ENCODING,SUBJ_ILLEGAL_CHARS,T_REMOTE_IMAGE autolearn=no
version=3.4.0-rsvnunknown
Received: from vps.server.com (dx38.domails.org [::ffff:23.249.168.179])
-------------------------------------------------------------------------------
PHP COMPAT INFO EXTENSION SUMMARY
-------------------------------------------------------------------------------
EXTENSION EXT min/Max PHP min/Max COUNT
-------------------------------------------------------------------------------
Core 4.0.0 4.0.0 20306
PDO 5.1.0 3
Reflection 5.0.0 1
SPL 5.1.2 5.0.0 4
SimpleXML 5.0.0 2