Skip to content

Instantly share code, notes, and snippets.

const arrayOfStrings: string[] = [];
arrayOfStrings.push('hello');
arrayOfStrings.push('world');
arrayOfStrings.push('how are');
arrayOfStrings.push('you');
let charCounter = 0;
for (let i = 0; i < arrayOfStrings.length; i ++) {
for (let k = 0; k < arrayOfStrings[i].length; k++) {
charCounter++;
SELECT Count(*) AS cnt
FROM user_study
LEFT JOIN user_question
ON user_question.user_study_id = :user_study_id
AND user_question.question_group_id = '673'
AND user_question.id = (SELECT MAX(id) FROM user_question WHERE question_group_id = 673 AND user_study_id = :user_study_id)
LEFT JOIN user_question_response
ON user_question_response.user_question_id = user_question.id
AND user_question_response.question_id = '6118'
WHERE user_study.id = :user_study_id
/*
* Copyright (c) 2011-2014 The original author or authors
* ------------------------------------------------------
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Apache License v2.0 which accompanies this distribution.
*
* The Eclipse Public License is available at
* http://www.eclipse.org/legal/epl-v10.html
*
/*
* Copyright (c) 2011-2014 The original author or authors
* ------------------------------------------------------
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Apache License v2.0 which accompanies this distribution.
*
* The Eclipse Public License is available at
* http://www.eclipse.org/legal/epl-v10.html
*
GET / HTTP/1.0
Host: whatismyip.akamai.com
GET /full HTTP/1.0
Host: whatismyip.akamai.com
GET / HTTP/1.0
Host: setfive.com
{
"name": "A pretty good playlist",
"user_id": "10",
"songs": [
{"video_id": "e2vBLd5Egnk", "video_title": "Martin Garrix & Dua Lipa - Scared To Be Lonely (Official Video)",
"thumb_url": "https://i.ytimg.com/vi/e2vBLd5Egnk/hqdefault.jpg"},
{"video_id": "6CnP8ghhZPQ", "video_title": "The Weeknd - Can't Feel My Face (Martin Garrix Remix)",
"thumb_url": "https://i.ytimg.com/vi/6CnP8ghhZPQ/hqdefault.jpg"},
]
}
/** Output some stuff **/
console.log("Hello evil world!");
/** A for loop **/
let total = 0;
for(let i = 0; i < 10; i++){
total += i;
}
console.log(total);
$ dig all ai.vu.me
; <<>> DiG 9.10.3-P4-Ubuntu <<>> all ai.vu.me
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 55684
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
Matt, 10:52 AM
Kate Daum ([email protected])
https://yelp.to/qTKq/BS2DnMTbeL
https://yelp.to/qTKq/qejSuVWbeL
https://yelp.to/qTKq/vNLNhV5beL
Burger place but setting looks nice
http://www.gulfbistro.com/Dinner-Menu.html
Escargots
http://madbeachbrewing.com/
There are not that many fancy ones
----- Update statistics by running the ANALYZE command on these tables -----
----- Tables missing statistics: campaigns78000295_v2 -----
XN Limit (cost=2999999999999999659174894884133939956615861204479803088453030456896447381288632370463183954715344896.00..2999999999999999659174894884133939956615861204479803088453030456896447381288632370463183954715344896.00 rows=1 width=52)
-> XN Merge (cost=2999999999999999659174894884133939956615861204479803088453030456896447381288632370463183954715344896.00..2999999999999999659174894884133939956615861204479803088453030456896447381288632370463183954715344896.00 rows=1 width=52)
-> XN Network (cost=2999999999999999659174894884133939956615861204479803088453030456896447381288632370463183954715344896.00..2999999999999999659174894884133939956615861204479803088453030456896447381288632370463183954715344896.00 rows=1 width=52)
-> XN Sort (cost=2999999999999999659174894884133939956615861204479803088453030456896447381288632370463183954715344896.00..299