This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "event": { | |
| "date": "23/10/2025", | |
| "link": "https://docs.google.com/forms/d/e/1FAIpQLScf_uZ2-EPOGMoF4sczwVNHnktpBqQQ3YWX68l3ctPwzqA-Vg/viewform" | |
| }, | |
| "members": 102 | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "event": { | |
| "date": "02/11/2025", | |
| "link": "https://docs.google.com/forms/d/e/1FAIpQLSc6ytLNahJeiMaJp6hL7y94cvJC7MSfgvrJmVwYUgxqMkp-vw/viewform" | |
| }, | |
| "members": 30 | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let activeTabId, lastUrl, lastTitle; | |
| function getTabInfo(tabId) { | |
| chrome.tabs.get(tabId, function(tab) { | |
| if(lastUrl != tab.url || lastTitle != tab.title) | |
| console.log(lastUrl = tab.url, lastTitle = tab.title); | |
| }); | |
| } | |
| chrome.tabs.onActivated.addListener(function(activeInfo) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ((p) => p[Math.floor(Math.random() * (p.length))])(` | |
| Alberto Marchetti | |
| Daniel Schildt | |
| Ekaterina Dorrer | |
| Fernando Girón | |
| Iines Piesala | |
| Joonas Haaparanta | |
| Majedul Hoque Ruman | |
| Margarita Obraztsova | |
| Matti Vakkilainen |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div> | |
| <form ng-submit="submit()"> | |
| <input ng-model="text"> | |
| <button>Submit</button> | |
| </form> | |
| <ul> | |
| <li ng-repeat="message in messages">{{message.time}} {{message.text}}</li> | |
| </ul> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if (!('placeholder' in document.createElement('input'))) { | |
| angular.module('directives').directive('placeholder', ['$timeout', function($timeout) { | |
| return function($scope, $element, $attrs) { | |
| var hasFocus = false; | |
| $element.bind('focus', function() { | |
| hasFocus = true; | |
| if ($element.hasClass('placeholder')) { | |
| $timeout(function() { | |
| $element.val(''); | |
| $element.removeClass('placeholder'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function prettify(text) { | |
| return text.toLowerCase() | |
| .replace(/ä/g, 'a') | |
| .replace(/ö/g, 'o') | |
| .replace(/å/g, 'a') | |
| .replace(/[^0-9a-z]+/g, '-') | |
| .replace(/^-*(.*?)-*$/, '$1'); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = "test"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var express = require('express'); | |
| var app = express(); | |
| var messages = [ | |
| { date: new Date(), text: "Hello World" } | |
| ]; | |
| app.use('/', express.static('./')); | |
| app.get('/api/', function(req, res){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // JS port of http://www.catalysoft.com/articles/StrikeAMatch.html | |
| function similarity(str1, str2) { | |
| function letterPairs(str) { | |
| var pairs = []; | |
| for ( var i = 0; i < str.length - 1; i++) { | |
| pairs.push(str.substr(i, i + 2)); | |
| } | |
| return pairs; | |
| } |
NewerOlder