Skip to content

Instantly share code, notes, and snippets.

Marlinc Marlinc

  • Eindhoven, The Netherlands
Block or report user

Report or block Marlinc

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 keybase.md

Keybase proof

I hereby claim:

  • I am marlinc on github.
  • I am marlinc (https://keybase.io/marlinc) on keybase.
  • I have a public key ASCcKnN71PVITXnZEpiIMzSHEdZ6knyMYpg_KGj345u2vQo

To claim this, I am signing this object:

@Marlinc
Marlinc / .gitignore
Created Apr 9, 2012 — forked from hakre/magnet-links-bittorrent.php
Magnet links library for PHP
View .gitignore
# Ignore backup files
*~
View routes.php
<?php
/**
* Routes configuration
*
* In this file, you set up routes to your controllers and their actions.
* Routes are very important mechanism that allows you to freely connect
* different URLs to chosen controllers and their actions (functions).
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
View StudentsController.php
<?php
namespace App\Controller;
use App\Controller\AppController;
/**
* Students Controller
*
* @property \App\Model\Table\StudentsTable $Students
*/
View StatusesWebserviceTest.php
<?php
public function testStatusUpdate()
{
$client = $this->getMockBuilder('Cake\\Network\\Http\\Client')
->setMethods([
'post'
])
->getMock();
$client
View bisect.sh
#!/bin/bash
# git bisect job for jenkins, originally by @bashlog
GOOD_BUILD=$(curl 'http://jenkins.example.org:8080/job/BUILDNAME/lastStableBuild/api/json' | sed 's:[{},]:\n:g'|grep '"number":'|sed 's/.*://')
BAD_BUILD=$(($GOOD_BUILD + 1))
curl -f "http://jenkins.example.org:8080/job/BUILDNAME/$BAD_BUILD/api/json" || BAD_BUILD=$(($GOOD_BUILD + 2))
curl -f "http://jenkins.example.org:8080/job/BUILDNAME/$BAD_BUILD/api/json" || BAD_BUILD=$(($GOOD_BUILD + 3))
curl -f "http://jenkins.example.org:8080/job/BUILDNAME/$BAD_BUILD/api/json" || BAD_BUILD=$(($GOOD_BUILD + 4))
curl -f "http://jenkins.example.org:8080/job/BUILDNAME/$BAD_BUILD/api/json" || BAD_BUILD=$(($GOOD_BUILD + 5))
curl -f "http://jenkins.example.org:8080/job/BUILDNAME/$BAD_BUILD/api/json" || BAD_BUILD=$(($GOOD_BUILD + 6))
View gist:4143005
loadmodule "src/modules/commands.so";
loadmodule "src/modules/cloak.so";
me {
name "dev.mms-projects.net";
info "MMS-Projects Development server";
numeric 100;
};
admin {
View gist:3156855
<?php
echo "Time: " . Zend_Date::get(Zend_date::TIMES) . "<br>" . Zend_Locale_Format::toNumber(13524678.677);
View gist:2883913
Sequence found with data 10, operation minus and a split at 2 chars
7363 | 73-63
Sequence found with data 10, operation minus and a split at 2 chars
7464 | 74-64
Sequence found with data 2, operation plus and a split at 2 chars
1618 | 16-18
Sequence found with data 10, operation minus and a split at 2 chars
1808 | 18-08
Sequence found with data 2, operation minus and a split at 2 chars
1816 | 18-16
You can’t perform that action at this time.