Skip to content

Instantly share code, notes, and snippets.

View lighth7015's full-sized avatar
Perpetually exhausted.

Robert Butler lighth7015

Perpetually exhausted.
View GitHub Profile
@lighth7015
lighth7015 / gist:ae22ab1cf81e44c8654b
Created November 23, 2014 00:50
FindFile API (Doesn't work.)
#include "stdafx.h"
/* So it will compile, enjoy. */
class IBaseTool {
};
struct ToolInfo
{
HMODULE hModule;
<div class="fadeIn fixed z-50 pin overflow-auto flex">
<div class="window fixed max-w-md relative pin-b pin-x align-top m-auto p-0 h-auto flex flex-col">
<main class="client">
<header class="font-bold text-white">Building application</header>
<p class="text-xl leading-normal p-2">
One moment please...
</p>
</main>
</div>
</div>
@lighth7015
lighth7015 / laravel-mix.log
Last active August 22, 2018 19:59
Laravel mix watch errors
These dependencies were not found:
* -!../../../../../node_modules/css-loader/index.js!./vuetify/dist/vuetify.css in ./node_modules/css-loader!./node_modules/sass-loader/lib/loader.js!./resources/assets/app/shared/styles/global.scss
* @app/i18n/en.json in ./resources/assets/app/shared/plugins/i18n/index.ts
* fs in ./node_modules/locutus/php/filesystem/file_get_contents.js
To install them, you can run: npm install --save -!../../../../../node_modules/css-loader/index.js!./vuetify/dist/vuetify.css @app/i18n/en.json fs
@lighth7015
lighth7015 / webpack.mix.js
Created August 23, 2018 10:36
laravel-mix configuration
const mix = require('laravel-mix');
const sprintf = require('locutus/php/strings/sprintf');
const path = require('path');
const base = 'resources/assets';
const root = (prefix = '') =>
path.resolve(__dirname, path.join('app', prefix));
const resolve = (dirname = '') => (
{
"compilerOptions": {
"module": "commonjs",
"moduleResolution": "node",
"target": "es5",
"strict": false,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"emitDecoratorMetadata": true,
"esModuleInterop": true,
CONCERTA TAB 18MG
Methylphenidate HCl Tab ER Osmotic Release (OSM) 18 MG
CONCERTA TAB 27MG
Methylphenidate HCl Tab ER Osmotic Release (OSM) 27 MG
CONCERTA TAB 36MG
Methylphenidate HCl Tab ER Osmotic Release (OSM) 36 MG
CONCERTA TAB 54MG
Methylphenidate HCl Tab ER Osmotic Release (OSM) 54 MG
LANTUS INJ 100/ML
Insulin Glargine Inj 100 Unit/ML
AEPB
AERB
AERO
AERP
AERS
AJKT
AUIJ
BAR
BEAD
C12A
@lighth7015
lighth7015 / Makefile
Created February 1, 2019 22:04
What am I not seeing here? the $(SHARED) target should create a .so file, right?
CC = clang
CFLAGS = -Wall -ggdb3 -std=gnu11 -O0 -Iinclude
OBJDIR = build
BINDIR = bin
LIBDIR = lib
TARGET = $(BINDIR)/obj_test
SHARED = $(LIBDIR)/giza.so
LINKER = support/version.ld
SOURCES = $(shell echo src/*.c)
HEADERS = $(shell echo include/*.h)
@lighth7015
lighth7015 / mix.webpack.js
Created February 9, 2019 06:10
Mix (Webpack) configuration
const mix = require('laravel-mix');
const path = require('path');
const colors = require('chalk');
const { green, blue } = colors;
const SWPrecacheWebpackPlugin = require('sw-precache-webpack-plugin');
const resolve = (alias, dir) => ({
[alias]: path.join(__dirname, '.', dir)
@lighth7015
lighth7015 / index.vue
Last active February 11, 2019 01:10
Admin shell + redirect if already authenticated
<template>
<v-dialog
v-model="dialog"
width="500"
persistent
>
<v-card>
<v-card-title
class="headline font-weight-light v-toolbar theme--dark primary"
>