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 | |
sudo mount -wu / | |
cat visudoadd.txt >> /conf/base/etc/local/sudoers | |
sudo mount -ru / | |
sudo reboot |
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
import { NgModule } from '@angular/core'; | |
import { CommonModule } from '@angular/common'; | |
import { | |
BreakpointObserver, | |
Breakpoints, | |
BreakpointState | |
} from '@angular/cdk/layout'; | |
import { Observable } from 'rxjs'; | |
import { MatDialog, MatDialogRef } from '@angular/material/dialog'; |
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
uint16_t convertFloatToHalf(float in) { | |
if (in == 0){ | |
return 0; | |
} | |
F32 f; | |
f.value = in; | |
F16 hf; | |
/** | |
* Use sign |