Skip to content

Instantly share code, notes, and snippets.

View lbenedix's full-sized avatar
🙈
Focusing

L B lbenedix

🙈
Focusing
View GitHub Profile
<?php
class UiFeedbackAPI extends ApiBase {
public function execute() {
$can_read = $this->getUser()->isAllowed( 'read_uifeedback' );
$can_write = $this->getUser()->isAllowed( 'write_uifeedback' );
// Get the parameters
$params = $this->extractRequestParams();
import requests, multiprocessing, os
from bs4 import BeautifulSoup
url = 'http://beesandbombs.tumblr.com/page/{}'
def download_file( url, path='f:/beesandbombs' ):
local_filename = path + '/' + url.split( '/' )[-1]
if os.path.isfile( local_filename ):
return local_filename
[
{
"address": "Alt Glasow 12",
"brand": "SPRINT",
"city": "Mahlow",
"fax": "03379 37959062",
"id": "SS0099372",
"lat": "52.34283",
"lon": "13.43492",
"name": "SPRINT Station",
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Keybase proof

I hereby claim:

  • I am lbenedix on github.
  • I am lbenedix (https://keybase.io/lbenedix) on keybase.
  • I have a public key ASCncmKl3sWWul-6oxWVg92wzHPe2O5dceFX90JwXfrzYwo

To claim this, I am signing this object:

// ==UserScript==
// @name CloudFormation Reloader
// @namespace http://tampermonkey.net/
// @version 0.1
// @description reload all the things
// @author You
// @match https://*.console.aws.amazon.com/cloudformation/*
// @icon https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/240/openmoji/292/recycling-symbol_267b-fe0f.png
// @grant none
// ==/UserScript==
// ==UserScript==
// @name CloudFormation 🌈
// @namespace http://tampermonkey.net/
// @version 0.1
// @description blinky blinky
// @author You
// @match https://*.console.aws.amazon.com/*
// @icon https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/240/whatsapp/326/rainbow_1f308.png
// @grant none
// ==/UserScript==
// ==UserScript==
// @name media.ccc title
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Move media.ccc.de to the back
// @author [email protected]
// @match https://media.ccc.de/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=media.ccc.de
// @grant none
// ==/UserScript==