- mx Set mark x at the current cursor position
- 'x Jump to the beginning of the line of mark x
- `x Jump to the marked cursor position
This file contains 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
SUMMARY = "A Perl DBI driver for Postgresql" | |
DESCRIPTION = "DBD::Pg is a Perl DBI driver for Postgresql, that includes the entire \ | |
thing in the distribution. So in order to get a fast transaction capable \ | |
RDBMS working for your perl project you simply have to install this \ | |
module, and nothing else. \ | |
" | |
HOMEPAGE = "https://metacpan.org/dist/DBD-Pg" | |
SECTION = "libs" | |
LICENSE = "Artistic-1.0 | GPL-2.0+" |
This file contains 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 | |
ffmpeg -f alsa -i hw:1 -f video4linux2 -i /dev/video0 -f mpeg output.mp4 |
This file contains 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/python | |
import os | |
import time | |
#os.system('ls -l') | |
fbset="fbset -t {0} 120 33 99 3 128 58" | |
print('starting fbtest - clock') | |
clockMhzInit = input('Insira clock INICIAL em Mhz como integer: ') | |
clockMhzEnd = input('Insira clock FINAL em Mhz como integer: ') |
This file contains 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
class StorageCheck : public QStorageInfo | |
{ | |
Q_OBJECT | |
Q_PROPERTY(QString errorString READ getErrorString NOTIFY errorChanged) | |
Q_PROPERTY(bool error READ getError NOTIFY errorChanged) | |
public: | |
StorageCheck(QString path); |
This file contains 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
[Unit] | |
Description=Name of the service | |
After=systemd-user-sessions.service | |
ConditionPathExists=!/usr/bin/python | |
[Service] | |
ExecStart=-/usr/bin/appcontroller /usr/bin/qtlauncher --applications-root /data/user/qt | |
[Install] | |
WantedBy=multi-user.target |
This file contains 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
ppmquant 224 [file].ppm > [file]_224.ppm | |
pnmnoraw [file]_224.ppm > [file]_224_ascii.ppm |
This file contains 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
# DD | |
1) Snippet for writing a .img file on a block device | |
``` | |
pv -tpreb [IMAGE] | sudo dd of=[DEVICE] bs=4M conv=notrunc | sync | |
``` | |
2) Copy an entire block device as .img file | |
``` | |
sudo dd if=/dev/sdX | gzip -c > [NAME].img | |
``` |
This file contains 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
http://docs.oracle.com/cd/E19080-01/n1.grid.eng6/817-3606/ftybw/index.html |
This file contains 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
http://ornellas.apanela.com/dokuwiki/pub:ssh_key_auth | |
http://henry.precheur.org/system/ssh-copy-id | |
http://www.debian-administration.org/articles/152 | |
ssh-keygen | |
ssh-copy-id user@hostname |
NewerOlder