Skip to content

Instantly share code, notes, and snippets.

View Josiassejod1's full-sized avatar

Dalvin Josias Sejour Josiassejod1

View GitHub Profile
@mckeed
mckeed / pre-commit
Last active July 31, 2025 06:44
Run rubocop on only staged files in git pre-commit
#!/bin/sh
STAGED_FILES=$(git diff-index HEAD --name-only --cached)
if [[ -z $STAGED_FILES ]]
then
exit # no staged files, no need to run rubocop
fi
# Checks if any staged files have unstaged changes
# otherwise rubocop isn't running on what is actually
@orlein
orlein / MultipleDigitsInput.tsx
Last active November 15, 2024 14:16
React Native: digits separated input box (commonly used in 6-digits input)
import SingleDigitInput, {
SingleDigitInputProps,
SingleDigitInputRef,
} from './SingleDigitInput';
import React from 'react';
import {StyleSheet, View} from 'react-native';
const styles = StyleSheet.create({
container: {
@mylamour
mylamour / GoogleHackMasterList.txt
Created February 2, 2018 05:26 — forked from cmartinbaughman/GoogleHackMasterList.txt
The definitive super list for "Google Hacking".
admin account info" filetype:log
!Host=*.* intext:enc_UserPassword=* ext:pcf
"# -FrontPage-" ext:pwd inurl:(service | authors | administrators | users) "# -FrontPage-" inurl:service.pwd
"AutoCreate=TRUE password=*"
"http://*:*@www” domainname
"index of/" "ws_ftp.ini" "parent directory"
"liveice configuration file" ext:cfg -site:sourceforge.net
"parent directory" +proftpdpasswd
Duclassified" -site:duware.com "DUware All Rights reserved"
duclassmate" -site:duware.com