This file contains 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
/*Author: Nelmin Jay Magan Anoc | |
* | |
*/ | |
#include<stdio.h> | |
void printFibonnaciSequence(int); | |
int setNumberOfTerms(); | |
This file contains 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
/* | |
*Author: Nelmin | |
*A simple two variable calculator, modify it to your needs. | |
*/ | |
#include<iostream> | |
using namespace std; | |
void displayMenu(); | |
int getMenuChoice(); |
This file contains 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
/* | |
* @author : Nelmin Jay Magan Anoc | |
* file handling script to retrieve a simple classlist on a text file | |
*/ | |
#include<iostream> | |
#include<fstream> | |
#include<string> |
This file contains 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
import socket, sys, os | |
print "][ Attacking " + sys.argv[1] + " ... ][" | |
print "injecting " + sys.argv[2]; | |
def attack(): | |
#pid = os.fork() | |
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
s.connect((sys.argv[1], 80)) | |
print ">> GET /" + sys.argv[2] + " HTTP/1.1" | |
s.send("GET /" + sys.argv[2] + " HTTP/1.1\r\n") | |
s.send("Host: " + sys.argv[1] + "\r\n\r\n"); |
This file contains 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
//public/asset/js | |
//client.js | |
//client.min.js | |
var debug = process.env.NODE_ENV !== "production"; | |
var webpack = require('webpack'); | |
module.exports = { | |
context: __dirname + "/public", | |
devtool: debug ? "inline-sourcemap" : null, |
This file contains 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
{ | |
"name": "moduleloader", | |
"version": "1.0.0", | |
"description": "fucking module loading system", | |
"main": "webpack.config.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"author": "none", | |
"license": "ISC", |
This file contains 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
// react-redux app template | |
// based on create-react-app cli | |
// change { name } | |
{ | |
"name": "", | |
"version": "0.1.0", | |
"private": true, | |
"dependencies": { | |
"react": "^15.6.1", |
This file contains 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>My Location</title> | |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no"> | |
<meta charset="utf-8"> | |
<style> | |
#map { | |
height: 616px; | |
margin-top: 5px; |
This file contains 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
/* | |
* This is a simple and easy approach to reuse the same | |
* navigation drawer on your other activities. Just create | |
* a base layout that conains a DrawerLayout, the | |
* navigation drawer and a FrameLayout to hold your | |
* content view. All you have to do is to extend your | |
* activities from this class to set that navigation | |
* drawer. Happy hacking :) | |
* P.S: You don't need to declare this Activity in the | |
* AndroidManifest.xml. This is just a base class. |
This file contains 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
location ^~ /api { | |
rewrite ^/api/(.*)$ /$1 break; | |
proxy_pass http://localhost:6969; | |
} |
OlderNewer