NASDAQ-Composite
http://portfolios.morningstar.com/fund/index-holdings?t=@CCO
Sortable
package de.uwefleischer.statemachines; | |
import java.util.Set; | |
import java.util.TreeSet; | |
public class Sql { | |
private static Set<String> tables; | |
%%{ |
#!/bin/sh | |
echo "==================================" | |
echo "Welcome to Golang + Fiber Project Creator v0.1.0" | |
echo "==================================" | |
echo "For this script, The user have to input the project name (this will use to be the go module name and the project name." | |
echo "" | |
read -n 1 -s -r -p "Press any key to continue" | |
echo "\n" |
#!/usr/bin/env bash | |
git rev-parse 2>/dev/null && \ | |
git status --porcelain=v2 -b --ignored | gawk ' | |
/^# branch\.head / { head = $0; sub(/# branch\.head /, "", head); next; } | |
/^# branch\.ab / { match($0, /^# branch\.ab \+([0-9]+) -([0-9]+)$/, ab); ahead = ab[1]; behind = ab[2]; next; } | |
/^! / { next; } /* ignored */ | |
/^[12] [^.]. / { staged++; next; } | |
/^[12] \.[MD] / { changed++; next; } |
package utils | |
import ( | |
"context" | |
"io" | |
"io/ioutil" | |
"net" | |
"net/http" | |
"strings" | |
"time" |
//////////////////////////////////////////////////////////////////////////// | |
// Program: dbab-svr | |
// Purpose: Pixel Server in Go | |
// Authors: Tong Sun (c) 2019, All rights reserved | |
//////////////////////////////////////////////////////////////////////////// | |
package main | |
import ( | |
"bufio" |
"use strict"; | |
(function() { | |
Error.stackTraceLimit = Infinity; | |
var $global, $module; | |
if (typeof window !== "undefined") { /* web page */ | |
$global = window; | |
} else if (typeof self !== "undefined") { /* web worker */ | |
$global = self; |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
NASDAQ-Composite
http://portfolios.morningstar.com/fund/index-holdings?t=@CCO
Sortable
Using the nc command you can scan a port or a range of ports to verify whether a UDP port is open and able to receive traffic. | |
This first command will scan all of the UDP ports from 1 to 65535 and add the results to a text file: | |
$ nc -vnzu server.ip.address.here 1-65535 > udp-scan-results.txt | |
This merely tells you that the UDP ports are open and receive traffic. | |
Perhaps a more revealing test would be to actually transfer a file using UDP. |
#List unique values in a DataFrame column | |
pd.unique(df.column_name.ravel()) | |
#Convert Series datatype to numeric, getting rid of any non-numeric values | |
df['col'] = df['col'].astype(str).convert_objects(convert_numeric=True) | |
#Grab DataFrame rows where column has certain values | |
valuelist = ['value1', 'value2', 'value3'] | |
df = df[df.column.isin(value_list)] |