Skip to content

Instantly share code, notes, and snippets.

View inabahare's full-sized avatar
:shipit:
Hello World!

Ja Da inabahare

:shipit:
Hello World!
View GitHub Profile
require '/php/classes/login/login.php';
$login = new LoginClass();
$data = [
'username' = 'moofyisa',
'password' = 'faggot',
];
$login->login($data);
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
var deg2rad = Math.PI / 180;
var angle = prompt("What angle") * deg2rad;
var velocity = prompt('What velocity');
var gravity = prompt('What gravity');
var yNul = prompt('Interception with the y axis');
var equation;
for(p = 0; p < 10000; p++){
sp.say();
sp.left.punch();
sp.say();
sp.right.punch();
}
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li role="separator" class="divider"></li>
<li><a href="#">Separated link</a></li>
<li role="separator" class="divider"></li>
<li><a href="#">One more separated link</a></li>
// ./app.js
[..]
var mongoose = require('mongoose');
mongoose.connect('mongodb://localhost/kittens');
[..]
app.use('/', routes);
app.use('/find', find);
[..]
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls
# http://wiki.nginx.org/QuickStart
# http://wiki.nginx.org/Configuration
#
# Generally, you will want to move this file somewhere, and start with a clean
# file but keep this around for reference. Or just disable in sites-enabled.
#
// Get autoloader
require_once "vendor/autoload.php";
// Start router
$klein = new \Klein\Klein();
// INDEX PAGE
$klein->respond('GET', '/', function ($request, $response, $service, $app) {
require "controllers/index.php";
});
using System;
using System.Collections.Generic;
namespace PrimeFactorisatorInator {
class Program {
static void Main(string[] args) {
while (true) {
App ();
}
}
using System;
using System.Collections.Generic;
namespace PrimeFactorisatorInator {
class Program {
static void Main(string[] args) {
while (true) {
App ();
}
}