For Homebrew v2.6.x and below:
brew cask install ngrokFor Homebrew v2.7.x and above:
| #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> |
| 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("-"); |
| i386 : iPhone Simulator | |
| x86_64 : iPhone Simulator | |
| arm64 : iPhone Simulator | |
| iPhone1,1 : iPhone | |
| iPhone1,2 : iPhone 3G | |
| iPhone2,1 : iPhone 3GS | |
| iPhone3,1 : iPhone 4 | |
| iPhone3,2 : iPhone 4 GSM Rev A | |
| iPhone3,3 : iPhone 4 CDMA | |
| iPhone4,1 : iPhone 4S |
| # 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.Net; | |
| using System.Net.Sockets; | |
| using System.Text; | |
| namespace UDP | |
| { | |
| public class UDPSocket | |
| { | |
| private Socket _socket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp); |
| #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({ |
| /* /index.html 200 |