Skip to content

Instantly share code, notes, and snippets.

View jpigla's full-sized avatar
🌤️
doing something

Jan-Philipp Igla jpigla

🌤️
doing something
View GitHub Profile
@jpigla
jpigla / # Formeln & Scripte
Last active December 14, 2020 10:18
Formeln von Excel, Google Docs, etc.
.
@jpigla
jpigla / Tools & Tweaks for Desktop
Last active April 11, 2019 15:02
Tools & Tweaks for Desktop, Chrome, Mac, etc.
- https://coderwall.com/p/bkjifw/preview-markdown-in-os-x
@jpigla
jpigla / Code Snippets
Last active May 3, 2019 09:20
Code Snippets & more
# Chrome Browser
## Delete all Other Search Engines in Chrome Settings (chrome://settings/searchEngines -> use Console)
settings.SearchEnginesBrowserProxyImpl.prototype.getSearchEnginesList()
.then(function(val) {
val.others.sort(function(a, b) { return b.modelIndex - a.modelIndex; });
val.others.forEach(function(engine) {
settings.SearchEnginesBrowserProxyImpl.prototype.removeSearchEngine(engine.modelIndex);
});
});

Python

Panda

Number of List items displayed

pd.options.display.max_rows = 4000

Number of characters displayed in cell

@jpigla
jpigla / HTTP-Statuscodes
Last active August 19, 2019 09:44
List of HTTP-Statuscodes
STATUS_CODES: {
'100': 'Continue',
'101': 'Switching Protocols',
'102': 'Processing',
'103': 'Early Hints',
'200': 'OK',
'201': 'Created',
'202': 'Accepted',
'203': 'Non-Authoritative Information',
'204': 'No Content',
@jpigla
jpigla / regex.md
Last active December 14, 2020 10:16

Collection of useful Regex

Extract a domain name
^(?:.*:\/\/)?(?:www\.)?([^:\/]*).*$

Look for a specific domain name
\"(https?:\/\/(w{3}\.)?example.com\/?.*?)\"

Extract CID from URL (CoBi/AuBi)
.*[\-|\_](\d.*)\.html

@jpigla
jpigla / seo-links.md
Created November 11, 2019 12:46
Important Links for SEO
@jpigla
jpigla / Linux-Commands.md
Last active May 12, 2021 15:46
Linux Commands saved for later

Linux Commands

System

Update & Upgrade system/server
sudo apt -y update && sudo apt -y upgrade && sudo apt -y dist-upgrade

Reboot server
sudo shutdown -r now