Skip to content

Instantly share code, notes, and snippets.

View orejuelajd's full-sized avatar

orejuelajd orejuelajd

  • Ninguna
  • Colombia
View GitHub Profile
@dotiful
dotiful / README.md
Last active September 14, 2023 12:32
Nested collapsible Markdown list

Collapsible markdown with <details>

<details>
 <summary>Details</summary>
 hidden, collapsable content...
</details>

Demo:

@berndbausch
berndbausch / LXD-cheat-sheet.md
Last active May 30, 2024 19:35
LXD cheat sheet

Useful LXD commands

Summarized from https://stgraber.org/2016/03/19/lxd-2-0-your-first-lxd-container-312/.

Interestingly, the LXD command line client is named.... lxc!

List available containers

lxc image list ubuntu:        # ubuntu: is officially supported image source
lxc image list images:        # images: is an unsupported source
lxc image alias list images:  # lists user-friendly names
@soham2008xyz
soham2008xyz / Ionic Intro Tutorial with Splashscreen.markdown
Created October 1, 2015 18:39
Ionic Intro Tutorial with Splashscreen
@wpscholar
wpscholar / vagrant-cheat-sheet.md
Last active June 16, 2024 16:42
Vagrant Cheat Sheet

Typing vagrant from the command line will display a list of all available commands.

Be sure that you are in the same directory as the Vagrantfile when running these commands!

Creating a VM

  • vagrant init -- Initialize Vagrant with a Vagrantfile and ./.vagrant directory, using no specified base image. Before you can do vagrant up, you'll need to specify a base image in the Vagrantfile.
  • vagrant init <boxpath> -- Initialize Vagrant with a specific box. To find a box, go to the public Vagrant box catalog. When you find one you like, just replace it's name with boxpath. For example, vagrant init ubuntu/trusty64.

Starting a VM

  • vagrant up -- starts vagrant environment (also provisions only on the FIRST vagrant up)
@umidjons
umidjons / web-service-soap-client-server-php.md
Last active May 28, 2023 21:34
Simple Web service - SOAP Server/Client in PHP

Simple Web service - SOAP Server/Client in PHP

Implementation of the SOAP server - server.php:

<?php
// turn off WSDL caching
ini_set("soap.wsdl_cache_enabled","0");

// model, which uses in web service functions as parameter