Skip to content

Instantly share code, notes, and snippets.

View donjar's full-sized avatar

Herbert Ilhan Tanujaya donjar

View GitHub Profile
##################
## ## ## ##
###### ##########
## ## ## ##
## ##############
## ## ## ## ##
## ##############
## ## ## ## ##
## ##############
## ## ## ## ##
@donjar
donjar / curl.txt
Created August 28, 2017 06:32
`curl -v example.com` result
$ curl -v example.com
* Rebuilt URL to: example.com/
* Trying 93.184.216.34...
* Connected to example.com (93.184.216.34) port 80 (#0)
> GET / HTTP/1.1
> Host: example.com
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 200 OK

Keybase proof

I hereby claim:

  • I am donjar on github.
  • I am donjar (https://keybase.io/donjar) on keybase.
  • I have a public key ASCV7BquyAhhacw_iDQTQR_vxS7UeQ2JW_yN6hW6uQAnMAo

To claim this, I am signing this object:

class Solution {
int[][] solutionTable;
public int kInversePairs(int n, int k) {
solutionTable = new int[n + 1][k + 1];
return dp(n, k);
}
private int dp(int n, int k) {
for (int i = 1; i <= n; i++) {
require 'nokogiri'
require 'time'
def get_name_and_time_data(xml_filename)
xml_file = Nokogiri::XML(File.read(xml_filename))
xml_file.child.children.map do |event|
event_children = event.children
system = event_children.find { |c| c.name == 'System' }
time = system.children.find { |c| c.name == 'TimeCreated' }.values.first
@donjar
donjar / Gemfile
Last active February 11, 2018 09:05
An opinionated Gemfile
source 'https://rubygems.org'
### BASICS
# Ruby version
ruby '2.5.0'
# Rails version
gem 'rails'
# Use postgres as database
gem 'pg', '< 1'

Job Deliverables

  • show competency of trading basics, the financial markets, related software such as C++, R, and Python
  • contribute to trading teams in the rotation programme

Job Evaluation Method

  • completion of trading targets at the Trading Basics module
  • completion of C++/R/Python homeworks

Technical Skill Objectives

  • demonstrate understanding of the financial landscape
419
757
75
84
8
310
120
9
797
70
#include <bits/stdc++.h>
using namespace std;
#define PI acos(-1.0)
#define MOD 1000000007
template<class T1, class T2>
using umap = unordered_map<T1, T2>;
template<class T>
using uset = unordered_set<T>;
#include <bits/stdc++.h>
using namespace std;
template<class T1, class T2>
using umap = unordered_map<T1, T2>;
template<class T>
using uset = unordered_set<T>;
typedef long long ll;
typedef unsigned long long ull;