As easy as 1, 2, 3!
Updated:
- Aug, 08, 2022 update
config
docs for npm 8+ - Jul 27, 2021 add private scopes
- Jul 22, 2021 add dist tags
- Jun 20, 2021 update for
--access=public
- Sep 07, 2020 update docs for
npm version
sudo aptitude -y install nginx | |
cd /etc/nginx/sites-available | |
sudo rm default | |
sudo cat > jenkins | |
upstream app_server { | |
server 127.0.0.1:8080 fail_timeout=0; | |
} | |
server { | |
listen 80; |
module = angular.module 'FacebookPluginDirectives', [] | |
createDirective = (name) -> | |
module.directive name, -> | |
restrict: 'C' | |
link: (scope, element, attributes) -> | |
FB?.XFBML.parse(element.parent()[0]) | |
createDirective pluginName for pluginName in ['fbActivity', 'fbComments', 'fbFacepile', 'fbLike', 'fbLikeBox', 'fbLiveStream', 'fbLoginButton', 'fbName', 'fbProfilePic', 'fbRecommendations'] |
// Facebook SDK | |
angular.module('facebook', []) | |
.directive('fb', ['$FB', function($FB) { | |
return { | |
restrict: "E", | |
replace: true, | |
template: "<div id='fb-root'></div>", | |
compile: function(tElem, tAttrs) { | |
return { | |
post: function(scope, iElem, iAttrs, controller) { |
## Default setup: http://pkg.jenkins-ci.org/debian/ | |
## Setup with oracle-jdk, mvn3, git, nginx and useful jenkins plugins | |
Remove OpenJDK first if installed by this command: | |
sudo apt-get purge openjdk* | |
Then add the Webupd8 Team PPA repository and then reload the packages: | |
sudo add-apt-repository ppa:webupd8team/java | |
sudo apt-get update |