-
- 11.6’’ (1366x768) display
-
- 0.7 inches thin – 2.42 lbs / 1.1 kg
-
- Over 6.5 hours of battery
-
- Samsung Exynos 5 Dual Processor
-
- 100 GB Google Drive Cloud Storage2 with 16GB Solid State Drive
-
- Built-in dual band Wi-Fi 802.11 a/b/g/n
-
- VGA Camera
-
- 1x USB 3.0, 1x USB 2.0
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
# Using this script downloads ALL the videos in NSScreencast. | |
# Use it wisely, it's extra load/bandwidth for the NSScreencast website. | |
# Usage: `EMAIL=your email PASSWORD=your password END=how many videos should be downloaded? ruby download-nsscreencast.rb` | |
require "mechanize" | |
require "parallel" | |
mechanize = Mechanize.new | |
mechanize.post("https://www.nsscreencast.com/user_sessions", {"email" => ENV["EMAIL"], "password" => ENV["PASSWORD"]}) | |
mechanize.pluggable_parser.default = Mechanize::Download |
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
$("<input/>", { | |
id: "permissionsInput", | |
name: "permissions", | |
type: "checkbox", | |
click: function(){ | |
update(); | |
}, | |
checked: "checked" | |
}).appendTo("#myForm"); |
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
var arr = [ "one", "two", "three", "four", "five" ]; | |
jQuery.each(arr, function(index, value) { | |
console.log(this); | |
return (this != "three"); // will stop running after "three" | |
}); |
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
" To test this file in isolation, | |
" put it in a folder other then ~/, | |
" then run 'vim -u vundle-with-bootstrap.vim'. | |
set nocompatible | |
filetype off | |
" modified bootstrap, originally by John Whitley | |
" https://github.com/jwhitley/vimrc/blob/master/.vim/bootstrap/bundles.vim | |
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
// Try this in 32bit and 64bit iOS Simulator. | |
// In 32bit one, both tests pass. | |
// In 64bit one, - (void)testStubWorksForYES fails. | |
// Test support | |
#import <XCTest/XCTest.h> | |
#define MOCKITO_SHORTHAND | |
#import <OCMockito/OCMockito.h> |
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 | |
# Warning! | |
# if you DIY a stage package like this, | |
# you must use the Stage3`s /etc/udev/* | |
# or rm /etc/udev/rules.d/70* | |
# Warning! | |
# last edited by likuku on 2012.03.29 | |
DATE=`date +%Y_%m_%d_%H_%M_%S` | |
ARCH=`uname -m` |
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
#!/usr/bin/env python3 | |
# Read lines. | |
def readLines(filePath, howManyLines=500) : | |
lines = list() | |
with open(filePath) as theFile : | |
number = 0 | |
while True : | |
for i in range(0, howManyLines) : | |
line = theFile.readline() |