Skip to content

Instantly share code, notes, and snippets.

View dehamzah's full-sized avatar
🦉
Morning Owl

Dede Hamzah dehamzah

🦉
Morning Owl
  • Indonesia
View GitHub Profile
@dehamzah
dehamzah / note.md
Created June 23, 2026 01:33
Linux Audio Fix: Asus ROG Strix GL553VD (Silent Speakers)

Problem

After installing Xubuntu 24.04 Minimal, there was no audio output from the built-in laptop speakers. PipeWire and WirePlumber were running perfectly in the background, but no sound was physically coming out.

How to Verify If It Is the Same Issue

Before applying any fixes, you need to check which audio driver the kernel has active. Run this command in your terminal:

lspci -v | grep -A7 -i audio
@dehamzah
dehamzah / now.json
Created April 14, 2020 14:46
now.json config url rewrite for react app
{
"name": "supertesting-test2",
"alias": "supertesting-test2.now.sh",
"version": 2,
"builds": [
{
"src": "package.json",
"use": "@now/static-build"
}
],
@dehamzah
dehamzah / readme.md
Created April 14, 2020 14:34
Stop google bot crawling your web

in robots.txt

User-agent: *
Disallow: /

this will not allow the crawler access your website, will work if your web haven't been indexed.


@dehamzah
dehamzah / readme.md
Created April 12, 2020 10:10
react native 0.56.0 cannot find ios simulator in catalina

run this to debug available simulator

xcrun simctl list --json devices

basicly this json output is what react-native run-ios parse to find the matching simulator.


@dehamzah
dehamzah / script.sh
Created March 5, 2020 09:18
Generating new keystore
keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000
@dehamzah
dehamzah / run.sh
Last active June 30, 2020 15:39
Create read only mysql database user
# Login
$ mysql -u root -p
# Check privileges
$ SHOW GRANTS FOR 'read-only_user_name'@'%';
# Remove the privileges if any
$ REVOKE ALL PRIVILEGES ON database_name.* FROM 'read-only_user_name'@'%';
@dehamzah
dehamzah / .eslintrc
Created June 6, 2018 07:41
ES Lint Setup for React Native
{
"parser": "babel-eslint",
"env": {
"browser": true
},
"plugins": [
"react",
"react-native"
],
"ecmaFeatures": {
> $ gulp ⬡ 8.9.4 [±master ●●]
[07:03:45] Using gulpfile /media/dehamzah/ssd/projects/projects/bps-satu-data/satudata-mobile-ionic/gulpfile.js
[07:03:45] Starting 'sass'...
[07:03:45] Starting 'index'...
[07:03:45] Starting 'scripts'...
[07:03:45] Starting 'styles'...
[07:03:45] Starting 'clean-templates'...
[07:03:45] Starting 'clean-images'...
[07:03:45] Starting 'lib'...
info: Preening: ngCordova