Skip to content

Instantly share code, notes, and snippets.

Avatar
💻
Loading...

Pedro Fernandes djprmf

💻
Loading...
View GitHub Profile
View script links
View gist:e85003d1c896ae1acf15
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0"
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns:s="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:n="http://www.google.com/schemas/sitemap-news/0.9"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:template match="/">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
View gist:7e6fe467af428e13471c
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0"
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"
xmlns:sitemap="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:template match="/">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
View gist:7ce8f8278bb5328c6f60
<?xml version="1.0" encoding="utf-8"?>
<!-- Edited by Lee Sykes DNN Creative Magazine http://www.dnncreative.com -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" indent="yes"/>
<xsl:param name="TITLE"/>
<xsl:template match="rss">
<!-- Do not show channel image -->
@djprmf
djprmf / gist:5c7e8f37befdf55d3efe
Created Oct 18, 2015
Load multiple scripts asynchronously
View gist:5c7e8f37befdf55d3efe
(function(doc, script) {
var js,
fjs = doc.getElementsByTagName(script)[0],
add = function(url, id) {
if (doc.getElementById(id)) {return;}
js = doc.createElement(script);
js.src = url;
id && (js.id = id);
fjs.parentNode.insertBefore(js, fjs);
};
@djprmf
djprmf / Comando para limitar tempo da conta
Last active Dec 28, 2015
Windows 10 - limitar utilizador
View Comando para limitar tempo da conta
net user UTILIZADOR /time: segunda-quinta,08:00-17:00
View Limitação da conta com múltiplos períodos
net user UTILIZADOR /time: segunda-sexta,08:00-17:00;sabado,10:20-11:20
View YouTube
document.cookie="VISITOR_INFO1_LIVE=Qa1hUZu3gtk;path=/;domain=.youtube.com";
View gist:814e3a7c1b4f56d1a2b537acfebb8267
(rg_conf
(dev
(br0
(type(bridge))
(logical_network(2))
(is_sync(1))
(enabled(1))
(enslaved
(eth0
(stp(1))