Skip to content

Instantly share code, notes, and snippets.

View meteoritt's full-sized avatar
:octocat:
Researching.. GAZPROM SIBN KAZAKHSTAN

Sergey Chudakov meteoritt

:octocat:
Researching.. GAZPROM SIBN KAZAKHSTAN
View GitHub Profile
@meteoritt
meteoritt / History\-1228d5c2\entries.json
Last active June 27, 2025 03:49 — forked from bradtraversy/webdev_online_resources.md
Online Resources For Web Developers (No Downloading)
{"version":1,"resource":"file:///d%3A/Sergey/Projects/git/topalias/topalias/requirements-dev.txt","entries":[{"id":"4RTX.txt","source":"Workspace Edit","timestamp":1749981079929}]}
@RezMike
RezMike / Block.kt
Last active March 29, 2021 23:05
Code for "KorGE Tutorial - Writing 2048 game. Step 2 - State and interaction"
import Number.*
import com.soywiz.korge.view.*
import com.soywiz.korim.color.*
fun Container.block(number: Number) = Block(number).addTo(this)
class Block(val number: Number) : Container() {
init {
roundRect(cellSize, cellSize, 5.0, fill = number.color)
@coltenkrauter
coltenkrauter / fix-wsl2-dns-resolution.md
Last active January 12, 2026 05:22
Fix DNS resolution in WSL2

Permanent WSL DNS Fix (WSL 2.2.1+)

If you're encountering ping github.com failing inside WSL with a Temporary failure in name resolution, you're not alone β€” this has been a long-standing issue, especially when using VPNs or corporate networks.

This issue is now fixed robustly with DNS tunneling, which preserves dynamic DNS behavior and avoids limitations like WSL’s former hard cap of 3 DNS servers in /etc/resolv.conf.

DNS tunneling is enabled by default in WSL version 2.2.1 and later, meaning that if you're still seeing DNS resolution issues, the first and most effective fix is simply to upgrade WSL. Upgrading WSL updates the WSL platform itself, but does not affect your installed Linux distributions, apps, or files.

To upgrade WSL, follow these steps,

@bradtraversy
bradtraversy / webdev_online_resources.md
Last active November 19, 2025 14:28
Online Resources For Web Developers (No Downloading)
@PowerKiKi
PowerKiKi / generate-wildcard-certificate.sh
Created December 4, 2015 07:31
Generate self-signed wildcard SSL certificate for development environment
#!/usr/bin/env bash
# print usage
DOMAIN=$1
if [ -z "$1" ]; then
echo "USAGE: $0 domain.lan"
echo ""
echo "This will generate a non-secure self-signed wildcard certificate for given domain."
echo "This should only be used in a development environment."
@ruario
ruario / h264-vivaldi-linux.md
Last active July 25, 2025 07:24
How to enable HTML5 MP4 (H.264/AAC) video in Vivaldi for Linux, via an alternative FFMpeg library
@cmlsharp
cmlsharp / !!
Last active November 26, 2019 11:57
Repeat most recent command in fish
# Add this to your ~/.config/fish/config.fish
# Syntax:
# To just rerun your last command, simply type '!!'
# '!! sudo' will prepend sudo to your most recent command
# Running !! with anything other than sudo will append the argument to your most recent command
# To add another command to prepend list remove the # on line 10 and put the command in the quotes. Repeat as needed
function !!;
set prevcmd (history | head -n 1)
if test "$argv"
if test "$argv" = "sudo" #; or "any other command you want to prepend"
@rxaviers
rxaviers / gist:7360908
Last active January 12, 2026 05:14
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:
@skaag
skaag / redmine2.3inst.sh
Created May 9, 2013 14:43
Redmine 2.3 installation on Ubuntu 12.04 with RVM, Ruby 2.0, Passenger 4 and Nginx
# Install some system dependencies:
apt-get install build-essential openssl libcurl4-openssl-dev \
libreadline6 libreadline6-dev curl mysql-server libmysqlclient-dev git-core \
zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev \
libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion \
pkg-config imagemagick joe libmagickwand-dev libmagickwand4
# Install Ruby via RVM (easiest!):
cd /root/
@jdkanani
jdkanani / notepad.html
Last active December 23, 2025 14:31 — forked from jakeonrails/Ruby Notepad Bookmarklet
This bookmarklet gives you a code editor in your browser with a single click.
data:text/html, <style type="text/css">.e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div class="e" id="editor"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("editor");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/ruby");</script>
<!--
For other language: Instead of `ace/mode/ruby`, Use
Markdown -> `ace/mode/markdown`
Python -> `ace/mode/python`
C/C++ -> `ace/mode/c_cpp`
Javscript -> `ace/mode/javascript`
Java -> `ace/mode/java`
Scala- -> `ace/mode/scala`