I hereby claim:
- I am gsomoza on github.
- I am somoza (https://keybase.io/somoza) on keybase.
- I have a public key ASAnEmCHdmlMrD7R2rSD3zl69IMUVAH0yQdUmpTBLdStWgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?php | |
namespace Migrations; | |
use Pimcore\Migrations\Migration\AbstractMigration; | |
use Pimcore\Model\Staticroute; | |
/** | |
* Migration v20151009133517_AddStaticRoute | |
* @author Gabriel Somoza <[email protected]> | |
*/ |
Verifying that +somoza is my blockchain ID. https://onename.com/somoza |
mysqldump --no-data -h localhost -u root -p schema | gzip > structure.sql.gz | |
mysqldump --no-create-info -h localhost -u root -p | |
--ignore-table=schema.adminnotification_inbox \ | |
--ignore-table=schema.aw_core_logger \ | |
--ignore-table=schema.dataflow_batch_export \ | |
--ignore-table=schema.dataflow_batch_import \ | |
--ignore-table=schema.log_customer \ | |
--ignore-table=schema.log_quote \ | |
--ignore-table=schema.log_summary \ | |
--ignore-table=schema.log_summary_type \ |
#!/bin/bash | |
ZT_NETWORK="NETWORK_ID" | |
# colors | |
RCol='\033[0m' # Text Reset | |
LGra='\033[0;37m'; | |
Red='\033[0;31m'; | |
Gre='\033[0;32m'; | |
Yel='\033[0;33m'; |
#!/usr/bin/env python | |
# Usage: | |
# s3-presign-url path/to/object | |
# | |
# 1) Install boto3: | |
# pip install boto3 | |
# 2) Configure aws: | |
# aws configure | |
# 3) Change the bucket name in this script (below) |
<?php | |
interface RequestAuthorizer | |
{ | |
public function __construct(AccessToken $accessToken); | |
public function isAuthorized(RequestInterface $request): bool; | |
public function authorize(RequestInterface $request): void; | |
} | |
class AccessTokenMiddleware |
#!/bin/bash | |
# Patch apllying tool template | |
# v0.1.2 | |
# (c) Copyright 2013. Magento Inc. | |
# | |
# DO NOT CHANGE ANY LINE IN THIS FILE. | |
# 1. Check required system tools | |
_check_installed_tools() { | |
local missed="" |
this.p2world.on('impact', function(evt){ | |
var playerBody, | |
currentPlayer = this.state.players[client.sessionId]; | |
console.log('Body positions: ', evt.bodyA.position, evt.bodyB.position); | |
if (evt.bodyA.hasOwnProperty('playerId')) { | |
playerBody = evt.bodyA; | |
} else if (evt.bodyB.hasOwnProperty('playerId')) { | |
playerBody = evt.bodyB; |
find . -type f -name "*Test.php" -exec sed -i '' s/@cover/c_over/g {} + | |
find . -type f -name "*Test.php" -exec sed -i '' s/@use/u_se/g {} + |