Skip to content

Instantly share code, notes, and snippets.

@mohitbhatta
mohitbhatta / s
Created September 1, 2016 12:08
aa
/*<?php
//*/public class PhpJava { public static void main(String[] args) { System.out.printf("/*%s",
//\u000A\u002F\u002A
class PhpJava {
function main() {
echo(//\u000A\u002A\u002F
"Hello World!");
}}
//\u000A\u002F\u002A
PhpJava::main();
@mohitbhatta
mohitbhatta / 44
Created September 1, 2016 12:04
hack wifi
#include <ESP8266WiFi.h>
String ResponseControl(void);
WiFiServer server(80);
int pinList[8] = {2, 4, 5, 12, 13, 14, 15, 16};
String responseHeader = "HTTP/1.1 200 OK\r\nContent-Type: text/html\r\nAccess-Control-Allow-Origin: *\r\nConnection: close\r\n\r\n";
void setup() {
@mohitbhatta
mohitbhatta / try it
Last active September 1, 2016 12:04
try it
* 8056 unique users in July
* 700-800 visits per weekday
* Users from pretty much everywhere around the world
Downloads:
* 1281 downloads for the server alone in July
* 100K+ pulls of main Docker image from Docker Hub
@mohitbhatta
mohitbhatta / 3 number
Created September 1, 2016 11:57
WAP to find greatest no between two n 3 no using c program
#include<stdio.h>
#include<conio.h>
int main()
{
int a,b,c;
{
printf("enter three no:");
scanf("%d%d%d",&a,&b,&c);
}
if (a>b && a>c)