Skip to content

Instantly share code, notes, and snippets.

View dz0ny's full-sized avatar
💭
❤️✖️❓🤖

Janez Troha dz0ny

💭
❤️✖️❓🤖
View GitHub Profile
<iframe src="http://m.radioterminal.si/" id="radioterminal-si-wiget" width="300" height="250" style="border: none; overflow: hidden;"></iframe><
<iframe src="/" id="radioterminal-si-wiget" width="250" height="250" style="border: none; overflow: hidden;"></iframe>
@dz0ny
dz0ny / mopidy.js
Last active August 29, 2015 14:04
alert("here");
console.log("test");
# http://commondatastorage.googleapis.com/chromium-browser-continuous/index.html
# and this fix https://codereview.chromium.org/683893003
wget https://commondatastorage.googleapis.com/chromium-browser-official/chromium-40.0.2202.3.tar.xz
tar -xvf chromium-40.0.2202.3.tar.xz
cd chromium-40.0.2202.3
build/install-build-deps.sh --no-sysms --no-lib32 --no-arm
build/download_nacl_toolchains.py --packages nacl_x86_newlib,pnacl_newlib,pnacl_translator
tools/clang/scripts/update.sh
build/gyp_chromium -Ddisable_glibc=1 \
-Ddisable_nacl=1 \
See https://wiki.archlinux.org/index.php/PulseAudio/Examples#PulseAudio_over_network for multiroom setup. If you use multicasting be sure your router can handle streams over 12 mbps in wireless multicast mode. If there is option select HTMIX instead of OFDM.
@dz0ny
dz0ny / es6.js
Created September 24, 2014 10:10
import {Inject} from 'di/annotations';
import {Grinder} from './grinder';
import {Pump} from './pump';
import {Heater} from './heater';
@Inject(Grinder, Pump, Heater)
export class CoffeeMaker {
constructor(grinder, pump, heater) {
// ...
}
---
- hosts: all
gather_facts: false
name: CVE-2014-6271 bash vulnerability fix
tasks:
- name: check bash fix
command: env ls='() { echo vulnerable; }' bash -c ls
register: command_result
changed_when: False
@dz0ny
dz0ny / php5.6.php
Created September 28, 2014 14:25
#fail
namespace php_five_dot_six {
use const true as false;
var_dump(false);
}
#! /usr/bin/perl
# a2query - Apache2 helper to retrieve configuration informations
# Copyright (C) 2012 Arno Töll <debian@toell.net>
#
# This program is licensed at your choice under the terms of the GNU General
# Public License vserion 2+ or under the terms of the Apache Software License
# 2.0.
#
# For GPL-2+:
@dz0ny
dz0ny / LoginWall.php
Last active August 29, 2015 14:10
Wordpress Malware List
<?php
/**
* Plugin Name: Login Wall
* Plugin URI: http://www.loginwall.com/wordpress/
* Description: This plugin enables LoginWall Protection for WordPress logins.
* Version: 1.1.0
* Author: Weak Liver
* Author URI: http://foxmail.com
* License: GPLv2+
*/