This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('#image-browse-button').change(function() { | |
previewImage(this); | |
}); | |
function previewImage(input) { | |
if(input.files && input.files[0]) { | |
var reader= new FileReader(), | |
image = new Image(); | |
reader.onload = function(_file) { | |
image.src = _file.target.result; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Well I have used following procedure usually: | |
Go To RUN | |
Write CMD | |
Ping the server if you know or your gateway. Even if there is requested timed out. | |
type "arp -a " | |
It will usually list down all the IP's and Computers with their Mac Addresses | |
If you want to use GUI one tool I recommend is : IPScan form http://www.eusing.com/ipscan/free_ip_scanner.htm | |
Although it a light application 433KB almost but a freeware and very effective and always work for me. 100 % result! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//You cannot set the min value of a SeekBar (always 0) and you cannot set the step value of a SeekBar (always 1). | |
//If you want to set the value from 60 to 180 with a step of 1 this is the way to do it | |
//From http://stackoverflow.com/questions/20762001/how-to-set-seekbar-min-and-max-value | |
int step = 1; | |
int max = 180; | |
int min = 60; | |
// Ex : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'dart:ui' as ui; | |
import 'package:flutter/services.dart' show rootBundle; | |
import 'dart:async'; | |
import 'dart:typed_data'; | |
void main() => runApp(new MyApp()); | |
class MyApp extends StatelessWidget { | |
// This widget is the root of your application. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:async'; | |
import 'dart:math'; | |
import 'dart:typed_data'; | |
import 'dart:ui' as ui; | |
import 'package:flutter/services.dart' show rootBundle; | |
import 'package:flutter/material.dart' hide Image; | |
void main() => runApp(new MyApp()); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class DownloadProgressIndicator extends StatelessWidget { | |
DownloadProgressIndicator({ | |
this.color =Colors.blue, | |
this.backgroundColor = Colors.black12, | |
this.content, | |
this.value, | |
this.strokeWidth = 4.0, | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div style=" | |
position: fixed; | |
top: 90%; | |
left: 50%; | |
z-index: 10000; | |
transform: translate(-50%, -50%); | |
background: rgba(247, 201, 241, 0.5); | |
padding: 20px; | |
border-radius: 30px; | |
"> |
OlderNewer