Skip to content

Instantly share code, notes, and snippets.

@akoshodi
akoshodi / MoodleValetDriver.php
Created May 26, 2024 12:07 — forked from sandeepgill/MoodleValetDriver.php
Laravel Valet Moodle driver
<?php
class MoodleValetDriver extends BasicValetDriver
{
protected $isStyleUri = false;
protected $baseUri = '';
protected $moodleStaticScripts = [
'styles.php',
'javascript.php',
'jquery.php',
@akoshodi
akoshodi / System Design.md
Created December 5, 2022 19:12 — forked from vasanthk/System Design.md
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@akoshodi
akoshodi / no-coding-assigment.md
Created February 26, 2018 16:11 — forked from iwangu/no-coding-assigment.md
A prospective employer invited me to do a HackerRank test. Here's my proposed alternative.

Hi there! Thanks for offering me a coding assigment test. I see that this can be a useful method to compare different candidates applying for the XYZ-Role. I would like to kindly ask if you have some leeway in finding an alternative way to evaluate my coding skills? I have written a number of open-source projects/spoke at conferences/worked as a coding-teacher/did XYZ and I would love to showcase this to your engineers:

LIST STUFF YOU DID

These are just some projects I picked that demonstrate not just skill in programming but also in math, design and XYZ.

Please can I kindly ask you to check with your engineers and/or the hiring manager to perhaps have a look/conduct a code review and/or ask me to add a feature or resolve a bug?

I checked that ABC is doing a lot of XYZ and I opened a Github issue extra for ABC (LINK TO GITHUB ISSUE). I can program this feature/fix that bug within a given timeframe and then discuss the written code with one of your engineers?

@akoshodi
akoshodi / curriculum.md
Created February 3, 2018 03:08 — forked from jaybobo/curriculum.md
SQL & Databases 101

Here's the curriculum for the course. It's a good idea to bring a laptop to our biweekly sessions.

SQL & Databases Curriculum

  1. SQL basics
  2. Getting Help
  3. Using documentation
  4. Create a github.com account
    • Learn to use git
    • Put your files on your github page
  5. Connecting to databases & using SQLite
@akoshodi
akoshodi / postgres-cheatsheet.md
Created November 7, 2017 16:55 — forked from Kartones/postgres-cheatsheet.md
PostgreSQL command line cheatsheet

PSQL

Magic words:

psql -U postgres

Some interesting flags (to see all, use -h):

  • -E: will describe the underlaying queries of the \ commands (cool for learning!)
  • -l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)

Keybase proof

I hereby claim:

  • I am akoshodi on github.
  • I am akoshodi (https://keybase.io/akoshodi) on keybase.
  • I have a public key ASB_2MAINxUek74mHz90BCn3usRiXC3-8qwx9UPOsOdVFwo

To claim this, I am signing this object:

@akoshodi
akoshodi / README.md
Created January 31, 2017 10:15 — forked from hofmannsven/README.md
My simply Git Cheatsheet
@akoshodi
akoshodi / README.md
Created January 31, 2017 10:12 — forked from hofmannsven/README.md
Simple Command Line Cheatsheet
@akoshodi
akoshodi / README.md
Created January 31, 2017 10:04 — forked from hofmannsven/README.md
Notes on working with Laravel 5
@akoshodi
akoshodi / README.md
Created January 31, 2017 10:03 — forked from hofmannsven/README.md
Notes on working with JetBrains PhpStorm IDE on Mac OS X.