feat(resources): tweak external resources & visuals

This commit is contained in:
Jean-Philippe Sirois
2020-05-13 06:31:58 -04:00
parent 34047cc05c
commit 2a1d8626bd
15 changed files with 123 additions and 120 deletions
@@ -4,8 +4,10 @@ authors:
created_at: "2020/04/22"
title: "Deploying discord bots written in Kotlin to Heroku"
external_resources:
- "https://devcenter.heroku.com/articles/getting-started-with-java#introduction"
- "https://github.com/heroku/java-sample"
- text: Getting Started on Heroku with Java
href: "https://devcenter.heroku.com/articles/getting-started-with-java#introduction"
- text: Java Sample (on GitHub)
href: "https://github.com/heroku/java-sample"
---
Over my time in TPH, I have noticed that a common woe aspiring bot developers have is that they are unable to host
+2 -1
View File
@@ -4,7 +4,8 @@ authors:
title: "An introduction to Streams"
created_at: 2019/12/15
external_resources:
- https://winterbe.com/posts/2014/07/31/java8-stream-tutorial-examples/
- text: Java8 Stream Tutorial
href: https://winterbe.com/posts/2014/07/31/java8-stream-tutorial-examples/
---
## An introduction to Streams
@@ -4,9 +4,12 @@ authors:
title: "Spread operator"
created_at: 2019/08/10
external_resources:
- "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax"
- "https://javascript.info/rest-parameters-spread-operator"
- "https://www.freecodecamp.org/news/spread-operator-and-rest-parameter-in-javascript-es6-4416a9f47e5e/"
- text: MDN Spread Operator
href: "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_syntax"
- text: Javascript.info Spread/rest
href: "https://javascript.info/rest-parameters-spread-operator"
- text: Freecodecamp.org Spread/rest
href: "https://www.freecodecamp.org/news/spread-operator-and-rest-parameter-in-javascript-es6-4416a9f47e5e/"
---
# An overview of the spread operator
@@ -4,8 +4,10 @@ authors:
created_at: "2019/08/23"
title: "Creating C bindings with Kotlin/Native"
external_resources:
- "https://kotlinlang.org/docs/reference/native/c_interop.html"
- "https://github.com/JetBrains/kotlin-native/releases"
- text: KotlinLang.org C-interop reference
href: "https://kotlinlang.org/docs/reference/native/c_interop.html"
- text: Kotlin releases on GitHub
href: "https://github.com/JetBrains/kotlin-native/releases"
---
## Interoperability with C
@@ -4,14 +4,22 @@ authors:
created_at: "2019/07/27"
title: Singletons
external_resources:
- https://en.wikipedia.org/wiki/Singleton_pattern
- https://phpenthusiast.com/blog/the-singleton-design-pattern-in-php
- https://phptherightway.com/pages/Design-Patterns.html#singleton
- https://www.php.net/manual/en/language.oop5.static.php
- https://www.php.net/manual/en/language.oop5.late-static-bindings.php
- https://en.wikipedia.org/wiki/Static_(keyword)
- https://en.wikipedia.org/wiki/Null_coalescing_operator
- https://www.php.net/manual/en/migration70.new-features.php#migration70.new-features.null-coalesce-op
- text: Wikipedia.org Singleton Pattern
href: https://en.wikipedia.org/wiki/Singleton_pattern
- text: phpenthusiast.com Singleton Pattern
href: https://phpenthusiast.com/blog/the-singleton-design-pattern-in-php
- text: phptherightway.com Singleton Pattern
href: https://phptherightway.com/pages/Design-Patterns.html#singleton
- text: php.net Static Keyword
href: https://www.php.net/manual/en/language.oop5.static.php
- text: php.net Late Static Bindings
href: https://www.php.net/manual/en/language.oop5.late-static-bindings.php
- text: Wikipedia.org Static Keyword
href: https://en.wikipedia.org/wiki/Static_(keyword)
- text: Wikipedia.org Null Coalescing Operator
href: https://en.wikipedia.org/wiki/Null_coalescing_operator
- text: php.net Null coalescing operator
href: https://www.php.net/manual/en/migration70.new-features.php#migration70.new-features.null-coalesce-op
---
A singleton is a class which is only instantiated once during runtime. This is done by keeping a static property containing its instance on the singleton class.
@@ -4,8 +4,10 @@ authors:
created_at: "2019/08/07"
title: Prepared Statements
external_resources:
- https://www.php.net/manual/en/class.pdostatement.php
- https://phptherightway.com/#pdo_extension
- text: php.net The PDOStatement class
href: https://www.php.net/manual/en/class.pdostatement.php
- text: phptherightway.com PDO Extension
href: https://phptherightway.com/#pdo_extension
---
The PDO driver supports prepared statements. A prepared statement is a template statement with placeholders which can be executed with real values. Prepared Statements are also essential for avoiding SQL-injection attacks.