Let's have some command-line fun with curl, [jq][1], and the [new GitHub Search API][2].
Today we're looking for:
| diff -cr putty-src-orig/CONFIG.C putty-src/CONFIG.C | |
| *** putty-src-orig/CONFIG.C Sun Feb 18 18:56:16 2007 | |
| --- putty-src/CONFIG.C Fri Apr 23 17:23:14 2010 | |
| *************** | |
| *** 11,16 **** | |
| --- 11,17 ---- | |
| #include "storage.h" | |
| #define PRINTER_DISABLED_STRING "None (printing disabled)" | |
| + #define PRINT_TO_CLIPBOARD_STRING "Windows clipboard" |
| #!/bin/bash | |
| # Script for installing tmux on systems where you don't have root access. | |
| # tmux will be installed in $HOME/local/bin. | |
| # It's assumed that wget and a C/C++ compiler are installed. | |
| # exit on error | |
| set -e | |
| TMUX_VERSION=1.8 |
Let's have some command-line fun with curl, [jq][1], and the [new GitHub Search API][2].
Today we're looking for:
I've done the same process every couple years since 2013 (Mountain Lion, Mavericks, High Sierra, Catalina) and I updated the Gist each time I've done it.
I kinda regret for not using something like Boxen (or anything similar) to automate the process, but TBH I only actually needed to these steps once every couple years...
| tasks: | |
| radioresepsjonen: | |
| rss: | |
| url: http://podkast.nrk.no/program/radioresepsjonen.rss | |
| all_entries: no | |
| accept_all: yes | |
| set: | |
| filename: > |
Often referred to as the "swiss army of knife" for TCP/IP networking, [Netcat][1] is an extremely versatile Linux utility that allows you to do anything under the sun using TCP/UDP sockets. It is one of the most favorite tools for system admins when they need to do networking related troubleshooting and experimentation.
In this tutorial, I am sharing a few useful netcat examples, although the sky is the limit when it comes to possible netcat use cases. If you are using netcat regularly, feel free to share your use case.
Note that when you are binding to well-known ports (0-1023) with nc, you need root privilege. Otherwise, run nc as a normal user.
$ nc -vn 192.168.233.208 5000
| package main | |
| import ( | |
| "bufio" | |
| "log" | |
| "os" | |
| ) | |
| var concurrency = 100 |
Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.
Translations: (No guarantee that the translations are up-to-date)
Permalink: git.io/vps
| Provider | Type | RAM | Cores | Storage | Transfer | Network | Price |
|---|
| #!/usr/bin/env bash | |
| # Builds Polybar on Fedora-based systems | |
| # Tested on Fedora 25, Fedora 26 and Korora 25, untested on others | |
| # To get started: | |
| # | |
| # wget -O- https://gist.githubusercontent.com/nathanchere/22491daf4f917b100a35e5c284a5fec5/raw/install-polybar-ex.sh | bash | |
| sudo dnf install -y cmake @development-tools gcc-c++ i3-ipc jsoncpp-devel alsa-lib-devel wireless-tools-devel libmpdclient-devel libcurl-devel cairo-devel xcb-proto xcb-util-devel xcb-util-wm-devel xcb-util-image-devel |