Skip to content

Instantly share code, notes, and snippets.

View atalariq's full-sized avatar

Atalariq atalariq

View GitHub Profile
@atalariq
atalariq / .stignore
Created April 17, 2025 00:12
Syncthing Ignore Pattern
// ============ OS and Editor Junk ============
.DS_Store
ehthumbs.db
Thumbs.db
desktop.ini
Icon?
*.swp
*.swo
*.tmp
~$*
@atalariq
atalariq / sketch.ino
Created November 10, 2024 23:22
Smart Plug ESP-01
/*========================================
* ESP01 ESP8266 PROGRAM
* UNTUK ON OFF RELAY MELALUI WIFI
*========================================
*/
#define BLYNK_PRINT Serial
#define BLYNK_TEMPLATE_ID "TMPL60pRm_mpx"
#define BLYNK_TEMPLATE_NAME "Smart Plug"
#define BLYNK_AUTH_TOKEN "Qq1PRDAO5FvAefRGCRtRK9LUVzz0m_ys"
@atalariq
atalariq / sketch.ino
Created August 29, 2024 07:18
Code for P5 "Rekayasa Teknologi" by Kelompok Basuki
#include "Adafruit_MQTT.h"
#include "Adafruit_MQTT_Client.h"
#include <ESP8266WiFi.h>
/************************* Definisi Pin *********************************/
#define Relay1 D0
/************************* Akses WiFi *********************************/
#define WIFI_ID "SSID" // Ganti sesuai nama WiFi
javascript: Promise.all([import('https://unpkg.com/turndown@6.0.0?module'), import('https://unpkg.com/@tehshrike/readability@0.2.0'), ]).then(async ([{
default: Turndown
}, {
default: Readability
}]) => {
/* Optional vault name */
const vault = "";
/* Optional folder name such as "Clippings/" */
@atalariq
atalariq / simple_translate.json
Created March 20, 2023 02:37
My Personal Simple Translate Configurations JSON File
{
"translationApi": "google",
"deeplPlan": "deeplFree",
"deeplAuthKey": "",
"targetLang": "en",
"secondTargetLang": "id",
"ifShowCandidate": true,
"whenSelectText": "showPanel",
"ifCheckLang": false,
"ifOnlyTranslateWhenModifierKeyPressed": true,
@atalariq
atalariq / cvimrc
Last active October 19, 2021 07:46
My cVim configurations :)
" ============================================
" Settings
" ============================================
set autoupdategist
set cncpcompletion
set ignorecase
set incsearch
set smartcase
set smoothscroll
set typelinkhints
@atalariq
atalariq / vim-vixen.json
Created October 16, 2021 08:04
My vim-vixen (Vim Keybindings Firefox Add-on) configurations
{
"keymaps": {
"0": { "type": "scroll.home" },
":": { "type": "command.show" },
"o": { "type": "command.show.open", "alter": false },
"O": { "type": "command.show.open", "alter": true },
"t": { "type": "command.show.tabopen", "alter": false },
"T": { "type": "command.show.tabopen", "alter": true },
"w": { "type": "command.show.winopen", "alter": false },
"W": { "type": "command.show.winopen", "alter": true },
@atalariq
atalariq / ad
Created September 26, 2021 03:04
Better way to create file or directory.
#!/bin/sh
# ad
# Better way to create file or directory.
# Inspired by:
# - https://github.com/tanrax/terminal-AdvancedNewFile
# - https://github.com/NNBnh/mk
ad() {