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
| [variable] | |
| name='speed' | |
| value=''+[DataCorePlugin.TurboLevel]+'%' | |
| [variable] | |
| name='currentGear' | |
| value=[DataCorePlugin.GameData.NewData.Gear] | |
| [variable] | |
| name='label' |
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 React, { useState, useEffect } from 'react' | |
| import Layout from '../components/layout' | |
| import withAuth from '../util/withAuth'; | |
| import { Routes, Roles } from '../constants'; | |
| import Sidebar from '../components/sidebar'; | |
| import noop from 'lodash/noop'; | |
| import { authHeader } from '../api/common'; | |
| import deepmerge from 'deepmerge'; | |
| import 'abortcontroller-polyfill/dist/abortcontroller-polyfill-only'; |
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 | |
| # Wayback machine downloader | |
| #TODO: Remove redundancy (download only newest files in given time period - not all of them and then write over them) | |
| ############################ | |
| clear | |
| #Enter domain without http:// and www. | |
| domain="google.com" | |
| #Set matchType to "prefix" if you have multiple subdomains, or "exact" if you want only one page | |
| matchType="domain" |
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/php | |
| <?php | |
| namespace ecoreng; | |
| class HostsEditor | |
| { | |
| // linux [run as root] | |
| protected $hosts = '/etc/hosts'; | |
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 ($_SERVER['REMOTE_ADDR'] == 'My.IP.address.!') { | |
| error_reporting(E_ALL); | |
| ini_set("display_errors", 1); | |
| // do stuff | |
| } | |
| ?> |