git remote rm origin
git remote add origin http://...
git push -u origin --all
git remote rm origin
git remote add origin http://...
git push -u origin --all
Free tier of AWS has offers 750 hours per month of Windows t2.micro or t3.micro instance dependent on region.
US East (N. Virginia) | us-east-1 | t2 |
US East (Ohio) | us-east-2 | t2 |
US West (N. California) | us-west-1 | t2 |
US West (Oregon) | us-west-2 | t2 |
Asia Pacific (Mumbai) | ap-south-1 | t2 |
Asia Pacific (Osaka) | ap-northeast-3 | t2 |
Asia Pacific (Seoul) | ap-northeast-2 | t2 |
Asia Pacific (Singapore) | ap-southeast-1 | t2 |
Asia Pacific (Sydney) | ap-southeast-2 | t2 |
Asia Pacific (Tokyo) | ap-northeast-1 | t2 |
Canada (Central) | ca-central-1 | t2 |
Europe (Frankfurt) | eu-central-1 | t2 |
Europe (Ireland) | eu-west-1 | t2 |
Europe (London) | eu-west-2 | t2 |
Europe (Paris) | eu-west-3 | t2 |
Europe (Stockholm) | eu-north-1 | t3 |
South America (São Paulo) | sa-east-1 | t2 |
Regions not enabled by default
Africa (Cape Town) | af-south-1 | t3 |
Asia Pacific (Hong Kong) | ap-east-1 | t3 |
Asia Pacific (Hyderabad) | ap-south-2 | |
Asia Pacific (Jakarta) | ap-southeast-3 | t3 |
Asia Pacific (Melbourne) | ap-southeast-4 | t3 |
Europe (Milan) | eu-south-1 | t3 |
Europe (Spain) | eu-south-2 | t3 |
Europe (Zurich) | eu-central-2 | t3 |
Middle East (Bahrain) | me-south-1 | |
Middle East (UAE) | me-central-1 | t3 |
Israel (Tel Aviv) | il-central-1 | t3 |
Na liście zaznacz "False" przy: "Include database name" i "Include login name".
Otwarte karty nie zmienią swoich tytułów, ale nowe karty już będą miały krótki opis.
netsh wlan show profile
Pokazuje listę zapisanych profili. Np. chcę sprawdzić hasło dla sieci "biuro".
netsh wlan show profile name="biuro" key=clear
Szukam sekcji "Security settings" i wiersza "Key Content".
1. Create project in Firebase. Create Angular application
2. Install firebase tools
npm install -g firebase-tools
3. Login and Initialize Firebase in Angular project
firebase login
firebase init hosting
4. Build Angular
ng build
5. Deploy built folder
firebase deploy
I had this error when added MDX documentation to a story:
Uncaught TypeError: Cannot read property 'split' of undefined at parseKind (index.js:90) at defaultTitleSlot (Title.js:46) at Title (Title.js:71) at renderWithHooks (react-dom.development.js:14803) at mountIndeterminateComponent (react-dom.development.js:17482) at beginWork (react-dom.development.js:18596) at HTMLUnknownElement.callCallback (react-dom.development.js:188) at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:421) at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:188) at ZoneTask.push../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask [as invoke] (zone.js:503) |
Story:
import doc from './controls.mdx'; export default { title: 'Controls', parameters: { docs: { page: doc } }, decorators: [ moduleMetadata({ declarations: [FooBarComponent], imports: [NgbModule, ClickOutsideModule] }), withPreview ] }; export const TooltipClick = () => ({ component: FooBarComponent, template: statusProcessTemplate }); TooltipClick.story = { name: 'Process status', parameters: { preview: [{ tab: 'HTML', language: 'html', template: statusProcessTemplate }] } }; |
I don't know why, but I removed the line:
component: FooBarComponent,
and then documentation started working again.
import { YourNameComponent } from './pages/admin/YourName/YourName.component';
appRoutes: Routes = [
{
path: 'admin/YourName',
component: YourNameComponent,
canActivate: [AuthenticationGuard],
data: { title: 'Your Name', isNew: true }
},
@NgModule({
declarations: [
YourNameComponent
Tools > Options > Projects and Solutions > General > Track Active Item in Solution Explorer
dotenv
packageREACT_APP_MOCK_API_URL=data1
REACT_APP_REST_KEY=data2
const key = process.env.REACT_APP_REST_KEY;
const mockUrl = process.env.REACT_APP_MOCK_API_URL;
Important!
Variable name MUST begin with "REACT_APP_"
(Initially I called variable MOCK_API_URL. It took me few hours to figure out why key contained value and mockUrl was undefined.)