Skip to content

Instantly share code, notes, and snippets.

View lemieszek's full-sized avatar
🐢
a turtle made it to the water

Dawid Lemieszek lemieszek

🐢
a turtle made it to the water
View GitHub Profile
@whisller
whisller / technicolor_CGA2121.md
Created September 14, 2019 06:33
Rozłączanie modemu Technicolor CGA2121 dla połączeń Wi-Fi (INEA)

Rozłączanie modemu Technicolor CGA2121 dla połączeń Wi-Fi (INEA)

Wstęp

Ostatnio założyłem internet w INEA, dostałem przy tej okazji modem Technicolor CGA2121. Pierwszym problemem było to że nie mogłem podłączyć więcej urządzeń, okazało się że proces instalacji po stronie INEA nigdy nie został zakończony poprawnie. INEA rozwiązała to po swojej stronie po kontakcie z infolinią.

Naprawa rozłączania Wi-Fi

Kolejnym problemem było rozłączanie urządzeń podłączonych do modemu po Wi-Fi. Problem ten akurat wymaga kilku zmian w panelu admina modemu, ale bez obaw to nic "zaawansowanego" :)

@ibraheem4
ibraheem4 / postgres-brew.md
Last active April 19, 2025 14:27 — forked from sgnl/postgres-brew.md
Installing Postgres via Brew (OSX)

Installing Postgres via Brew

Pre-Reqs

Brew Package Manager

In your command-line run the following commands:

  1. brew doctor
  2. brew update
@sloanlance
sloanlance / git-temporary-ignore.md
Last active March 19, 2025 23:27
git: A couple ways to temporarily ignore changed or new files without altering .gitignore.

There are times notifications aren't wanted about either a changed repo file or a new file that needs to be added to the repo. However, adding the name of the file to .gitignore might not be a good option, either. For example, locally-generated files that other users aren't likely to generate (e.g., files created by an editor) or files of experimental test code might not be appropriate to appear in a .gitignore file.

In those cases, use one of these solutions:

  1. If the file is a changed repo file

    Use the command:

    git update-index --assume-unchanged "$FILE"

@millermedeiros
millermedeiros / osx_setup.md
Last active March 23, 2025 01:23
Mac OS X setup

Setup Mac OS X

I've done the same process every couple years since 2013 (Mountain Lion, Mavericks, High Sierra, Catalina) and I updated the Gist each time I've done it.

I kinda regret for not using something like Boxen (or anything similar) to automate the process, but TBH I only actually needed to these steps once every couple years...

@jlong
jlong / uri.js
Created April 20, 2012 13:29
URI Parsing with Javascript
var parser = document.createElement('a');
parser.href = "http://example.com:3000/pathname/?search=test#hash";
parser.protocol; // => "http:"
parser.hostname; // => "example.com"
parser.port; // => "3000"
parser.pathname; // => "/pathname/"
parser.search; // => "?search=test"
parser.hash; // => "#hash"
parser.host; // => "example.com:3000"