- Add the remote from the original repository to your forked repository:
git remote add upstream git://github.com/original-dev/original-repo.git
git fetch upstream
- Update your forked repository:
git pull upstream master
Navigate to the following key in the registry, select it, right click, select Export, give it a name, and save it.
HKEY_CURRENT_USER\Software\SimonTatham\PuTTY
To import, double-click on the saved .reg file and answer yes to merge it.
Open the registry editor and do the following:
this.$el = $(this.element.nativeElement); | |
const scrollableBody = this.element.querySelector('.fc-content-skeleton'); | |
const scrollableHeader = this.element.querySelector('.fc-head-container > .fc-row'); | |
const scrollableBg = this.element.querySelector('.fc-bg'); | |
scrollableBody.addEventListener('scroll', () => { | |
scrollableHeader.scrollTo(scrollableBody.scrollLeft, 0); | |
scrollableBg.scrollTo(scrollableBody.scrollLeft, 0); | |
}); |
Add this in your Default (Windows).sublime-keymap - Prefere_n_ces | Key Bindings
{ "keys": ["ctrl+v"], "command": "paste_and_indent" },
{ "keys": ["ctrl+shift+v"], "command": "paste" }
Mac OSX users substitute super for ctrl since you probalby don't know how to use emacs anyway ;-P
# Create a new MySQL user on Cloud9 - Change both __username__ and __password__ below | |
mysql-ctl cli | |
-- by default, Cloud9 creates an empty database named 'c9' | |
-- create user | |
CREATE USER '__username__'@'127.0.0.1' IDENTIFIED BY '__password__'; | |
-- privileges | |
GRANT ALL PRIVILEGES ON *.* TO '__username__'@'127.0.0.1' WITH GRANT OPTION; | |
FLUSH PRIVILEGES; |
Create application/config/concrete.php or just add the 'security' array portion if the file already exists.
<?php /* application/config/concrete.php */
return array(
// override for load balancers and Cloud9
'security' => array(
'trusted_proxies' => array(
'ips' => array($_SERVER['REMOTE_ADDR']) // the remote IP address
# The main PHP repository (with many PECL extensions) sudo add-apt-repository ppa:ondrej/php -y sudo apt-get update -y sudo apt-get install php7.0-curl php7.0-cli php7.0-dev php7.0-gd php7.0-intl \ php7.0-mcrypt php7.0-json php7.0-mysql php7.0-opcache php7.0-bcmath php7.0-mbstring \ php7.0-soap php7.0-xml php7.0-zip -y
Go to http://c9.io (Login with Github) On the Dashboard, click “Create new workspace” Choose a project name (e.g. “elgg”) Choose “PHP” for project type Click “Create” (Wait... ~1 min for c9 workspace to be ready) Click “Start editing” for the workspace
#!/bin/sh | |
# | |
# get-socat.sh - Multipurpose Relay (SOcket CAT) - See: http://www.dest-unreach.org/socat/doc/socat.html | |
sudo apt-get update | |
sudo apt-get install socat | |
# Cloud9 only allows ports 8080-8082 ($PORT environment variable from your application) | |
# | |
# Here's how to forward say port 8888 to port 8081 - https://c58-jasteele.cusers.io:8888 |