- Jonah Hill
- James Franco
- Danny McBride
- He's like kinda better than Craig Robinson
- Craig Robinson
- The Office
- Wasn't in any shit Seth Rogen films? But he was
- Seth Rogen
- The worst
#New Element | |
@route('/create') | |
def create(): | |
return template("create") | |
@route('/create', method="POST") | |
def success(): | |
term = request.forms.get('term') | |
define = request.forms.get('define') | |
cat = request.forms.get('category') |
<div class="quotes-container"> | |
@{ | |
var items = Model.ToList(); //Getting Database Model and converting it to a list for easy operations | |
int maxpage = items.Count / 26; //Finding the max page (int floors the decimal place which helps) | |
int startpoint = items.Count() - 1; | |
if (page > 1) | |
{ | |
startpoint -= 26 * (page - 1); | |
} | |
for (var i = startpoint; i >= items.Count() - 26 * page && i > 0; i--) //Basic For Loop printing the quotes to screen |
using SwinGameSDK; | |
namespace MyGame | |
{ | |
// Just a few functions to help work with Swingame easily | |
// Created by Alex Billson | |
class SwinGameHelpers | |
{ | |
public Vector newVect(float x, float y) | |
{ |
set PATH=%PATH%;C:\Windows\Microsoft.NET\Framework\v4.0.30319. | |
msbuild MyGameWin.csproj | |
bin\Debug\MyGame.exe |
{ | |
// Python Single File Task Runner for VS Code | |
// Written by Alex Billson (pielegacy) | |
"version": "0.1.0", | |
"command": "python", | |
"isShellCommand": true, | |
"args": [ | |
"${file}" | |
], | |
"showOutput": "always" |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Microsoft.AspNetCore.Mvc; | |
namespace TomatoAPI.Controllers | |
{ | |
[Route("api/[controller]")] | |
public class ValuesController : Controller |
using System; | |
using System.ComponentModel.DataAnnotations; | |
namespace TomatoAPI | |
{ | |
public class Tomato | |
{ | |
[Key] | |
public int Id { get; set; } | |
[Required] |
using Microsoft.EntityFrameworkCore; | |
namespace TomatoAPI | |
{ | |
public class TomatoDb : DbContext | |
{ | |
// Reference our tomato table using this | |
public DbSet<Tomato> Tomatos { get; set; } | |
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) | |
{ |
{ | |
"dependencies": { | |
"Microsoft.NETCore.App": { | |
"version": "1.1.0", | |
"type": "platform" | |
}, | |
"Microsoft.AspNetCore.Mvc": "1.1.0", | |
"Microsoft.AspNetCore.Routing": "1.1.0", | |
"Microsoft.AspNetCore.Server.IISIntegration": "1.1.0", | |
"Microsoft.AspNetCore.Server.Kestrel": "1.1.0", |