Skip to content

Instantly share code, notes, and snippets.

View DamianFekete's full-sized avatar
🌻
Who knows what's up?

Andrei Damian-Fekete DamianFekete

🌻
Who knows what's up?
View GitHub Profile
@DamianFekete
DamianFekete / confluence-velocity-macros.vm
Created August 16, 2018 07:58
grep #macro confluence-6.6.2-source\confluence-project\confluence-core\confluence-webapp\src\main\webapp\template\includes\macros.vm
#macro (iconSpan $type $text $additionalClasses)
#macro (contentIcon $content)
#macro (contentIconWithLinkPrefix $content $prefix)
#macro (contentIcon2 $content $linkColor $linkHref $linkTitle)
#macro (typeIcon $type)
#macro (icon $imageName $size $title)<img src="$staticResourceUrlPrefix/images/icons/${imageName}" height="$size" width="$size" style="vertical-align: middle" #if($title != '')title="$title"#end/>#end
#macro (contentHref $content)
#macro (contentHrefWithLinkPrefix $content $prefix)
#macro (contentOther $content)
#macro (contentLink2 $content $showIcon $showSpace)
@DamianFekete
DamianFekete / unitymedia.txt
Created June 26, 2018 18:14
Ping statistics UnityMedia UPC
--- 1.1.1.1 ping statistics ---
53 packets transmitted, 31 packets received, 41.5% packet loss
round-trip min/avg/max/stddev = 1539.227/4070.125/6043.525/1215.725 ms
$ traceroute 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 64 hops max, 52 byte packets
2 hsi-kbw-085-216-125-235.hsi.kabelbw.de (85.216.127.235) 3285.267 ms 4504.943 ms 3893.761 ms
3 hsi-kbw-85-216-127-234.hsi.kabel-badenwuerttemberg.de (85.216.127.234) 3893.598 ms 3479.283 ms 3859.114 ms
4 84.116.190.90 (84.116.190.90) 3625.398 ms 3368.249 ms 3282.193 ms
*Error:*
Method setViewModel not found for class org.zkoss.zul.Window
*Reason*
Missing closing paranthesis for @init.
*Bad:*
<window title="Search" width="600px" border="normal"
apply="org.zkoss.bind.BindComposer" viewModel="@id('vm') @init('com.example.SearchVM'">
ZK 7 ZUL Awesome
.z-icon-glass {content:"\f000"}
.z-icon-music {content:"\f001"}
.z-icon-search {content:"\f002"}
.z-icon-envelope-o {content:"\f003"}
.z-icon-heart {content:"\f004"}
.z-icon-star {content:"\f005"}
.z-icon-star-o {content:"\f006"}
.z-icon-user {content:"\f007"}
.z-icon-film {content:"\f008"}
-- A--
AA
AB
AC
AD
AH
AI
AL
AM
AN
#include <windows.h>
#include <stdio.h>
typedef enum _STORAGE_QUERY_TYPE {PropertyStandardQuery = 0,PropertyExistsQuery,PropertyMaskQuery,PropertyQueryMaxDefined} STORAGE_QUERY_TYPE, *PSTORAGE_QUERY_TYPE;
typedef enum _STORAGE_PROPERTY_ID {StorageDeviceProperty = 0,StorageAdapterProperty} STORAGE_PROPERTY_ID, *PSTORAGE_PROPERTY_ID;
typedef struct _STORAGE_PROPERTY_QUERY {
STORAGE_PROPERTY_ID PropertyId;
STORAGE_QUERY_TYPE QueryType;
UCHAR AdditionalParameters[1];