Skip to content

Instantly share code, notes, and snippets.

ArtisKrumins / Fedora32
Last active Jun 2, 2020
Setting up Lando on Fedora 32
View Fedora32
ArtisKrumins /
Last active Feb 1, 2020
Firefly III setup with Lando

Steps to run Firefly III with Lando

  1. Install Lando
  2. Create new folder: mkdir [name] and go to this directory cd [name]
  3. Create Lando config file: (vim .lando.yml) and paste content below and save:
name: firefly
recipe: lamp
  php: '7.3'
View opigno_students_who_hasnt_take_course_list.patch
diff --git a/includes/group/course/ b/includes/group/course/
index 1030014..d1ecd42 100644
--- a/includes/group/course/
+++ b/includes/group/course/
@@ -273,21 +273,61 @@ function opigno_statistics_app_query_course_students_results($course_nid) {
", array(
':course_nid' => $course_nid
+ // Put on array, so can this can be merged and find unique results
+ while ($user = $result->fetchAssoc()) {
ArtisKrumins / 0_reuse_code.js
Created Mar 16, 2016
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console