Skip to content

Instantly share code, notes, and snippets.

View siayi's full-sized avatar
💭
I may be slow to respond.

Ayi Sumarna siayi

💭
I may be slow to respond.
View GitHub Profile
@siayi
siayi / VisualCodeOpenFolder.reg
Created October 7, 2017 09:04
Right click on Windows folder and open with Visual Studio Code
Windows Registry Editor Version 5.00
; Open files
[HKEY_CLASSES_ROOT\*\shell\Open with VS Code]
@="Edit with VS Code"
"Icon"="C:\\Program Files (x86)\\Microsoft VS Code\\Code.exe,0"
[HKEY_CLASSES_ROOT\*\shell\Open with VS Code\command]
@="\"C:\\Program Files (x86)\\Microsoft VS Code\\Code.exe\" \"%1\""
; This will make it appear when you right click ON a folder
; The "Icon" line can be removed if you don't want the icon to appear
[HKEY_CLASSES_ROOT\Directory\shell\vscode]
@siayi
siayi / map.geojson
Created October 7, 2017 09:27
Marker Lokasi Sebaran Desa yang sudah Mempunyai Website Desa https://github.com/siayi/website-desa
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@siayi
siayi / fix.txt
Created October 10, 2017 04:19
fix fatal: unable to access 'https://github.com//': Couldn't resolve host 'github.com'
git config --global --unset http.proxy
git config --global --unset https.proxy
@siayi
siayi / KeepForkUpdate.md
Created October 10, 2017 04:23
Keeping a fork up to date

1. Clone your fork:

git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
@siayi
siayi / Format Pencarian Titik Koordinat Desa di Google Maps.md
Last active October 12, 2024 15:59
Format Pencarian Titik Koordinat Desa di Google Maps

Format Pencarian Titik Koordinat Desa di Google Maps

Format Pencarian Titik Koordinat Desa di Google Maps

Format:

[nama desa], [nama kecamatan], [nama kabupaten/kota], [nama provinsi]

Contoh:

Ciburial, Cimenyan, Bandung, Jawa Barat

@siayi
siayi / KabupatenBandung.geojson
Created October 11, 2017 10:23
Poligon Kabupaten Bandung
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@siayi
siayi / Contributing.md
Created December 23, 2017 09:02
Cara Berkontribusi di Repo Github

Contributing 01

  1. Fork a repo, eg: https://github.com/USER/REPO-NAME/fork ;
  2. Create your feature branch (git checkout -b my-new-feature);
  3. Commit your changes (git commit -am 'Add some feature');
  4. Push to the branch (git push origin my-new-feature);
  5. Create a new Pull Request.
@siayi
siayi / GetURL.bas
Created May 4, 2018 10:21
Fungsi GetURL on VBA Excel
Public Function GetURL(c As Range) As String
On Error Resume Next
GetURL = c.Hyperlinks(1).Address
End Function
@siayi
siayi / fixFailedtoExecute.txt
Created May 4, 2018 13:09
fix Failed to execute "git ls-remote --tags --heads
fix Failed to execute "git ls-remote --tags --heads git://
git config --global url."https://".insteadOf git://
atau
fix Failed to execute "git ls-remote --tags --heads https://
git config --global url."git://".insteadOf https://
@siayi
siayi / Standar-CodeIgniter-Format-URL.txt
Created May 12, 2018 06:06
cara CodeIgniter memformat URL stringnya
Standar CodeIgniter memformat URL stringnya:
<base_url>/index.php/<controller_name>/<controller_function>/<function_parameter_1>/>/<function_parameter_2>...