Skip to content

Instantly share code, notes, and snippets.

View devromans's full-sized avatar
🎱

Roman Shopin devromans

🎱
View GitHub Profile
@devromans
devromans / setup.md
Created December 7, 2018 11:24 — forked from novemberborn/setup.md
OS X Redirect ports 80 and 443 to 8080 and 8443 respectively

Changes with .dev domains in mind.

Create /etc/pf.anchors/dev, containing:

rdr pass inet proto tcp from any to any port 80 -> 127.0.0.1 port 8080
rdr pass inet proto tcp from any to any port 443 -> 127.0.0.1 port 8443

@devromans
devromans / iterm2-solarized.md
Created June 11, 2020 10:41 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@devromans
devromans / gist:b76b3b61514ea13bd590bd6db4c04a4e
Created September 22, 2020 08:23 — forked from jfeilbach/gist:fd109c7dbc9798ce6e47358b82d0be76
DNS over TLS (knot resolver) setup using 1.1.1.1 on macOS
# Configuring DNS-over-TLS on macOS
# Worked on macOS 10.13.4
brew -v update
brew -v doctor
# Next two commands are optional
sudo chown -R $(whoami) $(brew --prefix)/*
echo 'export PATH="/usr/local/sbin:$PATH"' >> ~/.bash_profile
# Install DNS client
brew install knot-resolver
# Should be installed to something like: /usr/local/Cellar/knot-resolver/2.3.0/sbin/kresd
@devromans
devromans / php_time_zones.csv
Last active October 28, 2021 09:40
PHP time zones mapping
PHP Timezone Identifier Timezone (GMT offset if unknown) Timezone abbreviation (GMT offset if unknown) Daylight Saving Time
Africa/Abidjan Greenwich Mean Time GMT No
Africa/Accra Greenwich Mean Time GMT No
Africa/Addis_Ababa Eastern Africa Time EAT No
Africa/Algiers Central European Time CET No
Africa/Asmara Eastern Africa Time EAT No
Africa/Bamako Greenwich Mean Time GMT No
Africa/Bangui West Africa Time WAT No
Africa/Banjul Greenwich Mean Time GMT No
Africa/Bissau Greenwich Mean Time GMT No
@devromans
devromans / mz_invisible_widget.js
Created August 5, 2022 10:28 — forked from mzeryck/mz_invisible_widget.js
A Scriptable script that creates "invisible" widget backgrounds based on your iOS wallpaper, and then either uses them as a Scriptable widget background or exports to your camera roll.
/*
MIT License
Copyright (c) 2022 Maxwell Zeryck
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTW
@devromans
devromans / Delete all Jenkins Jobs
Created October 11, 2022 07:55
Jenkins Groovy snippets
for(job in jenkins.model.Jenkins.theInstance.getAllItems()) {
println "\nJob: $job.name"
job.delete()
}
@devromans
devromans / gist:15a9082d4d5c8b54bb5648ee55d245ba
Created February 15, 2023 14:59 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@devromans
devromans / nerd_fonts.md
Created July 20, 2023 14:12 — forked from davidteren/nerd_fonts.md
Install Nerd Fonts via Homebrew [updated & fixed]