Skip to content

Instantly share code, notes, and snippets.

View hid0's full-sized avatar
🎯
Focusing

Faiz Hidayatulloh hid0

🎯
Focusing
View GitHub Profile
@loftywaif002
loftywaif002 / api_keys_android.md
Last active June 4, 2024 13:03
Hiding Api Keys in Anroid

Hiding API keys in local.properties

  1. Make sure your build directory is gitignored. It should be, by default, in a new Android Studio project -- you can double check by making sure that your .gitignore file contains the line:
/build
  1. In your project root directory, add the API key to local.properties file like this:
@mul14
mul14 / 00_etc-hosts.md
Last active July 22, 2024 03:49
/etc/hosts for Vimeo, Reddit, Imgur, GitHub, DigitalOcean, dll

Unblock Steam, Vimeo, Reddit, Imgur, GitHub, DigitalOcean, NPM, PayPal, dll

Saya support Internet Positif untuk memblokir porn, situs judi, dan hal-hal ilegal lainnya. Tapi pemerintah dan ISP sangat konyol karena tidak mengizinkan akses ke Vimeo, Reddit, Imgur, Netflix--yang mana bukanlah situs dengan konten utama ilegal.

Linux / BSD / macOS

Tambahkan list di bawah ke /etc/hosts.

Windows

@tanghaiduong
tanghaiduong / Show All Files And Folder Hidden By Virus
Created September 24, 2014 13:25
How To Show All Files And Folder Hidden By Virus Using Command Prompt In Windows 8, 7 and XP
1. Open Command Prompt (CMD) as an Administrator.
2. Navigate to the drive whose files are hidden and you want to recover.
3. Then Type attrib -s -h -r /s /d *.* and hit Enter.
4. That is it. Now you will get all the hidden files and folder as general files and you can use it.