This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="format-detection" content="telephone=no" /> | |
| <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" /> | |
| <link rel="stylesheet" type="text/css" href="css/index.css" /> | |
| <title>Google OAuth with PhoneGap</title> | |
| </head> | |
| <body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| using namespace std; | |
| int main() | |
| { | |
| //Default size of array | |
| const int m = 8; | |
| //Loop variables and count to store values in C array | |
| int i, j, k,t = 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE HTML> | |
| <html> | |
| <head> | |
| <title>Flood</title> | |
| <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> | |
| </head> | |
| <body> | |
| <div> | |
| <span id='status'></span> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //By Muhammad Umer Farooq | |
| #include <iostream> | |
| namespace ReverseNumber | |
| { | |
| int rem = 0; int rev = 0; | |
| int for_loop(int n) | |
| { | |
| for (n; n != 0; n /= 10) { // for (n; n > 0; n /= 10), for (;n != 0; n /= 10) | |
| rem = n % 10; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class Capture | |
| { | |
| /** | |
| * Capture web screenshot using google api. | |
| * | |
| * @param (string) $url Valid url | |
| * | |
| * @return blob |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function isPrime($n) | |
| { | |
| for ($i = 2; $i < $n ; $i++) { | |
| if ($n % $i === 0){ | |
| return false; | |
| } | |
| } | |
| return true; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <string.h> | |
| using namespace std; | |
| int hex2dec(string str); | |
| int power(int exponent, int base); | |
| int count(string s); | |
| int main () | |
| { | |
| string hexa; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function hexTDec($hex) | |
| { | |
| $decimal = 0; | |
| $exp = 0; | |
| $len = strlen($hex) - 1; | |
| for ($i = $len; $i >= 0 ; $i--) { | |
| if ($hex[$i] <= 9 && $hex[$i] >= 0){ | |
| $decimal += $hex[$i] * ( 16 ** $exp); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?=view('nav')?> | |
| <div class="overlayexp"> | |
| <div class="expmodal"> | |
| <div class="modelhead"><button id="closeexp">x</button><h4>Add Experience</h4></div> | |
| <center><form > | |
| <input type="text" id="" placeholder="title" class="signupinput" required> | |
| <input type="text" id="" placeholder="Company" class="signupinput" required> | |
| <input type="text" id="" placeholder="Location" class="signupinput" required> | |
| <select name="" id="expyears" class="signupinput"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| use Lablnet\Identicon; | |
| require 'vendor/autoload.php'; | |
| $Identicon = new Identicon; | |
| //$Identicon->getInstance()->setBlock(2); //change block | |
| $imageDataUri = $Identicon->getImgDataBase64('php'); | |
| echo "<img src=".$imageDataUri." />"; |