https://orga.cat/posts/most-useful-git-commands http://guides.beanstalkapp.com/version-control/common-git-commands.html
bahasa indonesia https://www.petanikode.com/tutorial/git/
git fetch daripada git pull
| <?php | |
| namespace Botble\Base\Supports; | |
| use Botble\Base\Events\LicenseActivated; | |
| use Botble\Base\Events\LicenseActivating; | |
| use Botble\Base\Events\LicenseDeactivated; | |
| use Botble\Base\Events\LicenseDeactivating; | |
| use Botble\Base\Events\LicenseInvalid; | |
| use Botble\Base\Events\LicenseRevoked; |
https://orga.cat/posts/most-useful-git-commands http://guides.beanstalkapp.com/version-control/common-git-commands.html
bahasa indonesia https://www.petanikode.com/tutorial/git/
git fetch daripada git pull
| # AWS S3 bucket for static hosting | |
| resource "aws_s3_bucket" "website" { | |
| bucket = "${var.website_bucket_name}" | |
| acl = "public-read" | |
| tags { | |
| Name = "Website" | |
| Environment = "production" | |
| } |
Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a
I will be using the root user, but would suggest creating a new user
| /* | |
| Would be updated | |
| */ | |
| "use strict" | |
| const request = require("request"); | |
| const fs = require("fs"); | |
| const image = fs.createReadStream("path/to/image.jpg ") | |
| //run from terminal /node app.js/ and get variables from command line |
| <template> | |
| <div> | |
| <button class="button" @click="logInWithFacebook"> Login with Facebook</button> | |
| </div> | |
| </template> | |
| <script> | |
| export default { | |
| name:"facebookLogin", | |
| methods: { |
| // required variable | |
| const timezone = 'Asia/Jakarta' | |
| const dateFormat = moment.utc(date).tz(timezone) | |
| const createdAt = new Date(dateFormat).getTime() | |
| const converDeadlineDate = new Date(createdAt + (60 * 60 * 24 * 1000)) | |
| const deadline = new Date(converDeadlineDate).getTime() | |
| // deadline info | |
| const deadLineDays = moment.utc(converDeadlineDate).tz(timezone).format('dddd') | |
| const deadLineDate = moment.utc(converDeadlineDate).tz(timezone).format('DD MMMM YYYY') |
| <?php | |
| namespace App\Providers; | |
| use Illuminate\Support\ServiceProvider; | |
| class GoogleDriveServiceProvider extends ServiceProvider | |
| { | |
| /** | |
| * Bootstrap the application services. |
| package | |
| { | |
| /** | |
| * ActionScript 3.0 Code Snippet | |
| * Convert Number to Rupiah & vice versa | |
| * https://gist.github.com/845309 | |
| * | |
| * Copyright 2011-2012, Faisalman | |
| * Licensed under The MIT License | |
| * http://www.opensource.org/licenses/mit-license |
| $(document).ready(function() { | |
| function detectmob() { | |
| if( navigator.userAgent.match(/Android/i) | |
| || navigator.userAgent.match(/webOS/i) | |
| || navigator.userAgent.match(/iPhone/i) | |
| || navigator.userAgent.match(/iPad/i) | |
| || navigator.userAgent.match(/iPod/i) | |
| || navigator.userAgent.match(/BlackBerry/i) | |
| || navigator.userAgent.match(/Windows Phone/i) |