Skip to content

Instantly share code, notes, and snippets.

We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 6 columns, instead of 4. in line 8.
datasetName,about,link,categoryName,cloud,vintage
Microbiome Project,American Gut (Microbiome Project),https://github.com/biocore/American-Gut,Biology,GitHub,NA
GloBI,Global Biotic Interactions (GloBI),https://github.com/jhpoelen/eol-globi-data/wiki#accessing-species-interaction-data,Biology,GitHub,NA
Global Climate,Global Climate Data Since 1929,http://en.tutiempo.net/climate,Climate/Weather,,1929
CommonCraw 2012,3.5B Web Pages from CommonCraw 2012,http://www.bigdatanews.com/profiles/blogs/big-data-set-3-5-billion-web-pages-made-available-for-all-of-us,Computer Networks,,2012
Indiana Webclicks,53.5B Web clicks of 100K users in Indiana Univ.,http://cnets.indiana.edu/groups/nan/webtraffic/click-dataset/,Computer Networks,,NA
Criteo click-through,Criteo click-through data,http://labs.criteo.com/2015/03/criteo-releases-its-new-dataset/,Computer Networks,,NA
ICWSM 2009,ICWSM Data Challenge (since 2009),http://icwsm.cs.umbc.edu/,Data Challenges,,2009
KDD Cup,KDD Cup by Tencent 2012,http://www.kddcup2012.org/,Data

How to buy the $60-per-year (= $5.00 per month) redpocket cell-phone plan on ebay. The $5/mo plan is the lowest price plan, listed under "360-day plans" at redpocket website as the "Basic" $5.00/month. Note you can NOT buy it directly from the redpocket site but you have follow the link to ebay-redpocket site, which is https://www.ebay.com/itm/133058476404 as of Nov 2020. For years now I have reliably bought and used the $60/year plan for several phones The trick is, after the purchase on ebay, be sure to watch for next few days for an email to your email-address associated with ebay from eBay - redpocketstore with subject Red Pocket Mobile eBay Activation Code and a code, aka PIN, such as 99998774919999. This needs to be used in 90 days, and is what you provide when asked for a PIN under the payments section of the redpocket site.

Only once could I not find the email, but given the purchase info from ebay, the re

@porteusconf
porteusconf / wmic2csv.bat
Last active November 11, 2020 05:07
From output of various wmic commands creates plain-ascii (NOT unicode/utf) clean csv output with no blank lines.
@echo off
REM Creates wmic-min.txt with some minimal wmic info. And from .txt file creates clean .csv output
REM Usage: wmic2csv.bat > wmic-min.csv
REM Get REPL.BAT from https://github.com/numericOverflow/REPL.BAT
REM If csv output looks strange, take a look at wmic-min.txt file for clues.
REM The "| find /v " converts unicode (utf) to ansi (plain ascii text).
REM https://stackoverflow.com/questions/28672210/get-rid-of-spaces-and-tabs-in-wmic-output
wmic computersystem LIST brief /format:list | find /v "" > wmic-min.txt
@porteusconf
porteusconf / qgle.command
Last active March 6, 2023 15:16
lauches gui-app qgle.app (should work if you choose newer/older versions of gle by `brew switch gle`) 64-bit gle 4.3.0 Tested on macos 10.15
#!/usr/bin/env bash
## Put this qgle.command in /Applications and in Terminal:
### chmod a+x /Applications/qgle.command
### assumes you installed gle in /usr/local/cellar and did brew link similar to following...
## brew diy --name=gle --version=4.3.0
## mkdir /usr/local/Cellar/gle
## cd /usr/local/Cellar/gle
## tar zxf gle_macosx_4.3.0_x64.tar.bz2 # download newest tarball from sourceforge
## mv /usr/local/Cellar/gle/gle-4.3 /usr/local/Cellar/gle/4.3.0
## brew link gle
@porteusconf
porteusconf / datefix.sh
Last active October 6, 2020 04:51
howto manually set macos system date hwclock using file date or "YYYY-MM-DD hh:mm:ss" converted to required "+%m%d%H%M%Y"
### /usr/local/bin/datefix.sh
echo "DEMO: HowTo Change macos system date to date of /var/log/daily.out or manually"
echo "If dead bat or hwclock wrong, should work in single-user mode/recovery"
set -x
ls -l /var/log/daily.out
date -r /var/log/daily.out
date -r /var/log/daily.out "+%m%d%H%M%Y.%S"
date -ur /var/log/daily.out
date -ur /var/log/daily.out +"%Y-%m-%d %H:%M:%S"
date -ur /var/log/daily.out "+%m%d%H%M%Y.%S"
@porteusconf
porteusconf / softwareupdateignore.sh
Created September 27, 2020 17:25
for macos 10.14 (aka mojave) ignore 10.15/10.16, remove_catalina_notification_badge. Still works even tho "Ignoring software updates is deprecated."
softwareupdate --ignore "macOS Catalina"
echo "Each user may need to run this script to prevent red-badge nagging about Cataina/Big-Sur"
echo "See tests at https://tinyapps.org/blog/202005070700_remove_catalina_notification_badge.html"
echo "defaults delete com.apple.preferences.softwareupdate LatestMajorOSSeenByUserBundleIdentifier"
defaults delete com.apple.preferences.softwareupdate LatestMajorOSSeenByUserBundleIdentifier
softwareupdate --ignore
echo "DONE...To fix ignored list try: sudo softwareupdate --ignore \"macOS Catalina\" ; "
@porteusconf
porteusconf / cpu-family.sh
Created September 7, 2020 17:56
use gcc to find intel-or-amd cpu family name such as sandbridge
echo "https://unix.stackexchange.com/questions/230634/how-to-find-out-intel-architecture-family-from-command-line"
echo "Example: -march= sandybridge "
echo "gcc -march=native -Q --help=target|grep march"
gcc -march=native -Q --help=target|grep march
@porteusconf
porteusconf / fix-outlook-search.sh
Created July 29, 2020 11:18
New fix for search in v16.34 Outlook.app broken by Macos 10.14/10.15 upgrades
### Fix search in v16.34 Outlook.app on Catalina 10.15.3
### Previous fix with "mdiimport -g" was broken by Macos 10.14/10.15 upgrades.
### See whole sordid issue at link below: Began in 2018, MS says fixed in 10.14.5, but still needs fix below in 2020.
### https://answers.microsoft.com/en-us/msoffice/forum/all/outlook-16231-not-searching-correctly-on-mojave/dfe3c2a5-bf71-4df8-b290-379ed88009cc?page=5
mdimport -i ~/Library/Group\ Containers/UBF8T346G9.Office/Outlook/Outlook\ 15\ Profiles/Main\ Profile/Data/Tasks/
find ~/Library/Group\ Containers/UBF8T346G9.Office/Outlook/Outlook\ 15\ Profiles/Main\ Profile/Data/Messages/ -type f -mtime -2 -exec mdimport -i "{}" \;
@porteusconf
porteusconf / fix-outlook-search.sh
Created July 29, 2020 11:18
New fix for search in v16.34 Outlook.app broken by Macos 10.14/10.15 upgrades
### Fix search in v16.34 Outlook.app on Catalina 10.15.3
### Previous fix with "mdiimport -g" was broken by Macos 10.14/10.15 upgrades.
### See whole sordid issue at link below: Began in 2018, MS says fixed in 10.14.5, but still needs fix below in 2020.
### https://answers.microsoft.com/en-us/msoffice/forum/all/outlook-16231-not-searching-correctly-on-mojave/dfe3c2a5-bf71-4df8-b290-379ed88009cc?page=5
mdimport -i ~/Library/Group\ Containers/UBF8T346G9.Office/Outlook/Outlook\ 15\ Profiles/Main\ Profile/Data/Tasks/
find ~/Library/Group\ Containers/UBF8T346G9.Office/Outlook/Outlook\ 15\ Profiles/Main\ Profile/Data/Messages/ -type f -mtime -2 -exec mdimport -i "{}" \;
@porteusconf
porteusconf / timesrc.bat
Created May 20, 2020 21:18
show win10-network-time-source used to update system clock (only) every 24 hours by default.
w32tm /query /source
@echo off
echo " Time source: NT5DS means source is DC of AD. NTP means ntp host. CMOS means hardware clock"
echo " If AD is unreachable, after 24 hrs trys CMOS. Wish it would try ntp instead. Possible fix at:"
echo " https://community.spiceworks.com/topic/1983106-can-pcs-sync-with-external-time-server-when-not-connected-to-domain