This example takes olddisk.qcow2
and resizes it into newdisk.qcow2
,
extending one of the guest's partitions to fill the extra space.
Discover gists
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
- Follow standard conventions.
- Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
- Boy scout rule. Leave the campground cleaner than you found it.
- Always find root cause. Always look for the root cause of a problem.
When I click on links from Slack or Outlook on MacOS they open in seemingly random browser windows/profiles. This is annoying.
Open links in a particular google chrome profile window. Be less annoyed.
- In Chrome, visit
chrome://version
and find the desired profile name. Mine wasDefault
. Copy that profile's directory name, likeProfile 2
orDefault
, not the profile's vanity name you see when you click on your profile icon in the browser. - Install Finicky:
brew install finicky
. After install it should be running and you should see the icon in the upper toolbar. - From the Finicky Toolbar Item, click
> Config > Create New
- Edit the new file
~/.finicky
and make it look something like this, filling in your profile name:
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
Subclassing Observer for saving states of folders, and load this states at the next observation. | |
TODO : mapping events and handlers dispatching, for a shorter code. | |
""" | |
from __future__ import unicode_literals, print_function, division | |
import cPickle as pickle | |
import os |
If you encounter a problem where you cannot commit changes in Git – neither through the terminal nor via the GitHub Desktop application – the issue might be a freeze during the Git commit process. This is often caused by GPG lock issues. Below is a concise and step-by-step guide to resolve this problem.
Open your terminal and try to perform a GPG operation (like signing a test message). If you see repeated messages like gpg: waiting for lock (held by [process_id]) ...
, it indicates a lock issue.
#!/usr/bin/env bash | |
#export GITHUB_API_TOKEN="" | |
function log() { | |
printf "%s %s\n" "->" "$1" | |
} | |
CHECK_SYMBOL='\u2713' | |
X_SYMBOL='\u2A2F' | |
function execute_and_wait() { |
Más información - Docs Oficiales
- Instalar TypeScript y tipos de Node, como dependencia de desarrollo
npm i -D typescript @types/node
- Inicializar el archivo de configuración de TypeScript ( Se puede configurar al gusto)
A guide how to get and activate Windows 8, 8.1, 10 and 11 Pro for free!
If you see the Windows keyboard button in this guide; and you can't find it on your keyboard, you likely have/had Windows 10 which has the button . If you can't find that one, you likely have a PC that has been upgraded to Windows 8/8.1/10/11 from Windows 8.1/8/7/Vista/XP and other ones. If you have one of those, refer the Windows key button to as yours. A list of them is below:
[ | |
"Abia", | |
"Adamawa", | |
"Akwa Ibom", | |
"Anambra", | |
"Bauchi", | |
"Bayelsa", | |
"Benue", | |
"Borno", | |
"Cross River", |
Install VMWare Workstation PRO 17 (Read it right. PRO!) | |
Also, these keys might also work with VMWare Fusion 13 PRO. Just tested it. | |
Sub to me on youtube pls - PurpleVibe32 | |
if you want more keys - call my bot on telegram. @purector_bot (THE BOT WONT REPLY ANYMORE) - Or: https://cdn.discordapp.com/attachments/1040615179894935645/1074016373228978277/keys.zip - the password in the zip is 102me. | |
--- | |
This gist can get off at any time. | |
PLEASE, DONT COPY THIS. IF YOU FORK IT, DONT EDIT IT. | |
*If you have a problem comment and people will try to help you! | |
*No virus |