Skip to content

Instantly share code, notes, and snippets.

View pirkka's full-sized avatar

Pirkka Esko pirkka

View GitHub Profile
View web console test.txt
(function(url) {
console.log('is jQuery.timeago defined?');
console.log((typeof(jQuery.timeago) !== 'undefined'));
var tag = 'script';
var request = new XMLHttpRequest();
request.onreadystatechange = function() {
if(request.readyState === 4) {
console.log('we have fetched the script');
if(request.status === 200) {
var javascript = request.responseText;
pirkka / taeggie-feed-widget-IFRAME.html
Last active November 21, 2016 11:44
Taeggie feed widget install script using IFRAME.
View taeggie-feed-widget-IFRAME.html
<!-- COPY this to your web page and insert your Taeggies name in appropriate places: -->
<iframe src="" scrolling="no" frameborder="0" style="border:none; overflow:hidden;" allowTransparency="true"></iframe>
pirkka / taeggie-feed-widget-script.html
Last active March 16, 2016 10:56
Taeggie feed widget inclusion script how-to. REQUIRES JQUERY.
View taeggie-feed-widget-script.html
<!-- COPY this to your web page and insert your Taeggies name in appropriate places: -->
<script id='taeggie-feed-widget-script-YOUR_TAEGGIES_NAME'>
pirkka / taeggie-feed-widget-chillwave.css
Last active March 2, 2018 13:55
Taeggie feed widget customization example.
View taeggie-feed-widget-chillwave.css
#taeggie-feed-widget-taeggie-square .post {
border: 4px solid black;
margin-right: 10px;
margin-bottom: 10px;
pirkka / taeggie-feed-widget-simple.css
Last active March 2, 2018 13:51
Super simple taeggie customization.
View taeggie-feed-widget-simple.css
#taeggie-feed-widget-your-taeggie-name .post {
border: 4px dotted lightblue;