Skip to content

Instantly share code, notes, and snippets.

View thmsdnnr's full-sized avatar
🤖
🐱 ☕

thmsdnnr

🤖
🐱 ☕
View GitHub Profile

Keybase proof

I hereby claim:

  • I am thmsdnnr on github.
  • I am psauxgrepmeow (https://keybase.io/psauxgrepmeow) on keybase.
  • I have a public key ASB7ggff3ANzwPAMDo97nYTLTRIX71Y8Y0qckY_iMUG82go

To claim this, I am signing this object:

{"title":"Ultimate CS Deck","cards":[{"title":"card_1","front":"What is Hamming Code?","back":"In telecommunication, Hamming codes are a family of linear error-correcting codes that generalize the Hamming(7,4)-code, and were invented by Richard Hamming in 1950. Hamming codes can detect up to two-bit errors or correct one-bit errors without detection of uncorrected errors.\n"},{"title":"card_2","front":"What is the square root of 256?","back":"16\n"},{"title":"card_3","front":"2^16","back":"65,536\n"},{"title":"card_4","front":"Using bitwise operations, how would you test that a number is a power of 2?","back":"bool isPowerOfTwo = (x & (x - 1);\n"},{"title":"card_5","front":"What does ELF stand for?","back":"Executable and Linkable Format.\nIt's a common standard file format for executables, object code, shared libraries, and core dumps.\n"},{"title":"card_6","front":"example of a latency device","back":"CPU core\n"},{"title":"card_7","front":"example of a throughput device","back":"GPU core\n"},{"title":"card
{"title":"deckTitle","cards":[{"title":"t0","front":"front0","back":"back0"},{"title":"t1","front":"front1","back":"back1"},{"title":"t2","front":"front2","back":"back2"},{"title":"t3","front":"front3","back":"back3"}]}
@thmsdnnr
thmsdnnr / activity_main.xml
Created January 25, 2018 16:11
One-page Udacity App
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:screenOrientation="portrait"
tools:context="com.example.android.helloandroid.MainActivity">
@thmsdnnr
thmsdnnr / MainActivity.java
Created January 25, 2018 13:52
Barista (Just Java) App from Udacity Android Class
package com.example.android.justjava;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.TextView;
import java.text.NumberFormat;
/**
@thmsdnnr
thmsdnnr / activity_main.xml
Created January 12, 2018 13:35
Udacity — Happy Birthday Cat Card
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context="com.thmsdnnr.happybirthday.MainActivity">
<ImageView
android:src="@drawable/cutecat"
@thmsdnnr
thmsdnnr / readme.md
Created December 19, 2016 09:22
world110m2

json data for world mapping with d3 and topojson