Skip to content

Instantly share code, notes, and snippets.

View symm's full-sized avatar
🦄

Gareth Jones symm

🦄
View GitHub Profile
# 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:
Anti Hijack Feature
1. Turn on ignition until the dash lights come on but don't start engine!
2. Lock the door using the lever on the door handle and then unlock 3 Times
3. Turn off ignition
4. Repeat 2 but with ignition OFF
@symm
symm / Makefile
Created November 5, 2016 14:17
avrfid
# Hey Emacs, this is a -*- makefile -*-
# AVR-GCC Makefile template, derived from the WinAVR template (which
# is public domain), believed to be neutral to any flavor of "make"
# (GNU make, BSD make, SysV make)
MCU = attiny85
FORMAT = ihex
TARGET = avrfid
diff --git a/utils/nfc-mfclassic.c b/utils/nfc-mfclassic.c
index 1242886..8d9c6f0 100644
--- a/utils/nfc-mfclassic.c
+++ b/utils/nfc-mfclassic.c
@@ -431,8 +431,8 @@ write_card(int write_block_zero)
}
} else {
// The first block 0x00 is read only, skip this
- if (uiBlock == 0 && ! write_block_zero && ! magic2)
- continue;
@symm
symm / unix
Last active July 3, 2016 10:14 — forked from xero/unix
curl -L git.io.unix
,_ ,_==▄▂
, ▂▃▄▄▅▅▅▂▅¾. / /
▄▆<´ "»▓▓▓%\ / / / /
,▅7" ´>▓▓▓% / / > / >/%
▐¶▓ ,»▓▓¾´ /> %/%// / /
▓▃▅▅