A Pen by dirk lüsebrink on CodePen.
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" | |
xmlns:s12="http://www.w3.org/2003/05/soap-envelope" | |
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap12/" | |
xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702" | |
xmlns:wsa="http://www.w3.org/2005/08/addressing" | |
xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" | |
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" | |
xmlns:wsp="http://www.w3.org/ns/ws-policy" | |
xmlns:wspmtom="http://schemas.xmlsoap.org/ws/2004/09/policy/optimizedmimeserialization" |
Why I do not like automatic code formatters.
#Ruby ensure
:
def foo
puts 'foo'
ensure
puts 'ensure'
end
This file contains hidden or 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
[ | |
[ | |
"Notepad++", | |
"The creation of Notepad++ is due to my need for a decent editor to edit the source code of Notepad++" | |
], | |
[ | |
"Notepad++ #1", | |
"I hate reading other people's code.\nSo I wrote mine, made it as open source project, and watch others suffer." | |
], | |
[ |
This file contains hidden or 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
# this fails: | |
use function App\Services\Wordpress\{ }; | |
# with: | |
# | |
# PHP Fatal error: Uncaught ParseError: syntax error, unexpected token "}".. | |
# this works: |
This file contains hidden or 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 | |
/* code below to produce the following output: | |
empty([ /*empty*/ ]['k']) === true | |
empty([ 'k'=>'' ]['k']) === true | |
empty([ 'k'=>true ]['k']) === false | |
empty([ 'k'=>23 ]['k']) === false | |
// so far, so good. But WTF: |
This file contains hidden or 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
# funktioniert hier eigentlich Markdown? | |
- absolute | |
- na bestens | |
dann kanns ja losgehen |
This file contains hidden or 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
# sorting the doc_pu wiki pages in a redmine. The doc_pu plugin contains an | |
# option to manually reoorder pages but this is only one by and is awfull to | |
# use for lots of references. | |
# | |
# 'install' this code in the redmine dir: | |
# $ cat > lib/ac/doc_pu_sorter.rb | |
# | |
# execute with the right user(redmine) in the production mode on the server | |
# from the command line: | |
# |
This file contains hidden or 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
#!/usr/bin/env ruby | |
Hiragana = %w{ | |
a i u e o | |
ka ki ku ke ko | |
sa shi su se so | |
ta chi tsu te to | |
na ni nu ne no | |
ha hi hu he ho | |
ma mi mu me mo |
NewerOlder