Skip to content

Instantly share code, notes, and snippets.

<?php declare(strict_types=1);
/*
* This file is part of the Monolog package.
*
* (c) Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
@levi730
levi730 / remove_cloud_init.sh
Created June 24, 2020 14:48
[#provisioning #ubuntu1804] Remove cloud.init
#!/bin/bash
echo 'datasource_list: [ None ]' | sudo -s tee /etc/cloud/cloud.cfg.d/90_dpkg.cfg
sudo apt-get purge cloud-init
sudo rm -rf /etc/cloud/; sudo rm -rf /var/lib/cloud/
@levi730
levi730 / foowin.js
Created July 15, 2011 03:31
how to do subwindow with nav using struct
/**
* Appcelerator Titanium Platform
* Copyright (c) 2009-2011 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
**/
// Code is stripped-down version of Tweetanium, to expose new structure paradigm
(function(){
S.ui.createFooWin = function(){