Skip to content

Instantly share code, notes, and snippets.

View MotiurRahman's full-sized avatar

Motiur Rahman MotiurRahman

View GitHub Profile
@MotiurRahman
MotiurRahman / slider.js
Created October 18, 2021 06:26
slider test
// create slider container
const sliderContainer = document.createElement("div");
sliderContainer.style.className = "slideshow-container";
sliderContainer.style.maxWidth = "1000px";
sliderContainer.style.position= "relative";
sliderContainer.style.margin = "auto";
document.body.appendChild(sliderContainer);
// imgage container
@MotiurRahman
MotiurRahman / Privacy Policy
Created February 25, 2020 09:59
Privacy Policy
Motiur Rahman built the Password Manager app as a Free app. This SERVICE is provided by Motiur Rahman at no cost and is intended for use as is.
This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.
If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.
The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at Password Manager unless otherwise defined in this Privacy Policy.
Information Collection and Use
@MotiurRahman
MotiurRahman / Privacy Policy
Created February 23, 2020 14:59
Privacy Policy
Motiur Rahman built the Age Calculator Pro app as a Free app. This SERVICE is provided by Motiur Rahman at no cost and is intended for use as is.
This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.
If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.
The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at Age Calculator Pro unless otherwise defined in this Privacy Policy.
Information Collection and Use
@MotiurRahman
MotiurRahman / app.js
Created February 4, 2020 12:21
keyboard test
var win = Ti.UI.createWindow({
backgroundColor : 'white'
});
// Create a Button.
var aButton = Ti.UI.createButton({
title : 'Show',
height : "100",
width : "100",
color : "red"
@MotiurRahman
MotiurRahman / app.js
Created December 20, 2019 12:30
Focus Test
var win = Ti.UI.createWindow({
title : "Focus Test",
backgroundColor : 'red',
layout : "vertical"
});
// Create a TextField.
var aTextField = Ti.UI.createTextField({
height : 40,
@MotiurRahman
MotiurRahman / app.js
Last active December 12, 2019 15:10
AlertDialog Test
var win = Ti.UI.createWindow({
title : 'AlertDialog Window',
backgroundColor : 'white',
exitOnClose : true,
fullscreen : false
});
// Create a Button.
var TestDialog = Ti.UI.createButton({
@MotiurRahman
MotiurRahman / app.js
Created November 22, 2019 17:20
WebView Test
var win = Ti.UI.createWindow({
backgroundColor : '#fff'
});
win.open();
//var args = $.args;
var analyticsId = 'SSO - Open';
var webView;
@MotiurRahman
MotiurRahman / app.js
Created November 5, 2019 17:21
Remote image response data
var win = Ti.UI.createWindow({
backgroundColor : '#fff'
});
function getImage() {
var url = "https://tineye.com/images/widgets/mona.jpg";
var response = '';
var client = Ti.Network.createHTTPClient({
// function called when the response data is available
onload : function(e) {
@MotiurRahman
MotiurRahman / app.js
Last active November 5, 2019 15:18
RemoteImage Test
var win = Titanium.UI.createWindow({
className : 'win'
});
var Utils = {
    /* modified version of https://gist.github.com/1243697 */
    _getExtension: function(fn) {
        // CREDITS: http://stackoverflow.com/a/680982/292947
        var re = /(?:\.([^.]+))?$/;
@MotiurRahman
MotiurRahman / index.js
Created November 1, 2019 16:32
TextField Value
$.index.open();