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
| # Configuration file for libinput-gestures. | |
| # | |
| # The default configuration file exists at /etc/libinput-gestures.conf | |
| # but a user can create a personal custom configuration file at | |
| # ~/.config/libinput-gestures.conf. | |
| # | |
| # Lines starting with '#' and blank lines are ignored. Currently | |
| # "gesture" and "device" configuration keywords are supported as | |
| # described below. The keyword can optionally be appended with a ":" (to | |
| # maintain compatibility with original format configuration files). |
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
| // Copyright (c) 2017 Ismael Celis | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy | |
| // of this software and associated documentation files (the "Software"), to deal | |
| // in the Software without restriction, including without limitation the rights | |
| // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| // copies of the Software, and to permit persons to whom the Software is | |
| // furnished to do so, subject to the following conditions: | |
| // The above copyright notice and this permission notice shall be included in all |
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
| var d = document, | |
| dl = d.location, | |
| w = window, | |
| domready = false, | |
| settings, | |
| page_styles = {}, | |
| busy = false; | |
| if (typeof safari == 'object') { | |
| safari.self.addEventListener("message", pong, 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
| Go to Bitbucket and create a new repository (its better to have an empty repo) | |
| git clone git@bitbucket.org:abc/myforkedrepo.git | |
| cd myforkedrepo | |
| Now add Github repo as a new remote in Bitbucket called "sync" | |
| git remote add sync git@github.com:def/originalrepo.git | |
| Verify what are the remotes currently being setup for "myforkedrepo". This following command should show "fetch" and "push" for two remotes i.e. "origin" and "sync" | |
| git remote -v |
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
| local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})" | |
| # User | |
| if [[ $UID -eq 0 ]]; then | |
| local user_host='%{$fg[red]%}%n@%m%{$reset_color%}' | |
| else | |
| local user_host='%{$fg[yellow]%}%n@%m%{$reset_color%}' | |
| fi | |
| # Current directory |
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 | |
| set -eu | |
| HOSTS_SAVE=mvpshosts-`date +\\%F_%T` | |
| echo 'Fuck ads' | |
| echo | |
| echo 'Downloading MVPS Hosts file...' | |
| wget -c http://www.mvps.org/winhelp2002/hosts.txt -O ~/Downloads/mvpshosts/$HOSTS_SAVE | |
| echo |