Skip to content

Instantly share code, notes, and snippets.

View ToxesFoxes's full-sized avatar
:octocat:
Fullstack Web developer

Тоха Лис ToxesFoxes

:octocat:
Fullstack Web developer
View GitHub Profile
@maxsbelt
maxsbelt / gist:4476270
Last active March 27, 2024 10:22
BITRIX: Описание возможностей CMS 1C-Bitrix для создания файла описания параметров модуля options.php.
<?
$MODULE_ID = "Идентификатор модуля".
// -------------- СОХРАНЕНИЕ --------------
// ПО ОТДЕЛЬНОСТИ
foreach($arOptions as $arOption) {
__AdmSettingsSaveOption($MODULE_ID, $arOption);
}
@YuMS
YuMS / update-git.sh
Created June 29, 2016 09:28
Update git to latest version on Ubuntu
#!/bin/bash
sudo add-apt-repository -y ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git -y
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active July 20, 2024 18:25
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@wKovacs64
wKovacs64 / fixed-width-numbers.css
Created February 15, 2018 21:45
Fixed width numbers CSS
/* https://twitter.com/wesbos/status/932644812582522880/ */
font-feature-settings: "tnum";
font-variant-numeric: tabular-nums;
@AnatomicJC
AnatomicJC / android-backup-apk-and-datas.md
Last active July 18, 2024 22:51
Backup android app, data included, no root needed, with adb

Backup android app, data included, no root needed, with adb

Note: This gist may be outdated, thanks to all contributors in comments.

adb is the Android CLI tool with which you can interact with your android device, from your PC

You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.

Don't hesitate to read comments, there is useful tips, thanks guys for this !

@FFKL
FFKL / cell-ellipsis.css
Last active June 1, 2024 18:21
Auto-resizable ellipsis without fixed width 😮
.ellipsis {
position: relative;
}
.ellipsis:before {
content: '&nbsp;';
visibility: hidden;
}
.ellipsis span {