Skip to content

Instantly share code, notes, and snippets.

View symm's full-sized avatar
🦄

Gareth Jones symm

🦄
View GitHub Profile
@symm
symm / gist:c66674e05a46c0a01e0f871c703b3316
Created November 18, 2021 19:01
MiSTer Computer Cheat Sheet FAQ
-=MiSTer Computer Cheat Sheet FAQ v1.8.4 by Owlnonymous=-
------------------
Notes: On a few cores " = L Shift+2, * = ], and ? = not working. CAPITALIZED = type command or action. On most cores, leave the .xxx files name extension off the launch command.
Help: I could use help with the MulitComp, and Sinclair QL.
------------------
Amstrad: files DSK, TAPE "
DSK file-
1) load DSK through OSD

Baofeng bf-t1 default frequency

Channel Frequency DCS /CTCSS
ch1 437.150 ct 69.3
ch2 439.250 ct 100.0
ch3 441.750 ct 151.4
ch4 443.450 ct 203.5
ch5 445.550 ct 241.8
[Unit]
Description=RTL-SDR Server
Wants=network-online.target
After=network-online.target
[Service]
ExecStartPre=/bin/sleep 15
ExecStart=/bin/sh -c '/usr/bin/rtl_tcp -a 0.0.0.0 -s 1024000'
{
"workbench.colorTheme": "Dracula",
"editor.fontSize": 12,
"presentationMode.zoomLevel": 4,
"editor.fontFamily": "Fira Code",
"files.autoSave": "onFocusChange",
"window.zoomLevel": 1,
"flow.pathToFlow": "${workspaceRoot}/node_modules/.bin/flow"
}
#!/bin/sh
# File: /usr/local/etc/rc.d/tler.sh
# Enable TLER for drives on boot of Synology
case $1 in
start)
smartctl -d sat -l scterc,70,70 /dev/sda
smartctl -d sat -l scterc,70,70 /dev/sdb
;;
stop)
# Install boot9strap, copy files to another SD and copy luma to CTRNAND
# last changed: 20170923
# author: Some1CP
set SUCCESSMSG "Install + Copy completed successfully"
# Allow NAND writing
allow S:/firm0.bin
allow S:/firm1.bin
allow S:/sector0x96.bin
<?php declare(strict_types=1);
namespace Faker\Provider;
use Faker\Provider\Base as BaseProvider;
class ChickenProvider
{
private static $chickens = [
'pulë',
'oilaskoa',
<?php
function it_decodes_a_json_export_into_a_collection_of_bookmarks()
{
$result = $this->parse(__DIR__ . '/../pinboard_export.json');
$result->shouldHaveType(Collection::class);
$result->shouldHaveCount(3);
$result->shouldContainOnlyInstancesOf(Bookmark::class);
}
/**
* @beforeScenario
*/
public function createSchema()
{
$metadata = $this->entityManager->getMetadataFactory()->getAllMetadata();
if (!empty($metadata)) {
$tool = new SchemaTool($this->entityManager);
$tool->dropSchema($metadata);
$tool->createSchema($metadata);
### Keybase proof
I hereby claim:
* I am symm on github.
* I am gaz (https://keybase.io/gaz) on keybase.
* I have a public key ASCLjhHAu4nSDCuNGpl4HQZGWKvYbJWHXlUj0jr8U1Imrgo
To claim this, I am signing this object: