# apt install libncurses5-dev libgnome2-dev libgnomeui-dev \
libgtk2.0-dev libatk1.0-dev libbonoboui2-dev \
libcairo2-dev libx11-dev libxpm-dev libxt-dev python-dev \
python3-dev ruby-dev lua5.1 lua5.1-dev libperl-dev git checkinstall
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 | |
# from: http://xubuntugeek.blogspot.com/2012/09/multimedia-keys-in-vlc-and-xubuntu.html | |
vlcrc="$HOME/.config/vlc/vlcrc" | |
sed -i 's/#global-key-play-pause=/global-key-play-pause=Media Play Pause/' $vlcrc | |
sed -i 's/#global-key-next=/global-key-next=Media Next Track/' $vlcrc | |
sed -i 's/#global-key-prev=/global-key-prev=Media Prev Track/' $vlcrc | |
sed -i 's/#global-key-stop=/global-key-stop=Media Stop/' $vlcrc |
# parted bla.img
> unit < B
> print
# mount -o ro,norecovery,loop,offset=<offset-of-partiation-returned-by-parted> /mnt/bla
# umount /mnt/bla
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
export default { | |
i18n: { | |
restart: 'شروع مجدد', | |
rewind: 'پخش سریع در جهت معکوس {seektime}s', | |
play: 'پخش', | |
pause: 'توقف', | |
fastForward: 'پخش سریع {seektime}s', | |
seek: 'پیمایش', | |
seekLabel: '{currentTime} از {duration}', | |
played: 'پخش شده', |
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
# - Create personal access token from your github settings > developer section with `public_repo` scope | |
# - Add environemnt variable on travis with key name `GITHUB_ACCESS_TOKEN` and already created personal access token value. | |
language: python | |
python: | |
- 3.3 | |
- 3.4 | |
- 3.5 | |
- 3.6 |
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
executable_file_extensions = ( | |
# https://support.symantec.com/en_US/article.INFO3768.html | |
'.adp', | |
'.app', | |
'.asp', | |
'.bas', | |
'.bat', | |
'.cer', | |
'.chm', |
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
" Plugins | |
call plug#begin() | |
Plug 'scrooloose/nerdtree' | |
Plug 'jistr/vim-nerdtree-tabs' | |
Plug 'ctrlpvim/ctrlp.vim' | |
Plug 'tpope/vim-fugitive' | |
Plug 'airblade/vim-gitgutter' | |
Plug 'Xuyuanp/nerdtree-git-plugin' | |
Plug 'drewtempelmeyer/palenight.vim' |
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
image: alvrme/alpine-android:android-28 | |
stages: | |
- release | |
variables: | |
GRADLE_OPTS: "-Dorg.gradle.daemon=false" | |
before_script: | |
- apk add --no-cache curl |
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
<?php | |
$url = $_GET['r']; | |
$encoded_url = preg_replace_callback( | |
'#://([^/]+)/([^?]+)#', | |
function ($match) { | |
return | |
'://' . | |
$match[1] . | |
'/' . | |
join( |
OlderNewer