For Homebrew v2.6.x and below:
brew cask install ngrok
For Homebrew v2.7.x and above:
import 'package:flutter/material.dart'; | |
class GoogleMapsClonePage extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
body: Stack( | |
children: <Widget>[ | |
CustomGoogleMap(), | |
CustomHeader(), |
using System; | |
using System.Collections.Generic; | |
using Foundation; | |
using Xamarin.Forms; | |
using Xamarin.Forms.Platform.iOS; | |
using YourAwesomeApp.iOS.Renderers; | |
[assembly: ExportRenderer(typeof(Shell), typeof(ShellCustomRenderer))] | |
namespace YourAwesomeApp.iOS.Renderers | |
{ |
#!/bin/sh | |
# To run, download the script or copy the code to a '.sh' file (for example 'fluttercleanrecursive.sh') and run like any other script: | |
# sh ./fluttercleanrecursive.sh | |
# or | |
# sudo sh fluttercleanrecursive.sh | |
echo "Flutter Clean Recursive (by jeroen-meijer on GitHub Gist)" | |
echo "Looking for projects... (may take a while)" |
/* /index.html 200 |
/** | |
* @license | |
* Copyright Akveo. All Rights Reserved. | |
* Licensed under the MIT License. See License.txt in the project root for license information. | |
*/ | |
import { Component, OnInit } from '@angular/core'; | |
import { AnalyticsService } from './@core/utils/analytics.service'; | |
import { TranslateService } from '@ngx-translate/core'; | |
@Component({ |
public LoginPage () | |
{ | |
InitializeComponent (); | |
BindingContext = ViewModel; | |
UsernameEntry.Completed += (sender, args) => { PasswordEntry.Focus(); }; | |
PasswordEntry.Completed += (sender, args) => { ViewModel.AuthenticateCommand.Execute(null); }; | |
} |
#include <fsl_port.h> | |
#include <fsl_gpio.h> | |
#include <fsl_debug_console.h> | |
#include <fsl_sai.h> | |
#define RX_SAI_IRQ I2S0_Rx_IRQn | |
#define SAI_RxIRQHandler I2S0_Rx_IRQHandler | |
bool isFinished = false; | |
uint32_t temp[2000]; |
using System; | |
using System.Net; | |
using System.Net.Sockets; | |
using System.Text; | |
namespace UDP | |
{ | |
public class UDPSocket | |
{ | |
private Socket _socket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp); |
# Requirements: | |
# Node Installed | |
# Safe User that is running as node | |
#1) Install pm2 | |
sudo npm install -g pm2 | |
#2) Set-up PM2 to autostart upon server rebooting | |
#sudo env PATH=$PATH:/usr/local/bin pm2 startup <platform> -u <safe_user_not_root> | |
sudo env PATH=$PATH:/usr/local/bin pm2 startup ubuntu -u ubuntu |