Skip to content

Instantly share code, notes, and snippets.

View mars3142's full-sized avatar
👨‍💻
Working

Peter Siegmund mars3142

👨‍💻
Working
View GitHub Profile
@TorbenL
TorbenL / google-plus-comments.phtml
Last active December 16, 2015 10:19
google+ comments
// static integration (replace [URL])
<iframe width="800" height="600" src="https://plusone.google.com/_/widget/render/comments?bsv&href=[URL]&first_party_property=BLOGGER&view_type=FILTERED_POSTMOD&width=750&hl=de">
// wordpress integration
<iframe width="800" height="600" src="https://plusone.google.com/_/widget/render/comments?bsv&href=<?php echo urlencode(get_permalink()); ?>&first_party_property=BLOGGER&view_type=FILTERED_POSTMOD&width=750&hl=de">
// fokus cms integration
<iframe width="800" height="600" src="https://plusone.google.com/_/widget/render/comments?bsv&href=<?php echo urlencode($fks->getURL()); ?>&first_party_property=BLOGGER&view_type=FILTERED_POSTMOD&width=750&hl=de">
@collinjackson
collinjackson / main.dart
Last active August 17, 2023 20:06
PageView example with dots indicator
// Copyright 2017, the Flutter project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'dart:math';
import 'package:flutter/material.dart';
void main() {
runApp(new MyApp());
}
@egyjs
egyjs / Direct Link of YouTube videos.md
Last active July 10, 2024 20:54
PHP API To get Direct Link of YouTube videos