This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org.mate.SettingsDaemon.plugins.media-keys.gschema.xml | |
<schema gettext-domain="mate-settings-daemon" id="org.mate.SettingsDaemon.plugins.media-keys" path="/org/mate/settings-daemon/plugins/media-keys/"> | |
<key name="active" type="b"> | |
<default>true</default> | |
<summary>Activation of this plugin</summary> | |
<description>Whether this plugin would be activated by mate-settings-daemon or not</description> | |
</key> | |
<key name="priority" type="i"> | |
<default>98</default> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ xinput list-props "SynPS/2 Synaptics TouchPad" | grep Capabilities | |
Synaptics Capabillities (309): 1, 0, 1, 0, 0, 1, 1 | |
De izquierda a derecha, esto muestra: | |
(1) el dispositivo tiene un botón izquierdo físico | |
(0) el dispositivo no tiene un botón central físico | |
(1) el dispositivo tiene un botón físico derecho | |
(0) el dispositivo no es compatible con la detección de dos dedos (two-finger) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import requests | |
import sys | |
import os | |
TOKEN = '123456789:Ab1Cd2Ef3Gh4Ij5Kl6Mn7Op8Qr9sTuVwXyZ' | |
def sendMessage(chat_id, text): | |
requests.post( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sshs(){ | |
OIFS="$IFS" | |
IFS=$'\n' | |
for l in $(cat ~/.ssh/config | grep -i "$1" | grep "#") | |
do | |
echo ${l:5} | |
done | |
IFS=$OIFS | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ "$(id -u)" != "0" ]; then | |
echo "Sorry, you are not root." | |
exit 1 | |
fi | |
function install(){ | |
echo Install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set encoding=utf-8 | |
let g:ale_disable_lsp = 1 | |
" Auto installation of Plug | |
if empty(glob('~/.vim/autoload/plug.vim')) | |
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs | |
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC | |
endif | |
" Plugins | |
call plug#begin('~/.local/share/nvim/plugged') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
wp_mariadb: | |
image: mariadb:latest | |
container_name: wp_mariadb | |
restart: unless-stopped | |
networks: | |
- internal | |
environment: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/gjs --include-path=. | |
'use strict'; | |
imports.searchPath.unshift('.'); | |
const Gio = imports.gi.Gio; | |
const GLib = imports.gi.GLib; | |
const struct = imports.utils.struct; | |
const concatArrayBuffers = imports.utils.concatArrayBuffers; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.