Skip to content

Instantly share code, notes, and snippets.

View pquerner's full-sized avatar

Pascal Querner pquerner

View GitHub Profile
pquerner / Dockerfile
Last active July 18, 2020 17:36
PS4 OpenOrbis
FROM ubuntu:20.04
ENV PS4DEV=/usr/local/ps4dev
RUN echo 'alias build="cd /build && make clean && make"' >> ~/.bashrc
RUN echo 'export OO_PS4_TOOLCHAIN=${PS4DEV}/ps4toolchain' >> ~/.bashrc
#Get deps
apt-get -y update && \
pquerner / kbm.timetracking.userscript.js
Last active February 12, 2020 12:43
KBMPro Timetracking JS
// ==UserScript==
// @name KBMpro quick buttons for time tracking
// @namespace
// @updateUrl
// @version 1.2
// @description Adds quick buttons to KBMpro time tracking
// @author Daniel Mann (fork PQ)
// @match*
// @grant none
// ==/UserScript==
pquerner / SearchController.php
Created August 1, 2019 10:29
RouteEnhancers in Searchresult for ext:news (ext:indexed_search)
namespace CuD\EntdeckenBase\Controller\Extensions\Indexedsearch;
use CuD\CudNewsauthors\Domain\Model\News;
use GeorgRinger\News\Domain\Repository\NewsRepository;
use TYPO3\CMS\Core\Utility\MathUtility;
pquerner / user.js
Last active April 26, 2019 12:06
Alexa Skill Repeat
// ==UserScript==
// @name Alexa Repeat Dev Message
// @version 0.1
// @author You
// @match*
// @grant none
// ==/UserScript==
(function() {
'use strict';
ps4sh> connect
log: [HOST][INFO]: [PS4SH] Connecting to fio ps4link ip
log: [HOST][INFO]: [PS4SH] PlayStation is listening at
log: [HOST][DEBUG]: [PS4SH] Opening homebrew.elf flags 0
log: [HOST][DEBUG]: [PS4SH] Open return 7
log: [HOST][DEBUG]: [PS4SH] 211272 result of lseek 0 offset 2 whence
log: [HOST][DEBUG]: [PS4SH] 0 result of lseek 0 offset 0 whence
version: '3.3'
image: mariadb:latest
container_name: tvextra_mariadb
- container-volume:/var/lib/mysql
- ./
pquerner / gist:e902f5f8018653ee3e815f8dd46aec52
Last active June 29, 2018 21:54
Ubuntu PS4 SDK Build Slave
Vagrant.configure("2") do |config|
# Ubuntu 14.04 LTS x64 official cloud image = "ubuntu/trusty64"
config.vm.box_check_update = false "public_network", ip: ""
# VirtualBox
config.vm.provider "virtualbox" do |vb| = "PS4 Build Slave" # friendly name that shows up in Oracle VM VirtualBox Manager
vb.memory = 2048 # memory in megabytes
pquerner / grab-videos.js
Created April 6, 2016 11:37
node youtube-dl
var https = require('https');
var async = require('async');
var path = require('path');
var fs = require('fs');
var ytdl = require('youtube-dl');
var ytchannelids = ['UCrsECiuZUe7HObWu7UF--5A', 'valvenewsnetwork']; //channels to download, not yet used
var ytchannelid = 'UCrsECiuZUe7HObWu7UF--5A'; //channel to download, new format
var youtubeids = [];
var apikey = 'xxxx'; //youtube api key
pquerner / .bashrc
Created January 7, 2016 13:05 — forked from dbalabka/.phpdebug
PHP CLI debugging helper console commands with PhpStorm, NetBeans support
# Installation steps:
# 1. Put these lines into ~/.bashrc;
# 2. Script will try to autodetect your machine IP where runs IDE or use otherwise.
# If automatic detection doesn't work for you, set ip directly via IDE_IP enviroment variable:
# $ export IDE_IP=
# 3. Change ports if it not same as default (see local variables zend_debugger_config and xdebug_config);
# 4. Change IDE specific configuration: serverName, idekey (see local variables php_ide_config and xdebug_config)
# 5. Run: source ~/.bashrc
# Usage:

Transparent Git Encryption

This document has been modified from its [original format][m1], which was written by Ning Shang ( It has been updated and reformatted into a [Markdown][m2] document by [Woody Gilk][m3] and [republished][m4].


When working with a remote git repository which is hosted on a third-party storage server, data confidentiality sometimes becomes