sudo apt-get install python3-pip
sudo pip3 install virtualenv
| // ==UserScript== | |
| // @name css-refresh | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author You | |
| // @require http://cdn.bootcss.com/crypto-js/3.1.2/rollups/sha1.js | |
| // @match http://m.kankan.com/v/* | |
| // @match http://127.0.0.1:8083/* | |
| // @match http://192.168.28.52:8083/* |
| ' Copyright 2010-2016 Thomas Rohmer-Kretz | |
| ' This program is free software: you can redistribute it and/or modify | |
| ' it under the terms of the GNU General Public License as published by | |
| ' the Free Software Foundation, either version 3 of the License, or | |
| ' (at your option) any later version. | |
| ' This program is distributed in the hope that it will be useful, | |
| ' but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| ' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| //An exact copy of the adafruit DTH-11 driver in C# | |
| //Example usage: | |
| //var gpio = GpioController.GetDefault(); | |
| //var dataPin = gpio.OpenPin(5); | |
Let's say alice is a github.com user, with 2 or more private repositories repoN.
For this example we'll work with just two repositories named repo1 and repo2
https://github.com/alice/repo1
https://github.com/alice/repo2
You need to be to pull from these repositories without entering a passwords probably on a server, or on multiple servers.
| <system.webServer> | |
| <rewrite> | |
| <rules> | |
| <rule name="Remove WWW" stopProcessing="true"> | |
| <match url="^(.*)$" /> | |
| <conditions> | |
| <add input="{HTTP_HOST}" pattern="^(www\.)(.*)$" /> | |
| </conditions> | |
| <action type="Redirect" url="http://{C:2}{PATH_INFO}" redirectType="Permanent" /> | |
| </rule> |
| <?php | |
| /** | |
| * A helper file for Laravel 5, to provide autocomplete information to your IDE | |
| * Generated for Laravel 5.5.13 on 2017-09-28. | |
| * | |
| * @author Barry vd. Heuvel <[email protected]> | |
| * @see https://github.com/barryvdh/laravel-ide-helper | |
| */ | |
| namespace { | |
| exit("This file should not be included, only analyzed by your IDE"); |
git config --global alias.hist "log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short"
git config --global alias.lol "log --graph --decorate --pretty=oneline --abbrev-commit --all"
git config --global alias.mylog "log --pretty=format:'%h %s [%an]' --graph"
To check that they've been added correctly, first run git config --list. You should see something like this in the midst of all your other configuration:
alias.hist=log --pretty=format:"%h %ad | %s%d [%an]" --graph --date=short
This gist assumes: