Skip to content

Instantly share code, notes, and snippets.

View rkrx's full-sized avatar

Ron Kirschler rkrx

  • Reutlingen, Germany
View GitHub Profile
#include "LedControl.h"
/*
Now we need a LedControl to work with.
***** These pin numbers will probably not work with your hardware *****
pin 12 is connected to the DataIn
pin 11 is connected to the CLK
pin 10 is connected to LOAD
We have only a single MAX72XX.
*/
-----BEGIN CERTIFICATE-----
MIIDrzCCApegAwIBAgIQCDvgVpBCRrGhdWrJWZHHSjANBgkqhkiG9w0BAQUFADBh
MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
d3cuZGlnaWNlcnQuY29tMSAwHgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBD
QTAeFw0wNjExMTAwMDAwMDBaFw0zMTExMTAwMDAwMDBaMGExCzAJBgNVBAYTAlVT
MRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5j
b20xIDAeBgNVBAMTF0RpZ2lDZXJ0IEdsb2JhbCBSb290IENBMIIBIjANBgkqhkiG
9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4jvhEXLeqKTTo1eqUKKPC3eQyaKl7hLOllsB
CSDMAZOnTjC3U/dDxGkAV53ijSLdhwZAAIEJzs4bg7/fzTtxRuLWZscFs3YnFo97
nh6Vfe63SKMI2tavegw5BmV/Sl0fvBf4q77uKNd0f3p4mVmFaG5cIzJLv07A6Fpt
@rkrx
rkrx / Access-Set-Disable-Warnings-In-Registry.ps1
Last active September 9, 2020 16:08
MSAccess: Add a Path to "trusted locations" and disable query confirmations for all access versions
Function Configure-Access-Settings($AccessDatabasePath) {
@('HKEY_CURRENT_USER\SOFTWARE\Microsoft', 'HKEY_CURRENT_USER\SOFTWARE\Wow6432Node\Microsoft') | Foreach-Object {
$BaseItem = $_
try {
Get-Item -Path Registry::$BaseItem\Office\* -ErrorAction Stop | ?{ $_.Name -match "\d+\.\d+$" } | Foreach-Object {
$ItemPath = $_.Name
try {
# Disable msaccess query confirmations
Get-Item -Path Registry::$ItemPath\Access\Settings -ErrorAction Stop | Out-Null
Set-ItemProperty -Path Registry::"$ItemPath\Access\Settings" -Name "Confirm Document Deletions" -Value 0
RemoteIPHeader X-Real-IP
RemoteIPTrustedProxy 127.0.0.1 192.168.122.1
SetEnvIf X-Forwarded-Proto "^https$" HTTPS=on
@echo off
set name=Max Mustermann
set ring=1234
echo %name%
echo %ring%
<?php
namespace Some\Name\Space;
use Some\Other\Name\Space\SomeOtherMybeAbstractClass;
use Some\Other\Name\Space\SomeInterface;
use Some\Other\Name\Space\SomeMixinTrait;
use Some\Other\Name\Space\RequestInterface;
use Some\Other\Name\Space\ResponseInterface;
class MyClass extends SomeOtherMybeAbstractClass implements SomeInterface {
{
"name": "<vendor>/<package>",
"description": "Hier kommt meine Paketbeschreibung rein",
"require": {
"php": ">= 5.5",
"psr/log": "1.0",
"zendframework/zend-config": "2.0.*",
"zendframework/zend-http": "2.0.*"
},
"require-dev": {
Ext.define('some.name.space.EditWindow', {
extend: 'Ext.window.Window',
...
initComponent: function () {
var window = this;
this.callParent(arguments);
this.on('show', function () {