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 | |
| require __DIR__.'/vendor/autoload.php'; | |
| set_time_limit(600); | |
| $app = require_once __DIR__.'/bootstrap/app.php'; | |
| $app->make(\Illuminate\Contracts\Console\Kernel::class)->bootstrap(); | |
| use Statamic\Facades\Stache; | |
| use Statamic\Facades\Entry; |
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/sh | |
| # /etc/rc.d/rc.inet1 | |
| # This script is used to bring up the various network interfaces. | |
| # | |
| # @(#)/etc/rc.d/rc.inet1 10.2 Sun Jul 24 12:45:56 PDT 2005 (pjv) | |
| # Adapted by Bergware for use in unRAID - April 2016 | |
| # - improved interface configuration | |
| # - added VLAN (sub-interface) support | |
| # - removed wireless (unsupported) |
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 python | |
| # | |
| # Generates a PBKDF2 hash for qBittorrent WebUI password. This is useful for setting the password in the config file. | |
| # | |
| # NOTE: Hashing algorithm must match https://github.com/qbittorrent/qBittorrent/blob/master/src/base/utils/password.cpp | |
| # | |
| # Usage: python qbittorrent_hash.py | |
| # | |
| # Author: Beau Hastings (https://github.com/hastinbe) | |
| # Date: 2024-01-09 |
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
| import 'package:architecture_playground/home_page.dart'; | |
| import 'package:architecture_playground/services.dart'; | |
| import 'package:flutter/material.dart'; | |
| void main() async { | |
| // perform long-running tasks before "runApp" to display the native splash screen | |
| final services = await Services.initialize(); | |
| runApp(ServicesProvider( | |
| services: services, |
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
| *.html diff=html | |
| *.inc diff=php | |
| *.php diff=php | |
| *.phtml diff=php |
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
| #HOWTO Run Sia host on Ubuntu server | |
| #Updated: 13 august, 2016 | |
| #Tested with Sia 1.0.2 and Ubuntu 16.04 | |
| #Update 13.08.2016: Changed from using supervisor to systemd | |
| # Create user `siad` | |
| adduser siad | |
| su siad |
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 DEFAULT_SELL_DELAY_IN_SECONDS = 60; | |
| function showReactorMenu() { | |
| $('#reactorsButton').click(); | |
| } | |
| function selectReactor(name) { | |
| var reactors = $('.reactorSelect'); | |
| var reactor = reactors.find('.description:contains("' + name + '")').parent(); | |
| var selectButton = reactor.children('.button'); |
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
| defmodule Terraria.IO.WorldFile do | |
| @moduledoc false | |
| import Terraria.BinaryUtils | |
| use Bitwise, only_operators: true | |
| alias Terraria.IO.FileData | |
| alias Terraria.IO.FileMetadata | |
| alias Terraria.IO.WorldFileData |
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
| Current map: orig.wld | |
| Current release: 156 | |
| Map release: 156 | |
| File type: World | |
| Revision: 1120 | |
| IsFavorite? N | |
| World name: PTS 151003, ID=1246390825 | |
| World rect: left=0 right=134400 top=0 bottom=38400 | |
| Max tiles: X=8400 Y=2400 | |
| Expert? N |
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 | |
| # | |
| # fixup-ids | |
| # | |
| # Searches and replaces integer literals with their equivalent enumerated type | |
| # | |
| # Requires: | |
| # dos2unix | |
| # GNU awk >= 4.1.0 | |
| # |
NewerOlder