Skip to content

Instantly share code, notes, and snippets.

@chriship
chriship / globals.css
Created August 3, 2023 07:37
nextjs Head order bug
@tailwind base;
@tailwind components;
@tailwind utilities;
body {
background-color: green;
}
@chriship
chriship / Tracker.swift
Last active February 26, 2021 10:35
LocationTracker
//
// Tracker.swift
// LocationTracker
//
// Created by Chris Hipgrave on 25/02/2021.
//
import CoreLocation
class Tracker : NSObject, CLLocationManagerDelegate {
@chriship
chriship / client.js
Last active January 12, 2021 15:00
Node app to connect to laravel websockets server
const Pusher = require('pusher-js');
let connected = false
let pusher = new Pusher('websocket_test', {
wsHost: '192.168.1.78',
wsPort: 6001,
wssPort: 6001,
wsPath: null,
disableStats: true,
authEndpoint: 'http://192.168.1.78:8000/laravel-websockets/auth',
#pragma once
#include "ofMain.h"
#include "ofxNetwork.h"
namespace ads {
class TcpClient
{
public: