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
| // vintage - mode control | |
| // exit insert mode | |
| { "keys": ["i", "i"], "command": "exit_insert_mode", | |
| "context": | |
| [ | |
| { "key": "setting.command_mode", "operand": false }, | |
| { "key": "setting.is_widget", "operand": false } | |
| ] | |
| }, |
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
| # ~/.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 |
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
| sudo fdisk -l | |
| sudo dosfsck -w -r -l -a -v -t /dev/... | |
| sudo e2fsck -f /dev/sdb1 | |
| sudo dumpe2fs -f /dev/sdb1 | grep -i superblock | |
| sudo mount -t vfat /dev/sdb1 /media/external -o uid=1000,gid=1000,utf8,dmask=027,fmask=137 | |
| sudo mount -t ntfs-3g /dev/sdb1 /media/external |
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
| chromium-browser skype wine vlc xbmc gstreamer0.10-plugins-ugly gstreamer0.10-ffmpeg libxine1-ffmpeg gxine mencoder libdvdread4 totem-mozilla icedax tagtool easytag id3tool lame nautilus-script-audio-convert libmad0 mpg321 gstreamer1.0-libav kadu unace unrar zip unzip p7zip-full p7zip-rar sharutils rar uudeview mpack arj cabextract file-roller cheese gimp gimp-data gimp-plugin-registry gimp-data-extras bum dropbox smplayer libwxgtk2.8-dev libgnutls-dev libtinyxml-dev libdbus-1-dev libgtk2.0-dev | |
| sudo /usr/share/doc/libdvdread4/./install-css.sh | |
| bum | |
| ---TLC | |
| sudo apt-get remove laptop-mode-tools | |
| sudo add-apt-repository ppa:linrunner/tlp | |
| sudo apt-get update | |
| sudo apt-get install tlp tlp-rdw smartmontools ethtool |
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
| grep -H -R vivek /etc/* | cut -d: -f1 |
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
| @foreach(array_chunk($posts, 3) as $postSet) | |
| <div class="row"> <!-- this div will surround every three posts --> | |
| @foreach($postSet as $post) | |
| <h3>{{ $post['title'] }}</h3> | |
| @endforeach | |
| </div> | |
| @endforeach |
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
| alias gundo='git reset HEAD~ && git clean -df' |
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
| //gulp 'n' modules initialization | |
| var gulp = require('gulp'); | |
| //images | |
| var favicons = require('favicons'); | |
| var imagemin = require('gulp-imagemin'); | |
| var pngquant = require('imagemin-pngquant'); | |
| //utils | |
| var _ = require('lodash'); | |
| var rimraf = require('gulp-rimraf'); | |
| var path = require('path'); |
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
| sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get autoremove | |
| sudo apt-get install apache2 | |
| sudo service apache2 start | |
| sudo apt-get install php5 php5-mysql php5-curl php5-gd php5-snmp php5-mcrypt php5-tidy php5-xmlrpc libapache2-mod-php5 php5-cli | |
| sudo apt-get install mysql-server mysql-client | |
| sudo mysql_secure_installation |
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
| sed -n '/msgid/,/msgstr/p' trans.po | grep -v 'msgstr' | cat | sed '/msgid*/i msgstr "TEKST ANGIELSKI"' | awk '{ if ( NR == 1 ) { store=$0 } else { print } }END{ print store }' |
OlderNewer