Skip to content

Instantly share code, notes, and snippets.

View shaina7837's full-sized avatar

Shaina Sabarwal shaina7837

View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<div id="container" onclick="hidetext()">
package com.mirl;
import android.app.Application;
import com.facebook.react.ReactApplication;
import com.facebook.reactnative.androidsdk.FBSDKPackage;
import com.facebook.reactnative.androidsdk.FBSDKPackage;
import io.realm.react.RealmReactPackage;
import com.burnweb.rnsimplealertdialog.RNSimpleAlertDialogPackage;
import com.i18n.reactnativei18n.ReactNativeI18n;
addBackground('background.png');
24 var balls = [];
25 var count = 0;
26 function addBall(color, left, top){
27 balls[count] = addImage("water-gun.png", 50);
28 positionEl(balls[count], left, top);
29 count++;
30 }
/*
* transform: A jQuery cssHooks adding cross-browser 2d transform capabilities to $.fn.css() and $.fn.animate()
*
* limitations:
* - requires jQuery 1.4.3+
* - Should you use the *translate* property, then your elements need to be absolutely positionned in a relatively positionned wrapper **or it will fail in IE678**.
* - transformOrigin is not accessible
*
* latest version and complete README available on Github:
* https://github.com/louisremi/jquery.transform.js
let email = i.emailIds.get();
email = email.map(item => {
let formData = Form.process(i.$("form[name="+item._id+"]"));
let invite_id = item._id;
let invite_url = Meteor.absoluteUrl() + 'testAccepted/' + invite_id;
BT.collections.invites.insert({"sender":currentUser, "receiver":formData.emailsid, "test_id":test_id ,"expiry_date":expiry_date ,"invite_id":invite_id ,"invite_url":invite_url, "otp":otp, invite_accepted: false});
return {emails:formData.emailsId, inviteId: invite_id};
});
let url = Meteor.absoluteUrl() + 'testAccepted/' + email.inviteId;
console.log(email.emails);
<!DOCTYPE HTML>
<html lang="en">
<head>
<title> Replay </title>
<meta charset = "UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style type="text/css">
@font-face {
font-family: 'themify';
src:url('themify-icons/fonts/themify.eot?-fvbane');
<?php
get_header();
$is_page_builder_used = et_pb_is_pagebuilder_used( get_the_ID() );
?>
<div id="main-content" style="background-image:url('<?php echo thumb_url(); ?>'); height:100%; width:100%;">
<html>
<head>
<title> </title>
<link rel="stylesheet" type="text/css" href="style.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
</head>
<body>
<div class="image" id="hovering">
<div class="layer left"></div>
<div class="layer right"></div>
# Only allow direct access to specific Web-available files.
# Apache 2.2
<IfModule !mod_authz_core.c>
Order Deny,Allow
Deny from all
</IfModule>
# Apache 2.4
<IfModule mod_authz_core.c>
var count = 0;
setInterval(function(){
var previousCount = count;
count = '<%= j @msgs.to_s %>';
if(count > previousCount)
{alert(count); }
},
1000);