I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
This file contains hidden or 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
.arch armv4 | |
code_beg: | |
ldr sp, =0x0000FFFC | |
ldr r0, =msg_test | |
bl puts | |
mov r0, #0x00000000 | |
mov r1, #(code_end - code_beg)>>2 | |
bl crc32 |
This file contains hidden or 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
# | |
# By Kyle Kersey | |
# 2014 | |
# | |
import praw | |
import sqlite3 | |
import sys | |
database_path = "reddit_comments.db" |
This file contains hidden or 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
all: | |
gcc -pipe -nostdlib -nostartfiles -Qn -Wl,--build-id=none -o tiny-hello tiny-hello.s | |
strip -R .ARM.attributes tiny-hello | |
! ./tiny-hello | |
ls -l tiny-hello | |
clean: | |
rm -f tiny-hello |
This file contains hidden or 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
[BITS 16] ; We need 16-bit intructions for Real mode | |
[ORG 0x7C00] ; The BIOS loads the boot sector into memory location 0x7C00 | |
;jmp word load | |
global _start | |
jmp _start | |
drive db 0 | |
; jmp reset_drive | |
; jmp enter_pm |
This file contains hidden or 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
license: gpl-3.0 |
Most of this I got from the DigitalOcean file.
- Sign up for an account at digitalocean.com. Create a droplet using the pre-configed Ubuntu 12.10/Rails/Ngix/Unicorn option and using an ssh key if you set one up first. [An overview can be found here.] (https://www.digitalocean.com/community/articles/how-to-set-up-ssh-keys--2) If you don’t set up an SSH key, that's okay, DigitialOcean (DO) will send you one to your email.
- Once setup with an IP, point your domain or subdomain to the IP from wherever you are hosting as an A record. Log in using
ssh [email protected]
. Enter your password if needed. - Type
passwd
into the console to change the password of root to something you can remember. - If you want add a new user so you don’t have to use root then type
adduser [username]
in the console. Feel free to fill out the Fu
This file contains hidden or 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
license: gpl-3.0 |
This file contains hidden or 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
// Somewhere in your controllers for this given example | |
// Example functions | |
$scope.itemOnLongPress = function(id) { | |
console.log('Long press'); | |
} | |
$scope.itemOnTouchEnd = function(id) { | |
console.log('Touch end'); | |
} |
This file contains hidden or 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
license: gpl-3.0 |