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
stages: | |
- build | |
- push | |
- deploy | |
Get Prod Environment Variables: | |
stage: build | |
image: lyasper/s3cmd | |
only: | |
- master |
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
const fetch = require('node-fetch') | |
const { odrs } = require('./07-09-2019.json') | |
odrs.forEach(o => { | |
fetch('http://localhost:8080/api/v1/odr/raw', { | |
method: 'POST', | |
body: JSON.stringify(o) | |
}).then(res => res.json()).then(j => { | |
if (!j.success) { | |
console.log(o) |
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
public class BigInteger { | |
DigitNode front; | |
private static class DigitNode { | |
int digit; | |
DigitNode next; | |
public DigitNode(int digit) { | |
this.digit = digit; | |
this.next = null; | |
} | |
public DigitNode(int digit, DigitNode next) { |
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
public class BigInteger { | |
DigitNode front; | |
private static class DigitNode { | |
int digit; | |
DigitNode next; | |
public DigitNode(int digit) { | |
this.digit = digit; | |
this.next = null; | |
} |
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
public class BigInteger { | |
DigitNode front; | |
private static class DigitNode { | |
int digit; | |
DigitNode next; | |
public DigitNode(int digit) { | |
this.digit = digit; | |
this.next = null; | |
} |
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
public class BigInteger { | |
DigitNode front; | |
private static class DigitNode { | |
int digit; | |
DigitNode next; | |
public DigitNode(int digit) { | |
this.digit = digit; | |
this.next = null; | |
} |
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
stages: | |
- build | |
- push | |
- deploy | |
Get Prod Environment Variables: | |
stage: build | |
image: lyasper/s3cmd | |
only: | |
- master |
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
(package-initialize) | |
(tool-bar-mode -1) | |
(require 'package) | |
(require 'evil) | |
(evil-mode t) | |
(global-linum-mode t) | |
(when (null window-system) | |
(menu-bar-mode 0)) | |
; (require 'xscheme) | |
(add-to-list 'load-path "~/.emacs.d/extendos") |
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
(package-initialize) | |
(tool-bar-mode -1) | |
(require 'package) | |
(require 'evil) | |
(evil-mode t) | |
(global-linum-mode t) | |
(when (null window-system) | |
(menu-bar-mode 0)) | |
; (require 'xscheme) | |
(add-to-list 'load-path "~/.emacs.d/extendos") |
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
#include <iostream> | |
using namespace std; | |
// width and height of the board | |
const int width = 7, height = 6; | |
//pieces | |
const char EMPTY = '_', X = 'X', O = 'O'; | |
//board is represented with a 2-dimensional char array | |
char board[height][width]; |