Skip to content

Instantly share code, notes, and snippets.

Avatar
🛰️
Work on stuff that matters

Alexander AlexRogalskiy

🛰️
Work on stuff that matters
View GitHub Profile
@AlexRogalskiy
AlexRogalskiy / emojiparty.zsh-theme
Created Sep 3, 2022 — forked from brennv/emojiparty.zsh-theme
An emoji happy oh-my-zsh theme: a blend of random-emoji and terminalparty
View emojiparty.zsh-theme
# emojiparty: a blend of random-emoji and terminalparty
PROMPT_EMOJI=(🐶 🐱 🐭 🐹 🐰 🐻 🐼 🐨 🐯 🦁 🐮 🐷 🐽 🐵 🙈 🙉 🙊 🐒 🐔 🐧 \
🐦 🐤 🐣 🐥 🐺 🐗 🐴 🦄 🐝 🐛 🐌 🐜 🕷 🦂 🐠 🐟 🐡 🐬 🐳 🐋 🐆 🐅 🐃 🐂 \
🐄 🐪 🐫 🐘 🐐 🐏 🐑 🐎 🐖 🐀 🐁 🐓 🦃 🕊 🐕 🐩 🐈 🐇 🐿 🎋 🍂 🌾 🌺 \
🌻 🌷 🌼 🌸 💐 🌰 🎃 🐚 🕸 🚕 🚙 🚌 🚎 🚓 🚑 🚐 🚚 🚜 🏍 🚲 🚔 🚍 🚘 🚖 \
🚡 🚟 🚃 🚋 🚅 🚈 🚞 🚆 🚇 🚊 🚉 🚁 🛩 🛫 🛬 ⛵️ 🛥 🚤 ⛴ 🛳 🚀 🛰 💺 🚧 \
😀 😬 😁 😃 😄 😅 😆 😇 😉 😊 🙂 🙃 😋 😌 😍 😘 😗 😙 😚 😜 😝 😛 🤑 🤓 \
😎 🤗 😏 😶 😐 😑 😒 🙄 🤔 😳 😞 😟 😠 😔 😕 🙁 😣 😖 😯 😦 😧 😵 😲 🤐 \
😷 🤒 🤕 😴 💤 💀 👽 🤖 😺 😸 😻 😼 😽 😾 ⚽️ 🏀 🏈 🏐 🏉 🎱 🏌 🏸 🏒 🏑 \
@AlexRogalskiy
AlexRogalskiy / zsh.md
Created Jul 14, 2022 — forked from tsabat/zsh.md
Getting oh-my-zsh to work in Ubuntu
View zsh.md
@AlexRogalskiy
AlexRogalskiy / .htaccess
Created Jul 14, 2022 — forked from mumairofficial/.htaccess
For production distribution with text compression and other cache setting
View .htaccess
#REDIRECT ROUTES TO INDEX (fixes broken routes with angular)
RewriteEngine on
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^(.*) /index.html [NC,L]
View sublime-settings.json
{
"auto_complete": true,
"auto_complete_commit_on_tab": true,
"auto_complete_with_fields": true,
"bold_folder_labels": true,
"color_scheme": "Packages/Agila Theme/Agila Classic Oceanic Next.tmTheme",
"default_encoding": "UTF-8",
"draw_minimap_border": true,
"draw_white_space": "all",
"folder_exclude_patterns":
@AlexRogalskiy
AlexRogalskiy / README.md
Created Jun 12, 2022 — forked from DamonOehlman/README.md
Provisioning of node + nginx designed for use with vagrant shell provisioner. No need for chef, puppet.
View README.md

This is a simple shell script that is designed to provision both nginx and node on your machine. I primarily wrote it for use with Vagrant and an example Vagrantfile is included in the Gist as well.

@AlexRogalskiy
AlexRogalskiy / README.md
Created Jun 12, 2022 — forked from DamonOehlman/README.md
Ubuntu 13.04 Dell XPS 13 Hacks - Things you occassionally need to do to keep your Ubuntu installation on a Dell XPS happy.
View README.md

Brightess Fix

When brightness controls stop responding manually trigger a brightness update. Once this is done brightness controls seem to respond again. Not sure if the lspci command is required, when my linux foo is stronger I'm sure I'll know...

lspci -nn | grep VGA
echo 3500 | sudo tee /sys/class/backlight/intel_backlight/brightness
@AlexRogalskiy
AlexRogalskiy / README.md
Created Jun 12, 2022 — forked from DamonOehlman/README.md
Video Loopback on Ubuntu 13.04
View README.md
@AlexRogalskiy
AlexRogalskiy / README.md
Created Jun 12, 2022 — forked from DamonOehlman/README.md
Modules in NPM that look interesting with regards to generating CSS with JS (and some other things discovered along the way).
View README.md

Currently trawling NPM in search of a node module that makes working with CSS and browserified code "feel" better. My first thought was to seek out an existing project (or create one) that took a programmatic approach to CSS generation.

Here's what I've found:

Generators in Code

Shortlist

  • jcss: Some nice features, and worthy of further investigation. Looks active.
@AlexRogalskiy
AlexRogalskiy / README.md
Created Jun 12, 2022 — forked from DamonOehlman/README.md
General WebRTC tips and tricks collated over time
@AlexRogalskiy
AlexRogalskiy / default.conf
Created Jun 12, 2022 — forked from DamonOehlman/default.conf
Simple nginx configuration for proxying HTTPS traffic to a local port
View default.conf
server {
listen 443;
server_name localhost;
root html;
index index.html index.htm;
ssl on;
ssl_certificate server.crt;
ssl_certificate_key server.key;