I hereby claim:
- I am desaiuditd on github.
- I am desaiuditd (https://keybase.io/desaiuditd) on keybase.
- I have a public key whose fingerprint is 2C76 0DDF EAF3 3C66 B687 FCFB 7F21 FD23 2244 74F5
To claim this, I am signing this object:
server { | |
server_name example.com www.home.example.com; | |
access_log /var/log/nginx/example.com.access.log ; | |
error_log /var/log/nginx/example.com.error.log; | |
I hereby claim:
To claim this, I am signing this object:
/** | |
* Mimics PHP's ucfirst function. | |
* | |
* @param subject The string to be ucfirst'd | |
* @return The subject string with an uppercased first character | |
*/ | |
final public static String ucfirst(String subject) | |
{ | |
return Character.toUpperCase(subject.charAt(0)) + subject.substring(1); | |
} |
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package sortll; | |
/** | |
* | |
* @author Pooja |
Overall Installation of Easy Engine on Linode
SSH
with root
user.www-data
as day to day user.(document password and pass along to project lead)vim /etc/passwd
Let's say you start a project locally, and do some editing.
$ mkdir -p ~/git/foo && cd ~/git/foo
$ touch NEWFILE
Now you decide you want to create a new github repo and track it, but the directory is non-empty so git won't let you clone into it. You can fix this, thusly:
# Script : get_meta.py | |
# Source : https://gist.github.com/jeffaudi/9fcac727cf6251287ecc/ | |
# Copyright (c) 2014, Jeff Faudi | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions are met: | |
# | |
# * Redistributions of source code must retain the above copyright notice, this | |
# list of conditions and the following disclaimer. |
To remove a submodule you need to: | |
Delete the relevant line from the .gitmodules file. | |
Delete the relevant section from .git/config. | |
Run git rm --cached path_to_submodule (no trailing slash). | |
Commit and delete the now untracked submodule files. |
{ | |
"staging": { | |
"destination": "/var/www/staging.example.com/htdocs/", | |
"hostname": "staging.example.com", | |
"username": "www-data", | |
"port": 22, | |
"sshLocalPath": "/home/udit/.ssh/id_rsa" | |
}, | |
"production": { | |
"destination": "/var/www/example.com/htdocs/", |
{ | |
"staging": { | |
"themeName": "example", | |
"destination": "/var/www/staging.example.com/htdocs/wp-content/themes/", | |
"root": "wp-content/themes/example", | |
"releasesDirectory": "/var/www/staging.example.com/releases/", | |
"hostname": "staging.example.com", | |
"username": "www-data", | |
"port": 22 | |
}, |