I hereby claim:
- I am thebod on github.
- I am thebod (https://keybase.io/thebod) on keybase.
- I have a public key whose fingerprint is F499 F19A 0EA8 93B0 5C2F D884 DB70 2987 C2DC 7DCA
To claim this, I am signing this object:
package polls | |
import "flamingo.me/flamingo/v3/framework/web" | |
type urls struct { | |
controller *controller | |
} | |
func (u *urls) Inject(controller *controller) { | |
u.controller = controller |
package polls | |
import ( | |
"context" | |
"strings" | |
"flamingo.me/flamingo/v3/framework/web" | |
) | |
type controller struct{} |
package main | |
import ( | |
"flamingo.me/dingo" | |
"flamingo.me/flamingo/v3" | |
"flamingo.me/flamingo/v3/core/requestlogger" | |
) | |
func main() { | |
flamingo.App([]dingo.Module{ |
docker run \ | |
--rm \ | |
-v $HOME/.kube:/.kube \ | |
aoepeople/kube-container-exec:1.0 \ | |
-kubeconfig /kubeconfig \ | |
-container mycontainername \ | |
-filter app=myapp \ | |
/path/to/command.sh \ | |
-flag \ | |
--foo=bar |
def f(n): | |
m=n/2 | |
while n%m:m-=1 | |
return set([n])if m==1 else f(m)|f(n/m) | |
print f(47) | |
print f(48) | |
print f(49) |
set oldId to "" | |
repeat | |
set currentId to getTrackId() | |
if oldId is not currentId then | |
displayNotification() | |
end if | |
set oldId to currentId | |
write_to_file(getTrackName() & ":" & getTrackPosition(), (path to desktop as text) & getTrackArtistAlbumFilename(), false) | |
delay 1 | |
end repeat |
<?php | |
/** | |
* Class Extra_Static_Model_Observer | |
* | |
* @category Model | |
* @package Extra_Static | |
* @author AOE Magento Team <[email protected]> | |
* @license none none | |
* @link www.aoe.com |
I hereby claim:
To claim this, I am signing this object:
set -e | |
set -x | |
# check if this is a travis environment | |
function cleanup { | |
echo "Removing build directory ${BUILDENV}" | |
rm -rf ${BUILDENV} | |
} | |
trap cleanup EXIT |
<?php | |
$order = 13; | |
$attribute = 'url_key'; | |
require_once 'app/Mage.php'; | |
Mage::app(); | |
/** @var Mage_Sales_Model_Order $order */ |