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
| [Unit] | |
| Description=Some Service | |
| After=network.target | |
| [Service] | |
| Restart=always | |
| Type=simple | |
| User=root | |
| ExecStart=/usr/local/bin/[binary-name] |
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
| #!/bin/bash | |
| apt update | |
| apt install -y build-essential libssl-dev software-properties-common git libminiupnpc-dev | |
| add-apt-repository ppa:bitcoin/bitcoin | |
| apt update | |
| apt install -y libdb4.8-dev libdb4.8++-dev libboost-all-dev | |
| cd src/ | |
| make -f makefile.unix |
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
| function emailResponse(e) { | |
| var form = FormApp.getActiveForm(); | |
| var formResponses = form.getResponses(); | |
| for (var i = 0; i < formResponses.length; i++) { | |
| var formResponse = formResponses[i]; | |
| var itemResponses = formResponse.getItemResponses(); | |
| var output = ""; | |
| var htmlOutput = "<h1>Form Response</h1><hr>"; | |
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\Console\Commands; | |
| use DB; | |
| use Illuminate\Console\Command; | |
| use Illuminate\Support\Facades\Schema; | |
| class DBClear extends Command | |
| { |
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\Http\Controllers\Auth; | |
| use App\Http\Controllers\Controller; | |
| use Illuminate\Foundation\Auth\AuthenticatesUsers; | |
| use Illuminate\Http\Request; | |
| use Illuminate\Routing\UrlGenerator; | |
| class LoginController extends Controller |
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
| Const ForReading = 1 | |
| Const ForWriting = 2 | |
| Set objFSO = CreateObject("Scripting.FileSystemObject") | |
| Set objRegEx = CreateObject("VBScript.RegExp") | |
| objRegEx.Global = True | |
| objRegEx.IgnoreCase = True | |
| objRegEx.Pattern = "\""" | |
| File1 = WScript.Arguments.Item(0) |
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
| SELECT | |
| `wp_postmeta_1`.`meta_value` | |
| FROM | |
| `wp_postmeta` | |
| INNER JOIN `wp_postmeta` `wp_postmeta_1` | |
| ON `wp_postmeta`.`meta_value` = `wp_postmeta_1`.`post_id` | |
| WHERE | |
| (`wp_postmeta`.`post_id` = 12345) AND | |
| (`wp_postmeta`.`meta_key` = '_thumbnail_id') AND | |
| (`wp_postmeta_1`.`meta_key` = '_wp_attached_file') |
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 | |
| if (class_exists('PhpCsFixer\Finder')) { | |
| $finder = PhpCsFixer\Finder::create() | |
| ->in(__DIR__) | |
| ; | |
| return PhpCsFixer\Config::create() | |
| ->setRules(array( | |
| '@PSR2' => true, |
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
| /node_modules | |
| /public/storage | |
| /vendor | |
| /.idea | |
| Homestead.json | |
| Homestead.yaml | |
| .env* | |
| *bower_components* | |
| *.js.map | |
| *.css.map |