Replacement to another file.
cat DATA.TXT | % { $_ -replace "Mary","Susan" } > newfile.txtSame file.
cat DATA.TXT | % { $_ -replace "Mary","Susan" }
| /usr/local/mysql/support-files |
Replacement to another file.
cat DATA.TXT | % { $_ -replace "Mary","Susan" } > newfile.txtSame file.
cat DATA.TXT | % { $_ -replace "Mary","Susan" }
| sudo ln -s "/Applications/Visual Studio Code.app/Contents/MacOS/Electron" /usr/local/bin/code |
| #include <Arduino_FreeRTOS.h> | |
| #include <semphr.h> // add the FreeRTOS functions for Semaphores (or Flags). | |
| #include <LiquidCrystal.h> | |
| #include "pitches.h" | |
| LiquidCrystal lcd(12, 11, 5, 4, 3, 2); | |
| // Declare a mutex Semaphore Handle which we will use to manage the Serial Port. | |
| // It will be used to ensure only only one Task is accessing this resource at any time. | |
| SemaphoreHandle_t xSerialSemaphore; |
| import cv2 | |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| # Load the data, converters convert the letter to a number | |
| data= np.loadtxt("D:\OpenCV\opencv\sources\samples\data\letter-recognition.data", dtype= 'float32', delimiter = ',', | |
| converters= {0: lambda ch: ord(ch)-ord('A')}) | |
| # split the data to two, 10000 each for train and test | |
| train, test = np.vsplit(data,2) |
| gcc -O2 -std=c99 -msse -lrt -lm test.c -otest | |
| sudo apt-get install linux-headers-$(uname -r) build-essential | |
| /* CSS declarations go here */ | |
| body { | |
| font-family: sans-serif; | |
| background-color: #315481; | |
| background-image: linear-gradient(to bottom, #315481, #918e82 100%); | |
| background-attachment: fixed; | |
| position: absolute; | |
| top: 0; | |
| bottom: 0; |
| Windows Registry Editor Version 5.00 | |
| [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectX] | |
| "InstalledVersion"=hex:00,00,00,09,00,00,00,00 | |
| "Version"="4.09.00.0904" |
#!/usr/bin/env bash
cd cd /Applications/Google\ Chrome.app/Contents/MacOS/
./Google\ Chrome --disable-gpu-vsync --blacklist-accelerated-compositing --blacklist-webgl --disable-accelerated-2d-canvas --disable-accelerated-compositing --disable-accelerated-layers --disable-gpu-sandbox --disable-accelerated-video
| void setup() { | |
| // put your setup code here, to run once:</code> | |
| } | |
| void loop() { | |
| // put your main code here, to run repeatedly: | |
| } |