I hereby claim:
- I am aorcsik on github.
- I am aorcsik (https://keybase.io/aorcsik) on keybase.
- I have a public key whose fingerprint is D38D 74D3 79AA C164 6D28 0110 F11A 6066 8362 3EF3
To claim this, I am signing this object:
| // ==UserScript== | |
| // @name TMetric Charts | |
| // @namespace http://aorcsik.com/ | |
| // @version 0.1 | |
| // @description Add animated bars to Projects Summary tables | |
| // @author Antal Orcsik (http://aorcsik.com/) | |
| // @match https://app.tmetric.com/* | |
| // @grant none | |
| // ==/UserScript== |
| extension String { | |
| /// Truncates the string to length number of characters and | |
| /// appends optional trailing string if longer | |
| func truncate(length: Int, trailing: String? = nil) -> String { | |
| if countElements(self) > length { | |
| return self.substringToIndex(advance(self.startIndex, length)) + (trailing ?? "") | |
| } else { | |
| return self | |
| } | |
| } |
| # af-magic2.zsh-theme | |
| # | |
| # Author: Antal Orcsik | |
| # URL: http://aorcsik.com/ | |
| # Direct Link: https://gist.githubusercontent.com/aorcsik/c749f90bed0f885c4d0d/raw/af-magic2.zsh-theme | |
| # Based on: Andy Fleming's af-magic theme | |
| # | |
| # Created on: July 17, 2014 | |
| # Last modified on: July 17, 2014 |
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| if (isset($_GET['url'])) { | |
| $url = $_GET['url']; | |
| } else { | |
| $url = "http://beszeljukmac.com/index.php/rss/hirek"; | |
| } | |
| $page = file_get_contents($url); | |
| if (function_exists("mb_convert_encoding")) { |
| document.write('<input id="shownoti" style="display: none;" type="button" value="Show Notification" />'); | |
| document.write('<div style="display: none;" id="notidenied">Az értesítések megjelenítését letiltottad!</div>'); | |
| var displayNotiButton = function() { | |
| if (window.webkitNotifications.checkPermission() == 0) { | |
| document.getElementById("shownoti").onclick = function() { | |
| var notification = webkitNotifications.createNotification("icon.png", "blog.intiweb.hu", "Értesítve vagy!"); | |
| notification.addEventListener('display', function() { | |
| window.setTimeout(function() { | |
| notification.cancel(); | |
| }, 5000); |