Skip to content

Instantly share code, notes, and snippets.

View AdamJHowell's full-sized avatar

Adam Howell AdamJHowell

View GitHub Profile
#include <iostream>
#include <fstream>
#include <iomanip>
#include <string>
#include <vector>
#include <cstdlib>
using namespace std;
2015-12-05 08:12:30,309 INFO org.apache.hadoop.hdfs.server.namenode.NameNode: STARTUP_MSG:
/************************************************************
STARTUP_MSG: Starting NameNode
STARTUP_MSG: host = ec2-52-24-174-146.us-west-2.compute.amazonaws.com/172.31.22.102
STARTUP_MSG: args = []
STARTUP_MSG: version = 1.2.1
STARTUP_MSG: build = https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1.2 -r 1503152; compiled by 'mattf' on Mon Jul 22 15:23:09 PDT 2013
STARTUP_MSG: java = 1.7.0_80
************************************************************/
2015-12-05 08:12:30,503 INFO org.apache.hadoop.metrics2.impl.MetricsConfig: loaded properties from hadoop-metrics2.properties
@AdamJHowell
AdamJHowell / Main.java
Created July 13, 2016 22:50
A simple Java program that updates a Label bound to a StringProperty using Timeline.
package StringPropertyTest;
import javafx.animation.KeyFrame;
import javafx.animation.Timeline;
import javafx.application.Application;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;
import javafx.scene.Scene;
import javafx.scene.control.Button;
@AdamJHowell
AdamJHowell / BusinessRules.cs
Created October 12, 2016 05:09
Trying to implement INotifyPropertyChanged in my own container.
using System.Collections.Generic;
using System;
using System.ComponentModel;
namespace CS_3260_Lab_07
{
/// <summary>
/// This class will perform the background 'business' logic for our program.
/// </summary>
This file has been truncated, but you can view the full file.
PAGEDU64 ×:   HÀ^ûøÿÿÀeUûøÿÿàÿTûøÿÿd†  3 PAGE   H³^ûøÿÿPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEð$TûøÿÿPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGEPAGE   €  + + S +  F H³^ûøÿÿ3 €ÄùøÿÿÈ[Küøÿÿ  @:`ûøÿÿ
@AdamJHowell
AdamJHowell / ThreadTest.asm
Created December 11, 2018 19:04
A simple example of multi-threading with "mishmoosh".
; threadtest.asm
H .BYT 'H'
e .BYT 'e'
l .BYT 'l'
o .BYT 'o'
space .BYT 32
W .BYT 'W'
r .BYT 'r'
d .BYT 'd'
mutex .INT -1
@AdamJHowell
AdamJHowell / cult_of_ignorance.md
Created February 27, 2019 21:50 — forked from conspect/cult_of_ignorance.md
A Cult Of Ignorance, Isaac Asimov

It's hard to quarrel with that ancient justification of the free press: "America's right to know." It seems almost cruel to ask, ingeniously, "America's right to know what, please? Science? Mathematics? Economics? Foreign languages?"

None of those things, of course. In fact, one might well suppose that the popular feeling is that Americans are a lot better off without any of that tripe.

There is a cult of ignorance in the United States, and there always has been. The strain of anti-intellectualism has been a constant thread winding its way throughout political and cultural life, nurtured by the false notion that democracy means that "my ignorance is just as good as your knowledge."

Politicians have routinely striven to speak the language of Shakespeare and Milton as ungrammaticaly as possible in order to avoid offending their audiences by appearing to have gone to school. Thus, Adlai Stevenson, who incautiously allowed intelligence and learning and wit to peep out of his speeches, found the American people

@AdamJHowell
AdamJHowell / gist:4bc469095be8c4494784e0578b2941bb
Last active April 22, 2019 21:53
<style type="text/css"> in the <head> of every web page I visit 2/2
<style type="text/css">#Ad1, #AdHeader, #AdvertiseFrame, #BannerDiv, #JobInformer, #Tadspacehead, #ad-container, #ad1, #ad3, #ad728x90, #adBanner, #adContainer, #adTop, #ad_container, #ad_space, #ad_wrapper, #adposition3, #adriver_banner, #adspace, #advblock, #advertise, #advertisement, #advertising, #adverts, #banner-wrap, #banner_container, #contentAd, #content_ad, #dle-content noindex > table[style], #featuread, #footer_ads, #head-ad, #header-banner, #header_ad, #mediaget_box, #printads, #promo-ad, #sidebar_ads, #sponsored, #teasers, #topBannerAd, #top_ad, #top_banners, .AdBox, .AdInfo, .AdTitle, .Ads, .Advert, .BannerTop, .ad-button { display: none!important; }
.ad-container, .ad1, .ad2, .ad468, .adBox, .adContainer, .adDiv, .adElement, .adHolder, .adSpace, .adSummary, .adText, .adTitle, .ad_Right, .ad_block, .ad_body, .ad_content, .ad_header, .ad_links, .ad_right, .ad_space, .ad_text, .adbox, .addiv, .adframe, .adholder, .adinfo, .adleft, .adlist, .adpic, .adsense, .adtable, .adtext, .advert_list, .adver
@AdamJHowell
AdamJHowell / gist:1e2bacba7d0feb46f9fed2eec141b5aa
Created April 22, 2019 21:53
<style type="text/css"> in the <head> of every web page I visit 1/2
<style type="text/css">.mywidget__col > a.mywidget__link_advert, div[id^="_u_ablock_"], .flat_pm_outgoing, #Ad2, #AdText, #Ad_Top, #Adbanner, #Adfox_Banner, #Ads, #AdvertFieldBottom, #AdvertFieldCenter, #AdvertFieldTop, #Advertisement, #AdvertisingTopLine, #BanHolder28-1, #BannerGBottom, #BannerGCenter, #BannerGIMG, #BannerGTop, #BannerH2Left, #BannerHIMG, #BannerHLeft, #BannerUnderBroChat, #JaboxAdBarOuter, #METABAR_IFRAME, #MarketGidComposite1001, #PopUpWnd, #PopWin, #PopWin_popupsu_notds, #RichBanner_center, #__adIframe, #ad-200, #ad-slides, #ad2, #ad4, #ad7, #adHeadBanner, #adL, #adP, #adWrapper, #ad_help_link, #ad_hide_mask_ad_0, #ad_hide_mask_ad_1, #adbns, #adf_notifiers_wrap, #adsCSS, #advRightBox, #advbroker_place_1, #advbroker_place_10, #advbroker_place_2 { display: none!important; }
#advbroker_place_3, #advbroker_place_4, #advbroker_place_5, #advbroker_place_6, #advbroker_place_7, #advbroker_place_8, #advbroker_place_9, #advertbox, #advertising_floater, #advertisment, #advrich, #advunder-top, #adzer
D:\test\acme>adb devices
List of devices attached
RFCRB1BKSKH device
D:\test\acme>
D:\test\acme>
D:\test\acme>
D:\test\acme>./gradlew installDebug
'.' is not recognized as an internal or external command,