Skip to content

Instantly share code, notes, and snippets.

View febriliankr's full-sized avatar

Febrilian febriliankr

View GitHub Profile
The Canadian Network for Mood and Anxiety Treatments (CANMAT) published evidence-based clinical guidelines for the treatment of depressive disorders in 2009, with an updated version in 2016. The guidelines include recommendations for complementary and alternative medicine (CAM) treatments as part of the management of unipolar major depressive disorder in adults. The use of CAM treatments is popular among individuals with mental illness, including depression, but often lacks medical supervision and considers possible interactions with existing medications. The guidelines focus on physical and meditative forms of CAM treatments due to limited evidence on the efficacy of other therapies.
This article reviews various treatments and natural health products for depression, including light therapy, sleep deprivation, exercise, yoga, and acupuncture, as well as St. John’s wort, omega-3 fatty acids, and other supplements. The evidence for these treatments is limited, and the quality of research varies, making it chal
In 2009, the Canadian Network for Mood and Anxiety Treatments (CANMAT), a not-for-profit scientific and educational organization, published a revision of evidence-based clinical guidelines for the treatment of depressive disorders.1 CANMAT has updated these guidelines in 2016 to reflect new evidence in the field. This section on complementary and alternative medicine (CAM) treatments is 1 of 6 guidelines articles; other sections expand on principles of care, psychological treatments, pharmacological treatments, neurostimulation treatments, and special populations. As before, the scope of these guidelines remains the management of adults with unipolar major depressive disorder (MDD). These recommendations are presented as guidance for clinicians who should consider them in context of individual patients and not as standards of care.
While definitions of CAM treatments vary widely, they can be broadly defined as “a group of diverse medical and health care systems, practices, and products that are not generally
# open popup session in the current path, so single key can open or close popup with ease
bind-key -n M-u if-shell -F '#{==:#{session_name},scratch}' {
# Detach the client if the current session is "scratch"
detach-client
} {
# Check if a popup is already open to prevent multiple popups
if-shell '[ -n "#{popup_pid}" ]' {
display-message "Popup already open"
} {
# Capture the current path and display a popup to open or attach to "scratch" session
@febriliankr
febriliankr / go.mod
Created March 10, 2024 03:29
rate my go mod!
require (
github.com/arturwwl/gointtoletters v0.0.1
github.com/aws/aws-sdk-go v1.44.210
github.com/aws/aws-sdk-go-v2/config v1.18.34
github.com/aws/aws-sdk-go-v2/credentials v1.13.33
github.com/aws/aws-sdk-go-v2/service/sesv2 v1.19.3
github.com/caarlos0/env/v6 v6.10.1
github.com/carlmjohnson/requests v0.23.5
github.com/dgrijalva/jwt-go v3.2.0+incompatible
github.com/go-playground/validator v9.31.0+incompatible
@febriliankr
febriliankr / server.go
Created March 6, 2024 13:11
Loki Logrus Hook: Error
package server
import (
"context"
"fmt"
"net/http"
"os"
"os/signal"
"path/filepath"
"time"
@febriliankr
febriliankr / docker-compose.yml
Last active March 6, 2024 11:00
Grafana Loki
version: "3"
networks:
loki:
services:
loki:
image: grafana/loki:2.9.4
ports:
- "3100:3100"
@febriliankr
febriliankr / docker-compose.yml
Last active January 28, 2024 14:04
Docker compose for multiple apps
version: "3"
services:
client:
container_name: nextjs-client
build:
context: ./next-client
ports:
- "3000:3000"
networks:
- mynetwork
@febriliankr
febriliankr / rstudio_for_health_research.R
Created October 14, 2023 06:26
Code displayed in RStudio for Health Research https://risetku.com/academy
# Basic Math
1 + 2
10/2
# Literal
TRUE
# Assign variable
object <- "object"
object
@febriliankr
febriliankr / download.js
Created July 16, 2023 03:14
Downloading Blob File in React
const { data } = await api.get(
`/excel`,
{
responseType: "blob",
}
);
const url = URL.createObjectURL(data);
const link = document.createElement("a");
link.style.display = "none";
link.href = url;
@febriliankr
febriliankr / daysbeforedate.go
Created July 11, 2023 10:42
Days Before Date
package main
import (
"fmt"
"time"
)
func daysFromNow(targetTime time.Time) int {
// Convert to capture date only, without time
year, month, day := time.Now().Date()