Skip to content

Instantly share code, notes, and snippets.

View rescenic's full-sized avatar
🌏
DevOps Engineer

Muhammad Ridwan Hakim, S.T., CPITA, ITPMCP rescenic

🌏
DevOps Engineer
View GitHub Profile
@rescenic
rescenic / readme.md
Created April 13, 2024 01:37 — forked from titounnes/readme.md
Konfigurasi Sublime Text 3 Favorit. Dikumpulkan dengan penuh ❤︎ oleh Ian Mustafa.

Konfigurasi Sublime Text 3 Favorit

Dikumpulkan dengan penuh ❤︎︎ oleh Ian Mustafa.

Konfigurasi

Bisa diakses melalui Ctrl+Shift+P (atau +Shift+P di Mac).

{
@rescenic
rescenic / nodejs-express.md
Last active May 17, 2024 14:02
NodeJS Express Snippets

exphs Creates a Express Http Server exphms Creates a Express Http Module Style Server expcrudr Express CRUD Routes Structure expmhs Express Mongooose Http Server expmhms Express Mongoose Http modeule Style Server mmmts Mongoose Model for NodeJs module type style

Snippet Renders requ create require statement exstatic Express set the static folder

SQL Queries :
SELECT ( get data from table )
---------------------------------
SELECT <field_list>
FROM <schema>.<table_name> AS <alias>
<LEFT|RIGHT|FULL|INNER|OUTTER> JOIN <table_join_name> AS <table_join_alias>
WHERE <where clause>
GROUP BY <group by clause>
ORDER BY <order by clause>
@rescenic
rescenic / gist:4d705fd6ea0bdcc8c78790e647f804d1
Created November 9, 2024 13:52 — forked from dannysmith/gist:9780920
Installing Canvas LMS
# Download the source
git clone https://github.com/instructure/canvas-lms.git canvas
cd canvas
git checkout --track -b stable origin/stable
rbenv install –keep 1.9.3-p545
rbenv local 1.9.3-p545
brew install xmlsec1 postgresql
bundle install
# If you get this error: No source for ruby-1.9.3-p545 provided with debugger-ruby_core_source gem.
import face_recognition
import cv2
import numpy as np
import argparse
import os
def apply_blur(image, region, light_blur=False):
"""Menerapkan efek blur dengan intensitas berbeda"""
try:
top, right, bottom, left = region