This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"git.confirmSync": false, | |
"window.zoomLevel": 0, | |
"workbench.editor.enablePreview": false, | |
"explorer.openEditors.visible": 0, | |
"workbench.startupEditor": "newUntitledFile", | |
"files.exclude": { | |
"**/.git": true, | |
"**/.DS_Store": true, | |
"**/.history": true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# generated vscodium --list-extensions | xargs -L 1 echo code --install-extension | |
PLUGINS=(formulahendry.code-runner | |
octref.vetur | |
PKief.material-icon-theme | |
will-stone.plastic) | |
for i in "${PLUGINS[@]}" | |
do | |
vscodium --install-extension "$i" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /usr/share/X11/xorg.conf.d/99-libinput.conf | |
Section "InputClass" | |
Identifier "libinput touchpad catchall" | |
Driver "libinput" | |
MatchProduct "ELAN1200:00 04F3:3045 Touchpad" | |
MatchIsTouchpad "on" | |
Option "Tapping" "True" | |
Option "DisableWhileTyping" "True" | |
Option "NaturalScrolling" "True" | |
Option "AccelProfile" "adaptive" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git submodule foreach git pull origin develop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export $(dbus-launch) | |
# could be in /etc/profile.d/dbus.sh | |
# this with lxdm and i3wm in artix linux. | |
# if there another way i will see |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gdbus call --session --dest org.freedesktop.DBus --object-path /org/freedesktop/Dbus --method org.freedesktop.DBus.ListNames |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Fist install the last version nodejs | |
$ apt install -y nodejs # Debian/Ubuntu | |
$ pacman -S nodejs npm # Archlinux | |
$ yum install nodejs # RHEL/Defora | |
$ xbps-install -Sy nodejs # Voidlinux | |
# then install some pkgs from npm repo/manager | |
# more info: https://docs.npmjs.com/downloading-and-installing-packages-globally | |
$ sudo npm i -g @amgular/cli # to install angular cli https://cli.angular.io/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
const HttpsProxyAgent = require('https-proxy-agent'); | |
/* | |
* API proxy configuration. | |
* This allows you to proxy HTTP request like `http.get('/api/stuff')` to another server/port. | |
* This is especially useful during app development to avoid CORS issues while running a local server. | |
* For more details and options, see https://github.com/angular/angular-cli#proxy-to-backend | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "angular-workshop", | |
"version": "0.0.0", | |
"scripts": { | |
"ng": "ng", | |
"start": "ng serve --aot --proxy-config proxy.conf.js", | |
"serve:sw": "npm run build:prod && npx http-server ./dist -p 4200", | |
"build": "ng build --prod", | |
"test": "ng test", | |
"lint": "ng lint", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SSH_ENV=$HOME/.ssh/environment | |
function start_agent { | |
/usr/bin/ssh-agent | sed 's/^echo/#echo/' > "${SSH_ENV}"; | |
chmod 600 "${SSH_ENV}" | |
. "${SSH_ENV}" > /dev/null | |
adding_keys | |
} | |
function adding_keys { | |
for possiblekey in ${HOME}/.ssh/*; do |