I hereby claim:
- I am ezirmusitua on github.
- I am 3zirmusitua3 (https://keybase.io/3zirmusitua3) on keybase.
- I have a public key ASAe9j3DrU_Td63LiyL4-ENNzCHFoGMlX4_pdXrqljE3bQo
To claim this, I am signing this object:
(function (factory) { | |
typeof define === "function" && define.amd ? define(factory) : factory(); | |
})(function () { | |
"use strict"; | |
function _classCallCheck(instance, Constructor) { | |
if (!(instance instanceof Constructor)) { | |
throw new TypeError("Cannot call a class as a function"); | |
} | |
} |
I hereby claim:
To claim this, I am signing this object:
{ | |
"editor.fontSize": 18, | |
"editor.fontFamily": "'Fira Code', 'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'", | |
"editor.columnSelection": false, | |
"editor.tabSize": 2, | |
"debug.console.fontSize": 16, | |
"markdown.preview.fontSize": 16, | |
"terminal.integrated.fontSize": 16, | |
"[typescript]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" |
# add option | |
echo "set-option -g default-shell /bin/zsh" >> ~/.tmux.conf | |
<C-b>: source-file ~/.tmux.conf |
curl -L https://get.daocloud.io/docker/compose/releases/download/1.23.2/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose |
# switch to root | |
su root | |
# show access | |
ls -l /etc/sudoers | |
# change access | |
chmod 777 /etc/sudoers | |
vim /etc/sudoers | |
# find root ALL=(ALL) ALL | |
# add user ALL=(ALL) ALL | |
# :wq |
# check permission | |
sudo -u www-data stat /username/test/ | |
# add to user group | |
gpasswd -a www-data username | |
# give access to username group | |
chmod g+x /username && chmod g+x /username/test && chmod g+x /username/test/# | |
# restart nginx |
scp username@host:/remote/path/to/download /local/path/to/save/ |
// Reference: https://stackoverflow.com/questions/152188/can-i-create-a-desktop-icon-for-a-clickonce-application | |
// Program Class | |
private void CreateDesktopIcon () { | |
ApplicationDeployment ad = ApplicationDeployment.CurrentDeployment; | |
// create desktop shortcut at first time application run | |
if (ad.IsFirstRun) { | |
Assembly assembly = Assembly.GetEntryAssembly (); | |
// NOTE: Get assembly information and to get Program shortcut in Program File(Generated By OneClick) | |
string product = string.Empty; |