This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# @see https://medium.com/the-code-review/top-10-docker-commands-you-cant-live-without-54fb6377f481 | |
# kill all running containers with | |
docker kill $(docker ps -q) | |
# delete all stopped containers with | |
docker rm $(docker ps -a -q) | |
# delete all images with | |
docker rmi $(docker images -q) | |
# list all running processes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Configure homebrew permissions to allow multiple users on MAC OSX. | |
# Any user from the admin group will be able to manage the homebrew and cask installation on the machine. | |
# allow admins to manage homebrew's local install directory | |
chgrp -R admin /usr/local | |
chmod -R g+w /usr/local | |
# allow admins to homebrew's local cache of formulae and source files | |
chgrp -R admin /Library/Caches/Homebrew |
I hereby claim:
- I am pixelmord on github.
- I am pixelmord (https://keybase.io/pixelmord) on keybase.
- I have a public key ASC9Dz3ZEJK8rAoQPr53TP5uYzJMOYx7HkV4iK9shqUbfwo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @file | |
* Contains Drupal\mymodule\Plugin\Block\ImageRenderExampleBlock. | |
*/ | |
namespace Drupal\mymodule\Plugin\Block; | |
use Drupal\Core\Block\BlockBase; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input id="inp" type='file'> | |
<p id="b64"></p> | |
<img id="img" height="150"> |
The German parliament iPhone app "Bundestag" uses XML endpoints at bundestag.de to get fresh data. This guide lists them.
Since version 4.2 the iPhone app requires an HTTP basic auth header for new endpoints. For backwards compatibility some old endpoints don't require authentication.
The authentication credentials are: