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
<?php | |
/** | |
* The table Printer class has no dependencies and generates an array (strings) | |
* out of an object array / countable and the child properties that should be printed given by an array (strings) | |
*/ | |
class TablePrinter | |
{ | |
/** | |
* @param \Countable|array|object[] $historyItems |
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
# Simple script to have fun with PNG+HTML polyglot | |
# WARNING: This script is not optimised and just written for fun | |
# | |
# Author : Bharadwaj Machiraju | |
# | |
# Requirements: Pillow | |
# | |
# http://blog.tunnelshade.in/2015/06/stegosploit-fun.html | |
import re |
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
-- add this to your rc.lua, or include it as a dependency | |
-- Don't forget to add this to the layout section: | |
-- right_layout:add(vpnwidget) | |
vpnwidget = wibox.widget.textbox() | |
vpnwidget:set_text(" VPN: N/A ") |
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
import javafx.animation.TranslateTransition; | |
import javafx.application.Application; | |
import javafx.event.ActionEvent; | |
import javafx.event.EventHandler; | |
import javafx.scene.*; | |
import javafx.scene.control.Label; | |
import javafx.scene.input.*; | |
import javafx.scene.paint.Color; | |
import javafx.scene.shape.Circle; | |
import javafx.stage.Stage; |