Skip to content

Instantly share code, notes, and snippets.

==> homestead: Forcing shutdown of VM...
==> homestead: Destroying VM and associated drives...
==> homestead: Pruning invalid NFS exports.
Bringing machine 'homestead' up with 'virtualbox' provider...
==> homestead: Importing base box 'laravel/homestead'...
==> homestead: Matching MAC address for NAT networking...
==> homestead: Checking if box 'laravel/homestead' version '14.0.2' is up to date...
==> homestead: Setting the name of the VM: homestead
==> homestead: Clearing any previously set network interfaces...
==> homestead: Preparing network interfaces based on configuration...
@slobich
slobich / input.scss
Created November 27, 2020 16:13
Generated by SassMeister.com.
// Loše
.box__description {
color: red;
margin-bottom: 0;
:last-child {
margin-bottom: 0;
}
}
{"default":{"label":"Default","settings":{"stemming":false,"adminengine":false},"sources":{"post.post":{"attributes":{"title":300,"content":1,"slug":300,"excerpt":300,"taxonomy":{"category":300}},"rules":[],"options":[]},"post.agency":{"attributes":{"title":300,"content":1,"slug":300},"rules":[],"options":[]},"post.case_study":{"attributes":{"title":300,"content":1,"slug":300},"rules":[],"options":[]},"post.event":{"attributes":{"title":300,"content":1,"slug":300},"rules":[],"options":[]},"post.page":{"attributes":{"title":300,"content":1,"slug":300},"rules":[],"options":[]},"post.client":{"attributes":{"title":300,"content":1,"slug":300},"rules":[],"options":[]}}},"related":{"label":"Related","settings":{"stemming":false,"adminengine":false},"sources":{"post.post":{"attributes":{"title":300,"content":1,"slug":300,"excerpt":300},"rules":[],"options":[]},"post.case_study":{"attributes":{"title":300,"content":1,"slug":300},"rules":[],"options":[]},"post.event":{"attributes":{"title":300,"content":1,"slug":300},
@slobich
slobich / input.scss
Created September 8, 2020 13:51
Generated by SassMeister.com.
/* Loše */
.card {
background-color: red;
.card__img-wrap {
disply: flex;
}
}
# 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.
#
function lilashpros_load_head_scripts() {
// Check if JavaScript is enabled
// https://www.paulirish.com/2009/avoiding-the-fouc-v3/
echo '<script>(function(H){H.className=H.className.replace(/\bno-js\b/,\'js\')})(document.documentElement)</script>';
// Font loader
// Add wf-loading class and hide body as soon as possible
echo '<script>document.documentElement.className+=\' wf-loading\'</script>';
echo '<style>.wf-loading{opacity:0;}</style>';
// Load font loader script
echo "<script>
function lilashpros_load_head_scripts() {
// Check if JavaScript is enabled
// https://www.paulirish.com/2009/avoiding-the-fouc-v3/
echo '<script>(function(H){H.className=H.className.replace(/\bno-js\b/,\'js\')})(document.documentElement)</script>';
// Font loader
// Add wf-loading class and hide body as soon as possible
echo '<script>document.documentElement.className+=\' wf-loading\'</script>';
echo '<style>.wf-loading{opacity:0;}</style>';
// Load font loader script
echo "<script>
## Note, this file is written by cloud-init on first boot of an instance
## modifications made here will not survive a re-bundle.
## if you wish to make changes you can:
## a.) add 'apt_preserve_sources_list: true' to /etc/cloud/cloud.cfg
## or do the same in user-data
## b.) add sources in /etc/apt/sources.list.d
## c.) make changes to template file /etc/cloud/templates/sources.list.tmpl
#
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
[
{
"name": "Sublime-Style-Column-Selection",
"version": "1.7.2"
},
{
"name": "about",
"version": "1.7.2"
},
{
<?php
if ( !$data["status"]["errors"] ) {
unset( $data["status"] );
$response = $this->get_response( $this->base_url . "Order", "post", json_encode( $data ), "application/json" );
if (is_wp_error($response)) {
if ( !array_key_exists( "messages", $data["status"] ) ) {
$data["status"]["messages"] = "Greška u komunikaciji s 3i API-em.";
}