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 | |
| namespace App\Example; | |
| class Pizza | |
| { | |
| /** | |
| * @var array | |
| */ | |
| protected $toppings; |
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->validate($request, [ | |
| 'frontFile' => 'required|mimes:jpg,jpeg,jpe,png,gif' | |
| ]); | |
| $user = $request->user(); | |
| $path = $request->file('frontFile')->store(sprintf('verfication/%s', $user->id)); | |
| $verification = Verification::where('user_id', $user->id)->first(); | |
| $verificationFile = new VerificationFile(); |
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
| // File Upload in OSSN: | |
| $file->owner_guid = $user->guid; | |
| $file->type = 'object'; | |
| $file->subtype = 'verify'; | |
| $file->setFile('passport-front'); | |
| $file->setPath('verify/'); | |
| $file->setExtension(array( | |
| 'jpg', | |
| 'png', |
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
| $timestamp = time(); | |
| $token = ossn_generate_action_token($timestamp); | |
| <form action="<?= ossn_site_url('action/post/add') ?>" enctype="multipart/form-data" method="post"> | |
| <div id="post-writer"> | |
| <div class="header"> | |
| Schreibe einen Beitrag | |
| </div> | |
| <div class="body"> |
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 bash | |
| sudo apt-get update | |
| sudo apt-get install -y apache2 | |
| # create desired folders | |
| if ! [ -L /var/www/html/foxpal ]; then | |
| rm -rf /var/www/html/foxpal | |
| ln -sf /vagrant /var/www/html/foxpal | |
| fi |
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
| position: fixed; | |
| top: 0; | |
| z-index: 1000; |
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 bash | |
| sudo apt-get update | |
| sudo apt-get install -y apache2 | |
| # create the html dir if its not present | |
| if ! [ -L /var/www/html ]; then | |
| rm -rf /var/www/html | |
| ln -fs /vagrant /var/www/html | |
| fi |
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
| if (count($params['values']) > 0) { | |
| foreach($params['values'] as $key => $value) { | |
| $params['values'][$key] = mysqli_real_escape_string($Ossn->dbLINK, $value); | |
| } | |
| } |
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
| {% extends 'base.html.twig' %} | |
| {% block body %} | |
| <section class="section bg-gray"> | |
| <div class="container"> | |
| <div class="row"> | |
| <div class="col-sm-12"> | |
| <h3>Allgemeine Geschäftsbedingungen</h3><br /> | |
| <b>§ 1 Allgemeines</b><br /> |
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"?> | |
| <ListOrdersResponse xmlns="https://mws.amazonservices.com/ | |
| Orders/2013-09-01"> | |
| <ListOrdersResult> | |
| <NextToken>2YgYW55IGNhcm5hbCBwbGVhc3VyZS4=</NextToken> | |
| <LastUpdatedBefore>2017-02-25T18%3A10%3A21.687Z</LastUpdatedBefore> | |
| <Orders> | |
| <Order> | |
| <AmazonOrderId>902-3159896-1390916</AmazonOrderId> | |
| <PurchaseDate>2017-02-20T19:49:35Z</PurchaseDate> |