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
'.text.html, .source': | |
'Master Container': | |
'prefix': 'mc' | |
'body': '<div class="master-container">\n\t<div class="master-container-padding">\n\t\t$1\n\t</div>\n</div>' | |
'Master Container With Row': | |
'prefix': 'mcr' | |
'body': '<div class="master-container">\n\t<div class="master-container-padding">\n\t\t<div class="row">\n\t\t\t$1\n\t\t</div>\n\t</div>\n</div>' | |
'SVG Image With PNG Fallback': | |
'prefix': 'img2' |
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
packages: [ | |
"atom-bracket-highlight" | |
"auto-update-packages" | |
"busy-signal" | |
"color-picker" | |
"emmet" | |
"file-icons" | |
"file-templates" | |
"highlight-line" | |
"highlight-selected" |
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
# Your keymap | |
# | |
# Atom keymaps work similarly to style sheets. Just as style sheets use | |
# selectors to apply styles to elements, Atom keymaps use selectors to associate | |
# keystrokes with events in specific contexts. Unlike style sheets however, | |
# each selector can only be declared once. | |
# | |
# You can create a new keybinding in this file by typing "key" and then hitting | |
# tab. | |
# |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>BackgroundColor</key> | |
<data> | |
YnBsaXN0MDDUAQIDBAUGKyxYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS | |
AAGGoKcHCBMZHSQoVSRudWxs1QkKCwwNDg8QERJcTlNDb21wb25lbnRzVU5TUkdCXE5T | |
Q29sb3JTcGFjZV8QEk5TQ3VzdG9tQ29sb3JTcGFjZVYkY2xhc3NHMCAwIDAgMUYwIDAg | |
MAAQAYACgAbTFBUNFhcYVE5TSURVTlNJQ0MQB4ADgAXSGg0bHFdOUy5kYXRhTxEMSAAA |
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
<?php | |
$my_array = array( | |
"foo" => "bar", | |
"quick" => "fox" | |
); | |
foreach($my_array as $k => $v) { | |
${$k} = $v; | |
} |
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
// If you're using XAMPP on macOS, you can use "Secure-Vhost" | |
// @link: https://github.com/jimmyadaro/secure-vhost | |
var local_dev_url = "my-site.local", | |
path_to_local_dev_key = "/path/to/Secure-Vhost/"+local_dev_url+"/cert.key", | |
path_to_local_dev_cert = "/path/to/Secure-Vhost/"+local_dev_url+"/cert.crt"; | |
// ... | |
browserSync.init({ |
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
<?php | |
namespace Deployer; | |
require 'recipe/common.php'; | |
// Project name | |
set('application', 'App Name'); | |
// Project repository | |
set('repository', 'git@git-provider.com:repo-name/project-name.git'); |
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
# Repeat this line as much as needed so you can access to project's SSH console asap using just the project name | |
alias <PROJECT_NAME>='ssh -i /Users/<USER_NAME>/.ssh/<KEY_NAME> <USER>@<HOST>' | |
# Remove everything from Docker system | |
alias dockerpurge='docker system prune --all --force --volumes' | |
# Man I hate DS_Store files so much... | |
alias rds='find . -name '.DS_Store' -type f -delete && echo ".DS_Store files removed!"' | |
# Open a new terminal window on the same location as the current one is |
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
# DESCRIPTION: Simple example of "read -p" and it's usage when trying to print a simple concat from a function and a user input | |
# Here we'll assume "$folder" comes from a previously-checked "getopts options" loop | |
# (given as an argument for our script/command option, like "ourscript -f MyFolderName") | |
################################################################## | |
################################################################## | |
################################################################## | |
# Print a styled "important:" text |
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
# Remove everything from Docker system | |
alias dockerpurge='docker system prune --all --force --volumes' | |
# Man I hate DS_Store files so much... | |
alias rds='find . -name '.DS_Store' -type f -delete && echo ".DS_Store files removed!"' | |
# Open the hosts file with Atom (really useful for VirtualHosts) | |
alias hosts='atom /private/etc/hosts' | |
# Go to htdocs |
OlderNewer