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
/* | |
* | |
* Correct Answer: 4259 | |
* noun, verb | |
* 42, 59 | |
* node Day2p2.js 0.09s user 0.08s system 81% cpu 0.211 total | |
*/ | |
var intSet = [ | |
1, | |
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
/* | |
* | |
* Correct Answer: | |
* 5866663 | |
* node Day2p1.js 0.06s user 0.08s system 94% cpu 0.149 total | |
*/ | |
const intSet = [ | |
1, | |
0, | |
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
/* | |
* Wrong answers: | |
* 17946289, 24473910, 17946495, 8155726 | |
* | |
* Correct Answer: | |
* 4892166 | |
* node Day1p2.js 0.06s user 0.08s system 95% cpu 0.147 total | |
*/ | |
var modules_mass = Array( | |
128167, |
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
/*** | |
* | |
* Ans: 3263354 | |
* node Day1.js 0.09s user 0.03s system 84% cpu 0.147 total | |
* | |
*/ | |
var modules = Array( | |
128167, | |
65779, | |
88190, |
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
######################################################################## | |
# OPTIMAL .htaccess FILE FOR SPEED AND SECURITY @Version 2019 | |
# ---------------------------------------------------------------------- | |
# @Author: Andreas Hecht | |
# @Author URI: https://andreas-hecht.com | |
# License: GNU General Public License v2 or later | |
# License URI: http://www.gnu.org/licenses/gpl-2.0.html | |
######################################################################## | |
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
fmtTime = (t) -> | |
d = new Date(null); | |
d.setSeconds(t/1000); | |
return d.toTimeString().substr 3, 5 | |
move = (obj, direction, step) -> | |
if !step? | |
step = 10 | |
attr = 'left' |
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
from bottle import abort | |
from bottle import post | |
from bottle import request | |
from bottle import run | |
from subprocess import call | |
def handle_pull_request(o): | |
pass |
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
# -*- coding: utf-8 -*- | |
from __future__ import unicode_literals | |
import random | |
try: | |
from tkinter import * | |
except ImportError: | |
from Tkinter import * | |
class Block(object): |
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
# remap prefix to Control + a | |
unbind C-b | |
set -g prefix C-a | |
#bind C-a send-prefix | |
# Screen Bindings | |
bind-key C-a last-window | |
# quick pane cycling | |
unbind ^A |
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
version: '3' | |
networks: | |
front-external: | |
driver: overlay | |
external: true | |
volumes: | |
glpi_files: {} | |
glpi_mariadb: {} |