Skip to content

Instantly share code, notes, and snippets.

View omerasif57's full-sized avatar

Omer Asif omerasif57

View GitHub Profile
@hnakamur
hnakamur / gist:3568136
Created September 1, 2012 09:25
how to setup mingw + msysgit + cmake
# how to setup mingw + msysgit + cmake
## MinGW
http://www.mingw.org/wiki/InstallationHOWTOforMinGW
http://sourceforge.net/projects/mingw/files/MinGW/
download and execute
mingw-get-inst-20120426.exe
@acdcjunior
acdcjunior / SeleniumFileDownloadFirefox.java
Created June 30, 2015 18:00
Selenium Automatic File download using Firefox
FirefoxProfile fxProfile = new FirefoxProfile();
fxProfile.setPreference("browser.download.folderList",2);
fxProfile.setPreference("browser.download.manager.showWhenStarting",false);
fxProfile.setPreference("browser.download.dir","c:\\mydownloads");
fxProfile.setPreference("browser.helperApps.neverAsk.saveToDisk","text/csv");
WebDriver driver = new FirefoxDriver(fxProfile);
driver.navigate().to("http://www.foo.com/bah.csv");
@arodu
arodu / timezone_list.csv
Last active October 3, 2024 02:28
timezone_list.csv
TimeZone UTC offset name
Pacific/Midway UTC-11:00 Midway Island, American Samoa
Pacific/Honolulu UTC-10:00 Hawaii
America/Anchorage UTC-08:00 Alaska
America/Tijuana UTC-07:00 Baja California
America/Los_Angeles UTC-07:00 Pacific Time US and Canada)
America/Phoenix UTC-07:00 Arizona
America/Chihuahua UTC-06:00 Chihuahua, La Paz, Mazatlan
America/Denver UTC-06:00 Mountain Time US and Canada)
America/Belize UTC-06:00 Central America
@areski
areski / install-fs16.sh
Created December 1, 2015 17:31
Install FreeSWITCH 1.6
#!/bin/bash
#
FS_CONFIG_PATH=/etc/freeswitch
FS_CONF_PATH=/usr/src/newfies-dialer/install/freeswitch-conf
#Set branch to install develop / default: master
if [ -z "${INSTALL_FS}" ]; then
INSTALL_FS='yes'
fi
@jeroen-meijer
jeroen-meijer / .gitignore
Created September 12, 2018 04:47
General Flutter .gitignore (including VS Code, IntelliJ & Firebase files).
### https://raw.github.com/github/gitignore/80a8803b004013d17291196825a327b9e871f009/Android.gitignore
# Built application files
*.apk
*.ap_
# Files for the ART/Dalvik VM
*.dex
# Java class files
@mohammedsalem97
mohammedsalem97 / main.dart
Created February 20, 2020 22:19
ListWheelScrollView Example
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
@adityaiitb
adityaiitb / saved_model_cli.md
Last active October 27, 2021 20:32
TensorFlow Saved Model CLI

Saved Model CLI

Saved Model CLI (show)

saved_model_cli show --dir resnet/1
saved_model_cli show --dir resnet/1 --tag_set serve
@omerasif57
omerasif57 / bootomAppBar.dart
Created March 29, 2021 18:56
bottom appbar elevation plus rounded
bottomNavigationBar: Padding(
padding: const EdgeInsets.all(8.0),
child: Container(
decoration: BoxDecoration(boxShadow: [
BoxShadow(
blurRadius: 4.0,
offset: Offset(0.0, 0.0),
color: Colors.grey,
),
], borderRadius: BorderRadius.circular(36.0)),