Skip to content

Instantly share code, notes, and snippets.

View ht-max's full-sized avatar

Max Sychov ht-max

  • Ukraine
View GitHub Profile
@ht-max
ht-max / .bashrc
Created December 5, 2025 00:22 — forked from KaMeHb-UA/.bashrc
Beautiful and useful .bashrc example for TRUECOLOR terminals
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth
@ht-max
ht-max / ext.txt
Created March 22, 2019 15:24 — forked from chronon/ext.txt
List of docker-php-ext-install extension names
Possible values for ext-name:
bcmath
bz2
calendar
ctype
curl
dba
dom
enchant
@ht-max
ht-max / gist:ce049d53f13d85de0fde
Created December 11, 2014 19:54
Linux -> monitor
#!/bin/bash
if [ "$#" -ne 1 ]
then
#enable ALL monitor
xrandr --output LVDS1 --auto --output VGA1 --auto
xrandr --output VGA1 --left-of LVDS1
xrandr --output LVDS1 --pos "1920x600"
else
if [ "$1" == "-e" ]
<!DOCTYPE html>
<head>
{MobileAppHeaders}
<meta charset="utf-8">
<title>{Title}{block:SearchPage} ({lang:Search results for SearchQuery}){/block:SearchPage}{block:PermalinkPage}{block:PostSummary} — {PostSummary}{/block:PostSummary}{/block:PermalinkPage}</title>
{block:Description}
<meta name="description" content="{MetaDescription}">
{/block:Description}