This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gradle init --type java-application |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> | |
<title>Islamophobe - définition & solution</title> | |
<!-- Bootstrap --> | |
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet"> | |
<style> | |
body { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
if [ -z "$1" ]; then | |
shot_path=$(date +%Y-%m-%d-%H-%M-%S).mp4 | |
else | |
shot_path="$*" | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void trackItemsSelectedCount(Context context, int count) { | |
Bundle bundle = new Bundle(); | |
bundle.putInt("count", count); | |
getAnalytics(context).logEvent("items_selected", bundle); | |
} | |
SELECT | |
SUM((SELECT params.value.int_value FROM x.params WHERE params.key = 'count')) AS count | |
FROM package_ANDROID.app_events_20170123, UNNEST(event_dim) AS x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Eddystone service UUID | |
private static final ParcelUuid UID_SERVICE = | |
ParcelUuid.fromString("0000feaa-0000-1000-8000-00805f9b34fb"); | |
BluetoothManager manager = (BluetoothManager) getSystemService(BLUETOOTH_SERVICE); | |
BluetoothAdapter adapter = manager.getAdapter(); | |
BluetoothLeScanner scanner = adapter.getBluetoothLeScanner(); | |
ScanFilter beaconFilter = new ScanFilter.Builder() | |
.setServiceUuid(UID_SERVICE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test(expected = NullPointerException.class) | |
public void shouldThrowNullPointerException() throws Exception { | |
Foo foo = new Foo(null); | |
foo.bar(null); | |
} |