Skip to content

Instantly share code, notes, and snippets.


IsmailS ismusidhu

View GitHub Profile
ismusidhu / DatePickerField.js
Created Feb 6, 2020
Work around for react-native-datepicker TouchableComponent not working
View DatePickerField.js
import React, { Fragment, useRef } from 'react'
import DatePicker from 'react-native-datepicker';
import { TextField, FilledTextField, OutlinedTextField, } from 'react-native-material-textfield';
export default function DatePickerField({ label, onBlur, error, onChange, value, style, textFieldProps, datePickerProps, ...props }) {
let dateTextFieldRef = useRef(null);
let datePickerRef = useRef(null);
const triggerDatePickerClick = () => {
ismusidhu / DeleteLongListOfBitBucketBranches.js
Created Jul 6, 2016
Delete long list of remote branches in bitbucket GIT repository. (Run in chrome console after logging in)
View DeleteLongListOfBitBucketBranches.js
var userAccount = '<userNameOrCompanyAccountName>';
var repoName = '<repoName>';
var branches = ['<list of branches to delete>'];
for (var i = 0; i < branches.length; i++) {
method: 'DELETE',
url: '!api/1.0/repositories/' + userAccount + '/' + repoName + '/_branch/' + branches[i]
ismusidhu / SQLServer2014InstallationConfiguration.ini
Created Mar 21, 2016
SQL Server 2014 installation configuration file
View SQLServer2014InstallationConfiguration.ini
;SQL Server 2014 Configuration File
; Specifies a Setup work flow, like INSTALL, UNINSTALL, or UPGRADE. This is a required parameter.
; Use the /ENU parameter to install the English version of SQL Server on your localized Windows operating system.
ismusidhu / Boxstarter script
Last active Mar 21, 2016 — forked from sturlath/BoxtarterGist
Script for setting up KashFlow Developer machine. (to be use with Boxstarter and Chocolatey)
View Boxstarter script
# Install BoxStarter first from it's website
# then execute this batch script or paste commands in a power shell window with elevated permissions(run as administrator)
set-executionpolicy remotesigned
Import-Module Boxstarter.WinConfig
# Explorer options
Set-ExplorerOptions -showHidenFilesFoldersDrives -showFileExtensions
#Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
View ErrorDetailPage.cshtml
@* Generator: Template TypeVisibility: Internal *@
@using System.Globalization
@using System.IO
@using System.Web
@using Elmah
@inherits WebTemplateBase
var basePageName = Request.ServerVariables["URL"];
You can’t perform that action at this time.