Skip to content

Instantly share code, notes, and snippets.

View JJL772's full-sized avatar
:octocat:
:trollface: :trollface: :trollface: :trollface:

Jeremy L. JJL772

:octocat:
:trollface: :trollface: :trollface: :trollface:
View GitHub Profile
body{
font-family: Verdana;
}
.appMount-14L89u
{
background-repeat: no-repeat;
background: url("https://i.pinimg.com/originals/22/f9/58/22f9582a255b7998d532ee049fa01fdc.jpg");
}
@JJL772
JJL772 / pic-makefile.make
Created December 18, 2018 09:29
PIC MCU Example Makefile
#
# A simple example makefile for microchip's XC8 compiler
#
#
#Compiler Options:
#
#
# -C Compile to object file
# -Dargument Define preprocessor symbol
#
#
# Sample makefile
#
#
# This macro just describes our java files. This is essentially an array.
# Arrays are specified differently in make, you just list the components separately. Test1 test2 test3 etc.
JAVA_FILES = HelloUser.java HelloUser2.java
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
CPU Family: 0x6
@JJL772
JJL772 / PIC-Asm-Reference.asm
Last active May 29, 2019 00:15
Reference for XC8's assembler
; Comment
; Assemble for PIC16(L)F15325
processor 16LF15325
; Declare global symbol _main
global _main
; Identifiers are user-defined symbols that represent memory locations/numbers
; Syntax of identifer:
//======================================================//
// Name: drvModbus.c
// Purpose: Simple modbus driver over TCP
// Authors: Jeremy L.
// Date Created: June 14, 2019
//======================================================//
#include "drvModbus.h"
/* Standard includes */
/* Reference for GNU as syntax...since I am mostly used to Intel-style assembly with NASM */
/* Special things: . means the address that's being assembled currently */
.align 8 /* avoid misalignment issues */
.data /* data section */
mylabel: .asciz "This is my null terminated string"
nonull: .ascii "Non null terminated string"
mylong: .long 1293
/* your current constructor looks like this in class HTable: */
HTable():
d(1),
t(*new Array<SLList<T>>((int)std::pow(2,d))),
z(rand() | 1),
n(0)
{
}
import os
import os.path
import fnmatch
import logging
import ycm_core
@JJL772
JJL772 / .vimrc
Last active December 16, 2019 08:37
THIS IS MY VIMRC THAT I USE ALWAYS. IT MAKE VIM GOOD
set runtimepath+=~/.vim_runtime
set number
colorscheme monokai
let g:ycm_global_ycm_extra_conf = '~/.vim/.ycm_extra_conf.py'
" All plugins will be in this folder
call plug#begin('~/.vim/bundle')