ssh-keygen -t rsa -b 4096 -C "hoang.huy.tran@gmail.com"- Windows PowerShell was built upon .NET and only worked on Windows
- PowerShell Core is open sourced and built on .NET Core 2.x, work on Windows, Linux, macOS, ARM
ssh-keygen -t rsa -b 4096 -C "hoang.huy.tran@gmail.com"browser.download.animateNotifications to Falsesecurity.dialog_enable_delay to 0network.prefetch-next to False (Only on slow internet connections)browser.newtabpage.activity-stream.feeds.telemetry to falsebrowser.newtabpage.activity-stream.telemetry to falsebrowser.ping-centre.telemetry to falsetoolkit.telemetry.archive.enabled to falsetoolkit.telemetry.bhrPing.enabled to false| @RestController | |
| class HelloWorld { | |
| @RequestMapping("/") | |
| public String hello(){ | |
| return "Hello World!"; | |
| } | |
| } |
| package io.github.htr3n.springjdbcsimple.entity; | |
| public class Customer { | |
| private Integer id; | |
| private String name; | |
| private String email; | |
| public Integer getId() { | |
| return id; | |
| } |
| /* | |
| https://stackoverflow.com/a/37832318/339302 | |
| */ | |
| .rainbow2 { | |
| background-image: -webkit-linear-gradient(left, #E0F8F7, #585858, #fff); /* For Chrome and Safari */ | |
| background-image: -moz-linear-gradient(left, #E0F8F7, #585858, #fff); /* For old Fx (3.6 to 15) */ | |
| background-image: -ms-linear-gradient(left, #E0F8F7, #585858, #fff); /* For pre-releases of IE 10*/ | |
| background-image: -o-linear-gradient(left, #E0F8F7, #585858, #fff); /* For old Opera (11.1 to 12.0) */ | |
| background-image: linear-gradient(to right, #E0F8F7, #585858, #fff); /* Standard syntax; must be last */ | |
| color:transparent; |
| import os | |
| for dirname, dirnames, filenames in os.walk('.'): | |
| # print path to all subdirectories first. | |
| for subdirname in dirnames: | |
| print(os.path.join(dirname, subdirname)) | |
| # print path to all filenames. | |
| for filename in filenames: | |
| print(os.path.join(dirname, filename)) |
| html, | |
| body { | |
| font-family: "Helvetica Neue", arial, sans-serif; | |
| font-size: 16px; | |
| line-height: 1.66em; | |
| padding-top: 10px; | |
| padding-bottom: 10px; | |
| background-color: white; | |
| padding: 30px; | |
| } |
| const htmlmin = require("gulp-htmlmin"); | |
| //... | |
| gulp.task("minify-html", function(done) { | |
| let publicFolder = "./public"; | |
| let html = publicFolder + "/**/*.html"; | |
| let css = publicFolder + "/**/*.css"; | |
| let js = publicFolder + "/**/*.js"; | |
| let dest = "./dist"; | |
| log("Minifying HTML/CSS/JS in '" + publicFolder + "' to '" + dest + "'"); | |
| gulp.src(publicFolder + "/**") |
https://stackoverflow.com/a/16162000/339302
# 0.
mv a/submodule a/submodule_tmp
#1.
git submodule deinit -f -- a/submodule
#2.
rm -rf .git/modules/a/submodule
#3.