Skip to content

Instantly share code, notes, and snippets.

View Nemra1's full-sized avatar

Ahmed El Sheikh Nemra1

View GitHub Profile
@Nemra1
Nemra1 / index.html
Created April 20, 2020 23:06 — forked from fhdalikhan/index.html
millicast.com paid webtrc service for video broadcasting
<!DOCTYPE html>
<html>
<head>
<title></title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
</head>
<body>
<div id="messages">
@Nemra1
Nemra1 / Simple-HTML5-Local-Storage.js
Created April 12, 2020 12:35 — forked from jakebresnehan/Simple-HTML5-Local-Storage.js
Simple HTML5 Local Storage example to hide a element
Need to include Modernizer (http://www.modernizr.com/) and jQuery (http://jquery.com/)
$(document).ready(function($){
if (Modernizr.localstorage) {
$('#hide-button').click(function(e){
localStorage.setItem('subscribed',true);
$('#sign-up-form,#hide-button').hide();
$('#hide-button').hide();
@Nemra1
Nemra1 / submit.php
Created January 8, 2020 12:41 — forked from jwne/submit.php
So you can past log files to hastebin. Because it's moar sexy than the ones they provide.
// PUT THIS SECTION AT http://your-site.com/submit.php
<?php
function grab_dump($var)
{
ob_start();
var_dump($var);
return ob_get_clean();
@Nemra1
Nemra1 / connectionlog.php
Created January 8, 2020 12:40 — forked from jwne/connectionlog.php
Log connecting clients' IP, port, user agent, and HTTP referer with a timestamp of the connection. MySQL storage preferred.
<?php
// For now file storage requires that the file specified is created already and chmodded to allow writing.
/**
* Connection info logging script created by Xeru
*
* Website: https://xeru.me
* Twitter: https://twitter.com/Xeru_
* GitHub: https://github.com/exec