Skip to content

Instantly share code, notes, and snippets.

@jackley
jackley / tesseract-on-linux.md
Created November 13, 2023 07:20 — forked from pnedunuri/tesseract-on-linux.md
Steps to install tesseract on linux
/**
* Asset Management app
*
* Write an asset management app. Lets keep track of Dynamit's
* electronic assets. People can borrow them shortly or forever.
* We should get notifications for when we are low on supplies,
* returns are late. They should be organized.
*/
/**
* Projects
*
* Generate and display projects based on a database.
* Keeps track of clients, skills used, orther project details.
*/
/**
* Generate a form
*
* Should be able to support text, radio, checkbox, select
* Submit and Disable
* ids, classes, data attributes
*/
class SkillFilter {
constructor() {
this.DOM = {
skillCards: document.querySelectorAll('[data-skill-card]'),
skillFilters: document.querySelectorAll('[data-skill-filter]'),
}
this.currentFilter = null;
}
@jackley
jackley / README.md
Created September 3, 2017 06:03 — forked from hofmannsven/README.md
My simply Git Cheatsheet
@jackley
jackley / build_nginx.sh
Last active July 2, 2017 04:12 — forked from MattWilcox/build_nginx.sh
Fetch, build, and install the latest nginx with the latest OpenSSL for RaspberryPi
#!/usr/bin/env bash
# names of latest versions of each package
export VERSION_PCRE=pcre-8.40
export VERSION_OPENSSL=openssl-1.0.2l
export VERSION_NGINX=nginx-1.10.3
# URLs to the source directories
export SOURCE_OPENSSL=https://www.openssl.org/source/
export SOURCE_PCRE=ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
@jackley
jackley / gitcheats.txt
Created May 27, 2017 06:42 — forked from chrismccoy/gitcheats.txt
git cheats
# shortform git commands
alias g='git'
# push changes to an empty git repository for the first time
git push --set-upstream origin master
# clear out git hooks
find .git/hooks -type l -exec rm {} \; && find .githooks -type f -exec ln -sf ../../{} .git/hooks/ \;
# remove untracked files in a git repository
This file has been truncated, but you can view the full file.
.modal-footer .btn + .btn,
.modal-footer .danger-button + .btn,
.modal-footer .address-book .address-book-wrapper .address-edit-form .cancel-button + .btn,
.address-book .address-book-wrapper .address-edit-form .modal-footer .cancel-button + .btn,
.modal-footer .address-book .address-book-wrapper .address-edit-form .address-book-table .make-default-button + .btn,
.address-book .address-book-wrapper .address-edit-form .address-book-table .modal-footer .make-default-button + .btn,
.modal-footer .address-book-table .address-book .address-book-wrapper .address-edit-form .make-default-button + .btn,
.address-book-table .address-book .address-book-wrapper .address-edit-form .modal-footer .make-default-button + .btn,
.modal-footer .address-book .address-book-wrapper .address-edit-form .address-book-table .remove-button + .btn,
.address-book .address-book-wrapper .address-edit-form .address-book-table .modal-footer .remove-button + .btn,
@jackley
jackley / getEmailParts.php
Created September 11, 2013 17:43
Returns various parts of an email address
/**
* Returns various parts of an email address
*
* @param string $email
* Given $email 'john.smith@gmail.com'
* @return array || false
* 'user' => 'john.smith'
* 'end' => 'gmail.com'
* 'domain' => 'gmail',
* 'tld' => 'com',