Skip to content

Instantly share code, notes, and snippets.

View donjar's full-sized avatar

Herbert Ilhan Tanujaya donjar

View GitHub Profile
@donjar
donjar / a.rs
Created February 11, 2020 06:34
use actix::prelude::*;
pub struct Msg {
}
impl Message for Msg {
type Result = ();
}
pub struct AsyncActorThatOnlySpewsState {
#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;
#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>;
419
757
75
84
8
310
120
9
797
70

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
@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'
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
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++) {

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: