Skip to content

Instantly share code, notes, and snippets.

View zeddee's full-sized avatar

Zed zeddee

View GitHub Profile

General Notes on C

Notes in an attempt to document a C library.

Pointers

You can write C pointers in the following ways:

  • someType* somePtr;
@zeddee
zeddee / post-vs-get.md
Last active August 7, 2019 11:00
POST requests more secure than GET requests?
  • Was inspecting a REST API reference, and found that all requests are POST requests.
  • Reason given was that POST requests are more secure than GET requests, presumably because you don't send data in the URL query
  • But...insufficient reason?
  • API key is sent in header.
  • Otherwise no difference in the interface; comes down to how the REST API server resolves the request.
  • POST requests are usually used to create resources.
  • So having all REST endpoints as POST endpoints is weird because

Security Articles August 2019

GIJN Digital Security

Good resource. Many cheatsheets at the bottom of article.

Source: Global Investigative Journalism Network, "Digital Security". Available: https://gijn.org/digital-security/

Digital security basics.

Distributed writing (WIP)

Table of Contents

1. Introduction

  • Writing is a result of a tension between lone creative work and collaborative work.

  • Lone creative work is necessary because writing involves being able to form (and re-form continually) and manage a clear mental

Great resources for learning HTML

  • Don’t Fear the Internet: http://dontfeartheinternet.com/

    • Great beginner’s resource, written from a beginner’s point of view. Jessica Hisch is a great person to follow in general.

  • Scrimba: https://scrimba.com/

    • Interesting learning platform — courses are videos that you can type inside of.

    • Has courses for all levels.

  • Smashing Magazine: https://www.smashingmagazine.com/articles/

    • Design oriented, and written in conversational style. May need a bit of searching to get to the articles you want.

    • Great for all levels, beginner to advanced.