Welcome to HackerRank DSL (Domain Specific Language) Documentation! You can use our the DSL to generate code stubs that read test case data from standard input in hackerrank challenges.
#!/usr/bin/env ruby | |
# elisp, lua, python2, and jvm | |
# https://docs.google.com/spreadsheets/d/1l1N_wtK8xA7N-ezG5iUjDeg6iKQgVaYf8ckTSp30QIo/ | |
$flag = File.read('flag').chomp | |
$ml_preamble = nil | |
$lua_preamble = nil | |
$ruby_preamble = nil |
- If you don't already have one, create a GitHub account
- Use the "Fork" button to fork the repository:
Moved to a proprer repositoy, TSWS is a real boy now! | |
https://github.com/dfletcher/tsws | |
PRs welcomed. |
`standard` is the 52th most depended on npm module. (counting dependencies and devDependencies) | |
-------- | |
SPECIFIC MODULES | |
-------- | |
standard 9860 | |
snazzy 1004 | |
eslint-config-standard 4235 |
# OSX for Hackers (Mavericks/Yosemite) | |
# | |
# Source: https://gist.github.com/brandonb927/3195465 | |
#!/bin/sh | |
# Some things taken from here | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# Ask for the administrator password upfront |
; /usr/local/bin/nasm -f macho 32.asm && ld -macosx_version_min 10.7.0 -o 32 32.o && ./32 | |
global start | |
section .text | |
start: | |
push dword msg.len | |
push dword msg | |
push dword 1 | |
mov eax, 4 |
#include <iostream> | |
#include <fstream> | |
#include <vector> | |
#include <climits> | |
#include <exception> | |
#include <set> | |
using namespace std; | |
struct Edge { |
<!-- Respect Rollcall --> | |
<li><a href="http://www.alistapart.com/articles/">A List Apart — for website builders</a></li> | |
<li><a href="http://abstrusegoose.com/">Abstruse Goose — my favorite comic</a></li> | |
<li><a href="http://al3x.net/">Alex Payne — technology rambling</a></li> | |
<li><a href="http://dashes.com/anil/">Anil Dash — on culture, apple & design</a></li> | |
<li><a href="http://weblogs.mozillazine.org/asa/">Asa Dotzler — on mozilla & software</a></li> | |
<li><a href="http://www.azarask.in/blog/">Aza Raskin – on design & firefox</a></li> | |
<li><a href="http://christophzillgens.com/en/">Christoph Zillgens — interface design</a></li> | |
<li><a href="http://cssremix.com/">CSS Remix — gorgeous designs</a></li> | |
<li><a href="http://css-tricks.com/">CSS Tricks</a></li> |
Article by Faruk Ateş, [originally on KuraFire.net][original] which is currently down
One of the most commonly overlooked and under-refined elements of a website is its pagination controls. In many cases, these are treated as an afterthought. I rarely come across a website that has decent pagination, and it always makes me wonder why so few manage to get it right. After all, I'd say that pagination is pretty easy to get right. Alas, that doesn't seem the case, so after encouragement from Chris Messina on Flickr I decided to write my Pagination 101, hopefully it'll give you some clues as to what makes good pagination.
Before going into analyzing good and bad pagination, I want to explain just what I consider to be pagination: Pagination is any kind of control system that lets the user browse through pages of search results, archives, or any other kind of continued content. Search results are the o