Skip to content

Instantly share code, notes, and snippets.

@ajumalp
ajumalp / Install Mosquitto MQTT on Synology NAS Server.txt
Last active August 30, 2025 07:24
Install Mosquitto MQTT on Synology NAS Server
From https://synocommunity.com add http://packages.synocommunity.com to your NAS package sources.
For that, go to NAS->Package Cnter->Click Settings->Package Sources tab.
Then from the community, you can see Mosquitto. Install it.
After installing, please stop the Mosquitto service before updating configuration. You can start service after changes.
Enable Admin login for Synology
Enable SSH in NAS
Download putty and connect to NAS Server
Login using admin
Change to root user [sudo -i, {use admin password}]
Find mosquitto.conf file [find / -name mosquitto.conf]
@SayanSeth
SayanSeth / npm_proxy.md
Last active August 30, 2025 07:23
Set Proxy in node.js npm Module

npm config set proxy http://10.32.0.1:8080 npm config set https-proxy http://10.32.0.1:8080

git config --global http.proxy [http://(http://proxyuser:proxypwd@proxy.server.com:8080/)

Set Proxy in node.js npm Module

The command to set the proxy are

Set proxy for npm:

@cihanmehmet
cihanmehmet / password-wordlist.txt
Created November 19, 2020 11:34
Password Wordlist(235k)
This file has been truncated, but you can view the full file.
password
princess
123456
sunshine
princess1
abc123
jordan23
blessed1
Password1
'''
notion database synchronization
@dependency:
pip3 install notion_client
'''
from notion_client import Client
from enum import Enum
from collections import namedtuple
@polyfjord
polyfjord / AutoTracker_v1.4.bat
Last active August 30, 2025 07:14
AutoTracker workflow using GLOMAP
:: ================================================================
:: BATCH SCRIPT FOR AUTOMATED PHOTOGRAMMETRY TRACKING WORKFLOW
:: By polyfjord - https://youtube.com/polyfjord
:: GLOMAP mapping (faster), COLMAP for features/matching + TXT export
:: ================================================================
@echo off
setlocal EnableExtensions EnableDelayedExpansion
:: ---------- Resolve top-level folder (one up from this .bat) -----
pushd "%~dp0\.." >nul
@sundowndev
sundowndev / GoogleDorking.md
Last active August 30, 2025 07:12
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"

Details on the iOS "PosterBoard" System, How "Posters" work, and the Basics of Messing With It

(Mainly written by Dulark and Dootskyre with some additional help by MWRevamped)


Overview

  • What is PosterBoard?
@agokrani
agokrani / claude-code-prompt.txt
Last active August 30, 2025 07:03
Claude Code System Prompt
'system':
[
{
'type': 'text',
'text': "You are Claude Code, Anthropic's official CLI for Claude.",
'cache_control': {'type': 'ephemeral'}
},
{
'type': 'text',
'text': 'You are an interactive CLI tool that helps users with software engineering tasks.
@zxdawn
zxdawn / Oneplus_ace2_default_apps
Created February 16, 2023 13:03
We can delete Oneplus default app using adb. Here's the app list of ACE2
$ ./adb shell pm list package
package:android.framework.res.overlay.domestic
package:com.oppo.instant.local.service
package:com.oplus.framework_bluetooth.overlay
package:com.coloros.karaoke
package:com.qti.phone
package:com.oplus.atlas
package:com.android.modulemetadata
package:com.android.connectivity.resources