To create a Table
create table risk_clos_rank(
id_num int IDENTITY(1,1) NOT NULL,
username nvarchar(100),
datetime_of_decision DATETIME
);
CREATE TABLE TheNameOfYourTable (
ID INT NOT NULL IDENTITY(1,1),
All challenges. I lied a bit, these are actually in **reverse** chronological order, to make it less annoying to use on mobile devices. | |
Easy | Intermediate | Hard | Weekly/Bonus | |
-----|--------------|------|------------- | |
| []() | []() | []() | **-** | | |
| [[2015-08-03] Challenge #226 [Easy] Adding fractions](/r/dailyprogrammer/comments/3fmke1/20150803_challenge_226_easy_adding_fractions/) | []() | []() | **-** | | |
| [[2015-07-27] Challenge #225 [Easy/Intermediate] De-columnizing](/r/dailyprogrammer/comments/3esrkm/20150727_challenge_225_easyintermediate/) | [[2015-07-29] Challenge #225 [Intermediate] Estimating pi from images of circles](/r/dailyprogrammer/comments/3f0hzk/20150729_challenge_225_intermediate_estimating_pi/) | [[2015-07-31] Challenge #225 [Intermediate] Diagonal Maze](https://www.reddit.com/r/dailyprogrammer/comments/3f9o7k/20150731_challenge_225_intermediate_diagonal_maze/) | **-** | | |
| [[2015-07-20] Challenge #224 [Easy] Shuffling a List](/r/dailyprogrammer/comments/3e0hmh/20150720_challenge_224_e |
All challenges. I lied a bit, these are actually in **reverse** chronological order, to make it less annoying to use on mobile devices. | |
Easy | Intermediate | Hard | Weekly/Bonus | |
-----|--------------|------|------------- | |
| []() | []() | []() | **-** | | |
| [[2016-02-22] Challenge #255 [Easy] Playing with light switches](/r/dailyprogrammer/comments/46zm8m/20160222_challenge_255_easy_playing_with_light/) | [[2016-02-24] Challenge #255 [Intermediate] Ambiguous Bases](/r/dailyprogrammer/comments/47docs/20160224_challenge_255_intermediate_ambiguous/)| [[2016-02-26] Challenge #255 [Hard] Hacking a search engine](/r/dailyprogrammer/comments/47o4b6/20160226_challenge_255_hard_hacking_a_search/) | **-** | | |
| [[2016-02-16] Challenge #254 [Easy] Atbash Cipher](/r/dailyprogrammer/comments/45w6ad/20160216_challenge_254_easy_atbash_cipher/)| [[2016-02-17] Challenge #254 [Intermediate] Finding Legal Reversi Moves](/r/dailyprogrammer/comments/468pvf/20160217_challenge_254_intermediate_finding_legal/)| [[2016-02-19] Challenge #25 |
# | |
# Project specific excludes | |
# | |
tomcat | |
# | |
# Default excludes | |
# |
To initialise a new git repository | |
git init | |
To download a repository from a website | |
git clone https://github.com/tutorialzine/awesome-project.git | |
To remove commits from github. | |
git log | |
to find out the commit you want to revert | |
git push origin +7f6d03:master |
To create a Table
create table risk_clos_rank(
id_num int IDENTITY(1,1) NOT NULL,
username nvarchar(100),
datetime_of_decision DATETIME
);
CREATE TABLE TheNameOfYourTable (
ID INT NOT NULL IDENTITY(1,1),
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle' | |
}); |
import Component from '@glimmer/component'; | |
export default class extends Component { | |
} |
Picking the right architecture = Picking the right battles + Managing trade-offs
1. Write poly-fill of Object.create and explain why it worked: | |
if(typeof Object.create != "function") { | |
Object.create = function(param) { | |
var Fun = function(){}; | |
Fun.prototype = param; | |
return new Fun(); | |
} | |
} |
Answering the Front-end developer JavaScript interview questions to the best of my ability.
Sometimes you need to delegate events to things.
this
works in JavaScriptThis references the object or "thing" defined elsewhere. It's like "hey, thing I defined elsewhere, I'm talkin' to you."