- This is Event #3 for this Meetup.
- 450+ members; Meetup started in May 2014.
- New talk format: Lightning Talks
- 30 seconds to 5 minutes maximum.
- Any topic relating to Spark.
- Any skill or experience level--beginners welcome!
- Speakers: We want you!
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/bash | |
# Display the duration between timer start and stop. | |
# | |
# Usage: timer {start|stop} [format] | |
# | |
# Example: | |
# | |
# timer start | |
# <script_commands> |
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
yum install -y java-1.7.0-openjdk-devel gcc gcc-c++ ant git | |
yum install -y wget tar unzip time | |
yum install -y python-devel | |
curl https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py | python - | |
curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python - | |
easy_install pip |
- This is Event #4 for this Meetup.
- 570+ members; Meetup started in May 2014.
- New talk format: Lightning Talks
- 30 seconds to 5 minutes maximum.
- Any topic relating to Spark.
- Any skill or experience level--beginners welcome!
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
import asyncio | |
@asyncio.coroutine | |
def shleepy_time(seconds): | |
print("Shleeping for {s} seconds...".format(s=seconds)) | |
yield from asyncio.sleep(seconds) | |
print("Done shleeping.") | |
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
-- schema | |
--DROP TABLE dbo.common_Text; | |
--DROP TABLE dbo.common_LanguageType; | |
--DROP TABLE dbo.common_Comment; | |
CREATE TABLE dbo.common_Comment ( | |
CommentId BIGINT NOT NULL PRIMARY KEY | |
); | |
CREATE TABLE dbo.common_LanguageType ( |
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
-- The gist of it: | |
-- Use HASHBYTES('SHA1', @input); instead of CHECKSUM(@input); if you are interested | |
-- in using hashes to detect code changes. | |
-- oops! I deleted too many records | |
DECLARE @old_proc_definition VARCHAR(MAX) = ' | |
DELETE FROM dbo.transactions | |
WHERE txn_id < 10000000000000000; | |
'; |
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
-- Tested on SQL Server 2008 R2 | |
-- Isolation level is READ COMMITTED | |
-- | |
-- Session 1 | |
-- | |
CREATE TABLE dbo.parent ( | |
parent_id INT NOT NULL PRIMARY KEY | |
, value VARCHAR(50) NOT NULL | |
); |
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
SET NOCOUNT ON; | |
USE [tempdb]; | |
GO | |
-- Try substituting GETDATE() for SYSUTCDATETIME() everywhere in this script | |
-- and you will get the same results. | |
CREATE TABLE a_table ( | |
an_integer INT DEFAULT (1) | |
, a_string CHAR(10) DEFAULT ('ohmigodwut') |
- This is Event #7 for this Meetup.
- 850+ members; Meetup started in May 2014. Recently had our 1 year anniversary.
- Speakers: We want you!
- Feature talks or Lighting talks
- Sponsors: You want us!
- Host an event, pay for food and drink, or cover other event costs.
OlderNewer