기본 콘텐츠로 건너뛰기

Vscode freeze linux with nvidia libs

System hung whenever vscode was started. INSTALLING NVIDIA DRIVERS ON RHEL OR CENTOS 7( http://www.advancedclustering.com/act_kb/installing-nvidia-drivers-rhel-centos-7/ ). Somehow other parts were completed already, maybe nvidia package install script did that. Missing parts were 1. "blacklist nouveau" in /etc/pmodprobe.d/blacklist.conf 2. mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img dracut /boot/initramfs-$(uname -r).img $(uname -r)

Linux CPU Usage

Command line tools 14 Command Line Tools to Check CPU Usage in Linux( https://linoxide.com/monitoring-2/10-tools-monitor-cpu-performance-usage-linux-command-line/ ) Understanding UNDERSTANDING CPU USAGE IN LINUX( https://www.opsdash.com/blog/cpu-usage-linux.html ) /proc filesystem can be used to access information directly.

Auth using firebaseui for angular

Install firebaseui-angular current firebaseui-angular 3.3.3 install spit out warnings with angular 7! Add the FirebaseUIModule with the config to your imports. CSS Import Import the firebaseui css to your src/styles.css file Use tag Use below tag where login select div is needed. ref :  https://www.npmjs.com/package/firebaseui-angular

static web tools

ANGULARJS & MATERIAL AngularJS CLI New project. ng new projectname To use Angular Material npm install --save @angular/material @angular/cdk npm install --save @angular/animations include a polyfill . import {BrowserAnimationsModule} from '@angular/platform-browser/animations'; @NgModule({  ...  imports: [BrowserAnimationsModule],  ... }) export class PizzaPartyAppModule { } import the NgModule for each component you want to use import {MatButtonModule, MatCheckboxModule} from '@angular/material'; @NgModule({  imports: [MatButtonModule, MatCheckboxModule],  exports: [MatButtonModule, MatCheckboxModule], }) export class MyOwnCustomMaterialModule { } Include a theme style.css @import "~@angular/material/prebuilt-themes/indigo-pink.css"; Gesture Support npm install --save hammerjs After installing, import it on your app's entry point (e.g. src/main.ts). import 'hammerjs'; ...

sublime.desktop - centos

File location : /usr/share/applications [Desktop Entry] Name=Sublime Text GenericName=Text Editor Comment=Edit source code Exec="path/to/sublime" %U Terminal=false Type=Application StartupNotify=true MimeType=text/plain; Icon="path/to/icon" Categories=TextEditor;Development;Utility;