For Homebrew v2.6.x and below:
brew cask install ngrok
For Homebrew v2.7.x and above:
#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]; |
public LoginPage () | |
{ | |
InitializeComponent (); | |
BindingContext = ViewModel; | |
UsernameEntry.Completed += (sender, args) => { PasswordEntry.Focus(); }; | |
PasswordEntry.Completed += (sender, args) => { ViewModel.AuthenticateCommand.Execute(null); }; | |
} |
/** | |
* @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({ |
# 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 |
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 | |
{ |
import 'package:flutter/material.dart'; | |
class GoogleMapsClonePage extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
body: Stack( | |
children: <Widget>[ | |
CustomGoogleMap(), | |
CustomHeader(), |
var http = require('http'); | |
var path = require('path'); | |
var fs = require('fs'); | |
var AUDIOFILE = "./audio.ogg"; | |
function serveWithRanges(request, response, content) { | |
var range = request.headers.range; | |
var total = content.length; | |
var parts = range.replace(/bytes=/, "").split("-"); |
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <fcntl.h> | |
#include <netinet/tcp.h> | |
#include <sys/socket.h> | |
#include <sys/types.h> | |
#include <netinet/in.h> |
#!/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)" |