profile
viewpoint
Bradley Mackey bradleymackey UK bradleymackey.com iOS/Node.js Full Stack

bradleymackey/advent-of-code-19 1

Follow along as I solve AOC '19 as 'Swiftly' as possible ➡️

bradleymackey/AVCamSwift 1

The Swift version of Apple demo project AVCam( https://developer.apple.com/library/ios/samplecode/avcam/introduction/intro.html )

bradleymackey/c-basics 1

Overview of some C fundamentals

bradleymackey/SwiftyFORM 1

iOS framework for creating forms

bradleymackey/2018 0

Student submissions for the WWDC 2018 Scholarship

bradleymackey/ccs-l3-coursework-2018 0

Skeleton code repository for COMP3402/COMP3411 coursework

bradleymackey/CodableFirebase 0

Use Codable with Firebase

bradleymackey/configs 0

Configuration files.

bradleymackey/deep_qa 0

A deep NLP library, based on Keras / tf, focused on question answering (but useful for other NLP too)

created repositorybradleymackey/swift-baseline

Fundamental types and extensions that let me get my work done.

created time in 10 days

startedapple/swift-corelibs-foundation

started time in 22 days

startedtwostraws/SwiftGD

started time in 23 days

startedmxcl/swift-sh

started time in 25 days

startedDrExpresso/SupremeAIO

started time in a month

startedtwostraws/ControlRoom

started time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha b2f3567fb0f199e86ce6824a9ca0ea835dc5fb5a

Update README.md

view details

push time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha 32ec36b876705a9f0632538af4c1657cdb75ecfa

Update README.md

view details

push time in 2 months

issue commentbradleymackey/turbo-boost-disable

Sudo configuration not safe

I think it's solved now. root owns the scripts, then denies writes to other users:

$ sudo chown root:wheel *.sh
$ sudo chmod 4755 *.sh

Thanks for the help by the way.

akx

comment created time in 2 months

created tagbradleymackey/turbo-boost-disable

tagv1.0.1

Shell wrappers for disabling Turbo Boost on macOS

created time in 2 months

release bradleymackey/turbo-boost-disable

v1.0.1

released time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha 2d9f91cf1f6d8b8943b34f9f211edb7895265669

[SECURITY] permissions for executables

view details

push time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha 04f016bdef02b8f0ed209ff1bb3db0a112a4e8ad

[SECURITY] root owns scripts

view details

push time in 2 months

created tagbradleymackey/turbo-boost-disable

tagv1.0

Shell wrappers for disabling Turbo Boost on macOS

created time in 2 months

release bradleymackey/turbo-boost-disable

v1.0

released time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha 10cc0182b27b36887331601a83980930411064b4

[SECURITY] rx permissions for .wakeup

view details

push time in 2 months

issue closedbradleymackey/turbo-boost-disable

Sudo configuration not safe

With the changes in https://github.com/bradleymackey/turbo-boost-disable/commit/2a9cae1f245fcd3afd6e72a09347d8f5136db9d4 , the configuration is not exactly safe either.

Something malicious running as myusername can modify /Users/myusername/turbo-boost-disable/{load,unload}.sh and then execute sudo /Users/myusername/turbo-boost-disable/load.sh to run their code as root.

closed time in 2 months

akx

issue commentbradleymackey/turbo-boost-disable

Sudo configuration not safe

I'll keep it as it is for now. It addresses the main issue but I'll be happy to merge any better PRs.

akx

comment created time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha e51885655b21b9936712d9ee3b14c8a539f19fba

typo

view details

push time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha 50d33be0fdeaa58d1cbab22ab1fc4aac327ca7c2

username instructions

view details

push time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha 72306a491454709cfa93ccf7ebf603a20242214e

visudo to edit

view details

push time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha 7877952eb28822fc5889479a5d1aca9ed6acd206

keep out

view details

push time in 2 months

issue commentbradleymackey/turbo-boost-disable

Sudo configuration not safe

I don't want an arbitrary kextunload command to be run though. Is it not better to only 'whitelist' this one specific script and make that read-execute-only?

akx

comment created time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha 54c37c33fa49a83ee329cd25020432b1aee41cf7

Update README.md

view details

push time in 2 months

issue commentbradleymackey/turbo-boost-disable

Sudo configuration not safe

Does 727d857784a02d05422547db9de69fbffb5c2e5d fix this?

akx

comment created time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha 727d857784a02d05422547db9de69fbffb5c2e5d

security fixes

view details

push time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha 044e8c346cf3dab3c262053670a2c76228a29705

fix running code

view details

Bradley Mackey

commit sha ec692c2560e8ee2db033114857a450c2b82e1c85

Merge branch 'master' of https://github.com/bradleymackey/turbo-boost-disable

view details

Bradley Mackey

commit sha 0fb2d80380e590058f4fa60e9fd84dcfc1421ec8

fix script

view details

push time in 2 months

issue closedbradleymackey/turbo-boost-disable

Password in stored in plaintext during automatic operation

This is a big potential security vulnerability if other users use the computer or if full disk encryption is not enabled. Any suggestions on how to get root in a new shell without requiring the password each time?

closed time in 2 months

bradleymackey

issue commentbradleymackey/turbo-boost-disable

Password in stored in plaintext during automatic operation

README resolves issues. Apologies for this hiccup folks.

bradleymackey

comment created time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha 2a9cae1f245fcd3afd6e72a09347d8f5136db9d4

password no longer required

view details

push time in 2 months

issue openedbradleymackey/turbo-boost-disable

Password in stored in plaintext during automatic operation

This is a big potential security vulnerability if other users use the computer/if full disk encryption is not enabled.

created time in 2 months

startedmaxgoedjen/straw

started time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha 17bc1cea5c247328c647f002d3eee82baf482ff6

fix readme scripts

view details

push time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha 9da54ed5fa64eeb913f2c9a9b33841cb36a27427

Update README.md

view details

push time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha 2587dce1d3eb967c6db94bf2baed49f6654cedf1

Update README.md

view details

push time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha e48b1746dcc4d840f26cf0753fd1e3edce1e04e5

Update README.md

view details

push time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha ff8a46179fb003994c890bd54fa9ec8bdf4afef2

Update README.md

view details

push time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha fd736f496eda1a8230dd5e81338a6544e8912c40

Update README.md

view details

push time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha cd6c30e3052ff1278d43470659240350e7562d7f

Update README.md

view details

push time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha 5f9713db1e6b4d796c057f19c38c5c827a11bc87

Update README.md

view details

push time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha 002cfcc78cc4e5ee75cd012481fa98897a1a82fe

Update README.md

view details

push time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha 57613601a701dab50911c990eecf1d2a705205f4

script now uses env to discover sh and expect

view details

push time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha 0e831a9c4e39092deb44e8166e5da32a39690731

fix issue where kext would not load/unload when called from a different directory

view details

push time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha 273a5cd496e3b2b427281d53f92f6428915804b0

manual control comment

view details

push time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha 77ec410ef1fe07880ff5303601f5274aeab0cffd

add licence info to the cmd line

view details

push time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha e1f7c1eb510f6001caa7dbe64a496b5637546e3b

more rationale to readme

view details

push time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha 81d1cec7fddece3ea2d59054548ceda850845585

improve comments and readme

view details

push time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha 6c252db67652a8ea6882c8e1d32ebe298027d7e9

globbing to make executable

view details

push time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha 1ee5b71b44d97d1b40b1f85756d6f322fe77d592

fix issue where execution would not occur

view details

push time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha e4778762bc132a1434f7f53c2b0852bfb0adb5e3

further improve readme

view details

push time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha 5ddcb9460f023cbfc70f34d4b86f45a072d0f8ec

improve install instructions

view details

push time in 2 months

PublicEvent

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha 830b0110bb932d0152fc496bebab2581b241ec69

update readme

view details

push time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha d60a7fd6b03790ceda71869c215abddf9812edb5

fix licence

view details

push time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha 1d686780884f0dd8fca948e9f6a48abb277ba8b5

improve doc

view details

push time in 2 months

push eventbradleymackey/turbo-boost-disable

Bradley Mackey

commit sha 3446c3ab3d73b7607f2f7750155ff17649469e15

better doc

view details

push time in 2 months

startedkeybase/node-saltpack

started time in 2 months

startedkeybase/saltpack

started time in 2 months

startedmmistakes/minimal-mistakes

started time in 2 months

startedapple/swift-crypto

started time in 2 months

startednanoant/DisableTurboBoost.kext

started time in 2 months

starteddavidmarkclements/overload-protection

started time in 2 months

startednodejs/node

started time in 2 months

startedkbariotis/templates

started time in 2 months

startedlukeed/klona

started time in 3 months

startedonmyway133/DeepDiff

started time in 3 months

startedapple/swift-evolution

started time in 3 months

startedfastred/Optimizing-Swift-Build-Times

started time in 3 months

startedJohnSundell/Publish

started time in 3 months

starteddmytro-anokhin/url-image

started time in 3 months

startedEdOverflow/bugbounty-cheatsheet

started time in 3 months

startedPistonDevelopers/piston

started time in 3 months

startedapple/swift-numerics

started time in 3 months

starteddenoland/deno

started time in 3 months

push eventbradleymackey/advent-of-code-19

Bradley Mackey

commit sha 183bf09daa08931eaf777ebe82e659b0a5add8e4

increase clarity of breakout

view details

push time in 3 months

push eventbradleymackey/advent-of-code-19

Bradley Mackey

commit sha a31d61c10539f4c0adfb6502426d2bc915072b3c

intcode abstracts away variable length instructions

view details

push time in 3 months

push eventbradleymackey/advent-of-code-19

Bradley Mackey

commit sha 2396b1534a6de3a04cabdd99a25be07db95a2a0c

day 13

view details

push time in 3 months

push eventbradleymackey/advent-of-code-19

Bradley Mackey

commit sha e625454529ccbd75723c7ed8ba5afff588f16575

further simplify Intcode by abstracting away the run loop of execution

view details

push time in 4 months

push eventbradleymackey/advent-of-code-19

Bradley Mackey

commit sha 739495d4a50ff22f16e84e2ed008e1953682753b

painter run is now painter paint

view details

push time in 4 months

push eventbradleymackey/advent-of-code-19

Bradley Mackey

commit sha 30fe44e84da9e026ec05b167f321526f23f26f28

clearer turn and move semantics

view details

push time in 4 months

push eventbradleymackey/advent-of-code-19

Bradley Mackey

commit sha 73328c378586ecebd80e099edb8b10d5a4963fe0

painter state now reset each run, option to flip output ASCII

view details

push time in 4 months

push eventbradleymackey/advent-of-code-19

Bradley Mackey

commit sha 1763bd87a7c0dff9c00bc87237448c8b3582d246

day 11, not doing day 10 now because it looks like it takes too long

view details

push time in 4 months

push eventbradleymackey/advent-of-code-19

Bradley Mackey

commit sha 9f570c1eb5725a9fe66302d09426c937ddb8c488

add my inputs to directory

view details

Bradley Mackey

commit sha 3e90af3e391c0b218d8935b6f2b0dd014ea0ac87

add day 11 input

view details

push time in 4 months

push eventbradleymackey/advent-of-code-19

Bradley Mackey

commit sha 349a0613acbbce88055519cca3c495283387c920

day 7 follow naming conventiopn

view details

push time in 4 months

push eventbradleymackey/advent-of-code-19

Bradley Mackey

commit sha 5383db5c90c9bc4c41a54fe229ae185ae581afe0

better description of memory format

view details

push time in 4 months

push eventbradleymackey/advent-of-code-19

Bradley Mackey

commit sha b76b6c1cc3d7a26cd182df292a0e213df1015652

clearer parameter mode parsing

view details

push time in 4 months

push eventbradleymackey/advent-of-code-19

Bradley Mackey

commit sha 99eab0f04fa47e7c2b05680f7a947c2ff95cc402

Create licence file

view details

push time in 4 months

push eventbradleymackey/advent-of-code-19

Bradley Mackey

commit sha 3eea9d62d3bdf431ea5570a645c8f537d827ddba

change licence text

view details

push time in 4 months

push eventbradleymackey/advent-of-code-19

Bradley Mackey

commit sha 5f2682102b5ed890316b90151498e83d004cc8aa

day 9 - move intcode to its own file, memory model of intcode is now sparse

view details

push time in 4 months

push eventbradleymackey/advent-of-code-19

Bradley Mackey

commit sha 1c4c5eae952615899b4300dbf0d6d3ba761fa190

rename files for better ordering

view details

push time in 4 months

startedsveltejs/svelte

started time in 4 months

push eventbradleymackey/advent-of-code-19

Bradley Mackey

commit sha db2e6d7ff57e7edd9b2dff5bad8b4229db800e47

faster day 4 by removing sort

view details

push time in 4 months

push eventbradleymackey/advent-of-code-19

Bradley Mackey

commit sha 3fa3b52d5cd459fbcf80b5db8332b8719cdab520

simplify part 2

view details

push time in 4 months

push eventbradleymackey/advent-of-code-19

Bradley Mackey

commit sha 6c870362e3ed9b9d08aa149ab532fc0175c8c7d7

part one more true to challenge spec

view details

push time in 4 months

push eventbradleymackey/advent-of-code-19

Bradley Mackey

commit sha 38ac3b3fc3b8a623a8be3173ea89e86258ce4096

cleaner config parsing code

view details

push time in 4 months

push eventbradleymackey/advent-of-code-19

Bradley Mackey

commit sha 4441b90c9db370b445b79691fd2ed1efaf7344f1

clearer comments

view details

push time in 4 months

push eventbradleymackey/advent-of-code-19

Bradley Mackey

commit sha 2908452be1ae41c29f0c0dd984604bdf21d01ec9

day 8

view details

push time in 4 months

push eventbradleymackey/advent-of-code-19

Bradley Mackey

commit sha 1d68b9b2823e5aecd13cb604204ae95bc04c8495

add next few days, remove created date from files

view details

push time in 4 months

push eventbradleymackey/advent-of-code-19

Bradley Mackey

commit sha 37bde7db3fd0d74dfbc3a113f489a2f2d0f2f37a

cleaner Intcode API, remove computer abstraction from OutputSequence, this is now an injected dependency to make the semantics clear

view details

push time in 4 months

push eventbradleymackey/advent-of-code-19

Bradley Mackey

commit sha 7e7ba3c81767c0d3484c005463863093f4109c9a

rename for clarity

view details

push time in 4 months

more