Skip to content

Instantly share code, notes, and snippets.

Daniel Laxar dlaxar

  • Vienna
Block or report user

Report or block dlaxar

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View bookmarklet-tuwel-matrfilter.min.js
javascript:(function(){var notEls=[];function _handleInput(complement){var input=window.prompt('Insert matriculation numbers','');var numbers=input.split(/[^0-9]+/);{if(n.length==7){return'0'+n}else{return n}});var els=document.querySelectorAll('td.idnumber');,function(el){var idx=numbers.indexOf(el.innerHTML.trim());if(idx>=0){numbers.splice(idx,1)}if(complement&&idx<0||!complement&&idx>=0){return true}return false}).map(function(el){return el.parentElement});return[els,numbers]}function doAsk(){dont();var x=_handleInput(true);notEls=x[0];if(x[1].length){alert('The following matriculation numbers are not int this list: '+x[1])}_do()}function download(){var x=_handleInput(false);var els=x[0];if(x[1].length){alert('The following matriculation numbers are not int this list: '+x[1])}var{return el.querySelector('a[href*=submission_file]').href});for(var i=0;i<files.length;i++){if(![i],'_blank')){alert('Po
View bookmarklet-tuwel-matrfilter.js
javascript:(function() {
var notEls = [];
function _handleInput(complement) {
var input = window.prompt('Insert matriculation numbers', '');
var numbers = input.split(/[^0-9]+/);
numbers = {
if(n.length == 7) {
return '0' + n;
dlaxar / .gitignore
Created Oct 13, 2013 — forked from redoPop/.gitignore
.gitignore for Wordpress
View .gitignore
# This is a template .gitignore file for git-managed WordPress projects.
# Fact: you don't want WordPress core files, or your server-specific
# configuration files etc., in your project's repository. You just don't.
# Solution: stick this file up your repository root (which it assumes is
# also the WordPress root directory) and add exceptions for any plugins,
# themes, and other directories that should be under version control.
# See the comments below for more info on how to add exceptions for your
dlaxar / 1.js
Last active Dec 11, 2015
View 1.js
var str = "Wir berechnen einen ASCII Wert";
var max = 0, temp;
for(var i = 0; i < str.length; i++) {
temp = str.charCodeAt(i);
if(temp > max) {
max = temp
package u2;
public class CipherManager {
private byte[] bytes;
View l4.js
var count = {};
var array = ["str1", "str2", "string 3", "string 4", "s5", "string 4", "s5", "str2", "string 3", "string 4", "s5", "string 4", "str1"];
for(var i = 0; i < array.length; i++) {
if(count[array[i]]) {
else {
count[array[i]] = 1;
View test.php
echo 'test';
View Install newer ruby version ( 1.9)
curl -O
tar xzvf ruby-1.9.3-p0.tar.gz
cd ruby-1.9.3-p0
./configure --enable-shared --disable-pthread --program-suffix n
make && make install
You can’t perform that action at this time.