Emoji | Snippet | Context |
---|---|---|
🎉 | :tada: |
initial commit |
✨ | :sparkles: |
new feature |
➕ | :heavy_plus_sign: |
add feature |
➖ | :heavy_minus_sign: |
remove feature |
📦 | :package: |
modify package dependencies |
🌐 | :globe_with_meridians: |
internationalization / translations |
🔧 | :wrench: |
tooling |
🎨 | :art: |
when improving the format/structure of the code |
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
$('.animatable_elements').draggable({ | |
start: function( event, ui ) { | |
//console.log( event ); | |
//console.log( ui ); | |
}, | |
stop: function( event, ui ) { | |
//console.log(ui); | |
console.log('New Position Left: ' + Math.round(ui.position.left)); | |
console.log('New Position Top: ' + Math.round(ui.position.top)); | |
} |
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
function parseVideo (url) { | |
// - Supported YouTube URL formats: | |
// - http://www.youtube.com/watch?v=My2FRPA3Gf8 | |
// - http://youtu.be/My2FRPA3Gf8 | |
// - https://youtube.googleapis.com/v/My2FRPA3Gf8 | |
// - Supported Vimeo URL formats: | |
// - http://vimeo.com/25451551 | |
// - http://player.vimeo.com/video/25451551 | |
// - Also supports relative URLs: | |
// - //player.vimeo.com/video/25451551 |
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
// Custom filter function to modify default gallery shortcode output | |
// original source: http://robido.com/wordpress/wordpress-gallery-filter-to-modify-the-html-output-of-the-default-gallery-shortcode-and-style/ | |
function my_post_gallery( $output, $attr ) { | |
// Initialize | |
global $post, $wp_locale; | |
// Gallery instance counter | |
static $instance = 0; | |
$instance++; |
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
/* | |
* Credits to https://forum.ionicframework.com/t/actionsheets-android-ugly-styling-need-help/18462/12 | |
*/ | |
.platform-android .action-sheet-backdrop.active { | |
background-color: rgba(0, 0, 0, 0.1); | |
} | |
.platform-android .action-sheet { | |
align-content: center; | |
margin: auto; | |
max-width: 96vw; |
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
[ | |
{ | |
"translations": { | |
"br": "Afeganistão", | |
"pt": "Afeganistão", | |
"nl": "Afghanistan", | |
"hr": "Afganistan", | |
"fa": "افغانستان", | |
"de": "Afghanistan", | |
"es": "Afganistán", |
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
# How-to: | |
# curl -L https://gist.githubusercontent.com/chonz0/88c383360a4d129d5f94a36fd7be9a33/raw/26d71f46f4491fd9b5354a4db24f21007bbdc198/create_swap.sh | sh | |
# | |
# Inspired on digital ocean article https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04 | |
# Source: https://github.com/feliperuhland/ubuntu-swap | |
#!/bin/sh | |
set -e |
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
# Customise this file, documentation can be found here: | |
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs | |
# All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md | |
# can also be listed using the `fastlane actions` command | |
# Change the syntax highlighting to Ruby | |
# All lines starting with a # are ignored when running `fastlane` | |
# If you want to automatically update fastlane if a new version is available: | |
# update_fastlane |
OlderNewer