Skip to content

Instantly share code, notes, and snippets.

View witchica's full-sized avatar

Jessica witchica

View GitHub Profile
@witchica
witchica / sketch.pde
Created November 28, 2019 14:28
Light Level Visualisation
//table to store data
Table data;
void setup() {
//set the visualisation resoluton
size(4000, 2000);
//load the data file
data = loadTable("feeds.csv", "header");
package sqrt;
public class Threads {
public static void main(String[] args)
{
SumThread a = new SumThread("A");
SumThread b = new SumThread("B");
SumThread c = new SumThread("C");
package sqrt;
import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.util.Scanner;
public class SquareRoot
{
private static NumberFormat formatter = new DecimalFormat("#0.00");
protected $middlewareGroups = [
'web' => [
\App\Http\Middleware\EncryptCookies::class,
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
\Illuminate\Session\Middleware\StartSession::class,
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
\App\Http\Middleware\VerifyCsrfToken::class,
\Illuminate\Routing\Middleware\SubstituteBindings::class,
],
'admin' => [
<?php
namespace App\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
<?php
$my_var = file_get_contents("http://info.vroute.net/vatsim-data.txt");
$pieces = explode("\n", $my_var);
$findme = "137";
$users = array();
foreach ($pieces as $s) {
$pos = strpos($s, $findme);
if ($pos == true)
{
@extends('layouts.app') <--- this is the file that you are making now
@section('content') <- then ill add a thing to make this where the content goes and it will display this on the page
<div class="container">
<ul class="list-group">
@foreach($configs as $config)
<li class="list-group-item clearfix">
{{ $cpus[$config->cpu] . " at " . $config->cpu_clock . "Ghz with " . $config->vram_amount . "MB of " . $vram[$config->vram_type] . " VRAM (" . $config->fps . "fps) "}}
<span class="pull-right">
<span class="label label-danger">By {{$users[$config->id] == null ? "a guest" : $users[$config->id]->name}} on the {{(new DateTime($config->added_at))->format("d/m/Y")}}</span>
{
"name": "Bow",
"type": 0,
"model": "bow.fbx",
"projectile": {
"model": "arrow.fbx",
"damage": {
"head": 167,
"body": 78,
"arms": 34,
MINIMUM:
OS: Windows 7 64-Bit / Windows 8 64-Bit / Windows 8.1 64-Bit
Processor: Intel® Core™ i3-530 @ 2.93 GHz / AMD Phenom™ II X4 810 @ 2.60 GHz
Memory: 6 GB RAM
Graphics: NVIDIA® GeForce® GTX 470 @ 1GB / ATI® Radeon™ HD 6970 @ 1GB
DirectX: Version 11
Network: Broadband Internet connection
Hard Drive: 60 GB available space
Sound Card: DirectX Compatible
<18:39:02> Connected to Server: "Minimal Offical Servers"
<18:39:04> You switched from channel "Lobby" to "Private Room Don't Join"
<18:39:05> Channel group "Guest" was assigned to "Sean" by "Minimal Offical Servers".
<18:39:13> channel name is already in use
<18:39:18> Channel "Private" created successfully
<18:39:18> You were moved from channel "Private Room Don't Join" to "Private" by "Minimal Offical Servers"
<18:39:18> Channel group "Channel Admin" was assigned to "Sean" by "Minimal Offical Servers".
<18:39:20> "Finnerino" switched from channel "Private Room Don't Join" to "Private"
<18:39:20> Channel group "Guest" was assigned to "Finnerino" by "Minimal Offical Servers".
<18:39:20> Channel "Private Room Don't Join" was deleted by "Minimal Offical Servers"