System: Debian/Ubuntu/Fedora. Might work for others as well.
As mentioned here, to update a go version you will first need to uninstall the original version.
To uninstall, delete the /usr/local/go directory by:
System: Debian/Ubuntu/Fedora. Might work for others as well.
As mentioned here, to update a go version you will first need to uninstall the original version.
To uninstall, delete the /usr/local/go directory by:
This gist will give you all installation steps needed to install properly virt-manager with all dependencies.
Here is the list of all dependencies required to install properly virt-manager on your ubuntu based distrib.
| # The initial version | |
| if [ ! -f .env ] | |
| then | |
| export $(cat .env | xargs) | |
| fi | |
| # My favorite from the comments. Thanks @richarddewit & others! | |
| set -a && source .env && set +a |
Slack doesn't provide an easy way to extract custom emoji from a team. (Especially teams with thousands of custom emoji) This Gist walks you through a relatively simple approach to get your emoji out.
If you're an admin of your own team, you can get the list of emoji directly using this API: https://api.slack.com/methods/emoji.list. Once you have it, skip to Step 3
HOWEVER! This gist is intended for people who don't have admin access, nor access tokens for using that list.
Follow along...
| // Parsing arbitrary JSON using interfaces in Go | |
| // Demonstrates how to parse JSON with abritrary key names | |
| // See https://blog.golang.org/json-and-go for more info on generic JSON parsing | |
| package main | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| ) |
| def jobNames = [ | |
| 'job1', | |
| 'job2', | |
| 'job3', | |
| 'job4' | |
| ] | |
| def branches = [ | |
| 'master', | |
| 'v1', | |
| 'v2', |
| import groovy.sql.Sql | |
| import java.util.Date | |
| import java.text.SimpleDateFormat | |
| /* | |
| * THIS IS AN EXAMPLE SNIPPET. FOR MORE DETAILS SEE THE FOLLOWING BLOG ARTICLE: | |
| * https://blog.codecentric.de/en/?p=30502 | |
| * | |
| * This Jenkins Job DSL Groovy Script creates Continuous Integration (CI) Jobs | |
| * for all Maven & Ant projects that exist on a GitLab Server. |
| #!/bin/bash | |
| # Runs the specified command (provided by the first argument) in all tmux panes | |
| # in every window. If an application is currently running in a given pane | |
| # (e.g., vim), it is suspended and then resumed so the command can be run. | |
| all-panes() | |
| { | |
| all-panes-bg_ "$1" & | |
| } |
| <html> | |
| <head> | |
| <title>Test</title> | |
| <script src="http://code.jquery.com/jquery-1.9.1.js"></script> | |
| <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script> | |
| <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" /> | |
| <script src="http://fb.me/react-0.5.1.js"></script> | |
| <script src="http://fb.me/JSXTransformer-0.5.1.js"></script> | |
| </head> |