<?php
$copypasta = <<< EOC
SKU1
SKU2
EOC;
$skus = explode(PHP_EOL, $copypasta);
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let scrollstep = 500 | |
set noautofocus | |
set scalehints | |
set typelinkhints | |
let hintcharacters= "asdf" | |
let blacklists = ["https://www.notion.so/*","https://rootnroll.com/d/fish-shell/*","https://docs.google.com/spreadsheets/*"] | |
let mapleader = "," | |
unmap K e J j s d k w i m M o b t gg <S-g> <C-f> <C-k> <C-6> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This function takes a file name as input | |
# and performs extraction based on the file type | |
function file_actions { | |
# Set the file name as a static variable | |
file_name=$1 | |
# Check the file name | |
if [[ $file_name == *.zip ]]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Define an array of directories to search | |
dirs=("/Users/dan/Downloads" "/Users/dan/Desktop" "/Users/dan/Documents") | |
# Define an empty array to store the recent files | |
recent_files=() | |
# Define a variable to store the highest timestamp | |
highscore=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#=====tar up missing htaccess hidden files recursively from a parent directory and preserve folder structure=====# | |
find ./magento_dir -name "\.htaccess" | tar -cf missing_htaccess_files_and_dirs -T - | |
#=====general settings when setting up shell=====# | |
sudo chmod -R 755 /var/www | |
sudo chown -R $USER:$GROUP <dir> | |
sudo usermod -a -G root $USER | |
#=====insert 1 line beginning of file before everything else=====# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"keys": [ | |
"ctrl+b" | |
], | |
"command": "show_overlay", | |
"args": { | |
"overlay": "command_palette" | |
} | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VERSION>StrokeIt .9.4</VERSION> | |
<APP name="Default"> | |
Close Window [C] { | |
Alt+F4 = keys, hotkey "[ALT_DOWN][F4][ALT_UP]" | |
} | |
Down { | |
gesture = Down | |
New Command = keys, hotkey "[CTRL_DOWN][END][CTRL_UP]" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;Kiosk Keyboard with Skins | |
; | |
;Copyright (c) 2006-2015 Comfort Software Group | |
;ALL RIGHTS RESERVED | |
Height=152 | |
Width=276 | |
DefaultFitWidth=0 | |
DefaultLockAspectRatio=1 | |
DefaultMoveToBottom=0 | |
DefaultCenterInfo=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env bash | |
#requirements wget | |
if [ -z "$1" ] && [ -z "$2" ]; then | |
echo "No url provided. exiting..."; | |
elif [[ -z "$2" ]]; then | |
wget -r -l1 -H -t1 -nd -N -np -A jpg,jpeg,png,webm,gif -erobots=off $1; | |
rm *s.* | |
else | |
mkdir $2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"color_scheme": "Packages/Color Scheme - Default/Mariana.tmTheme", | |
"folder_exclude_patterns": | |
[ | |
".svn", | |
".git", | |
".hg", | |
"CVS", | |
"node_modules" | |
], |
NewerOlder