Skip to content

Instantly share code, notes, and snippets.

View paschalidi's full-sized avatar
in Mexico city

Christos Paschalidis paschalidi

in Mexico city
View GitHub Profile
paschalidi /
Created November 7, 2018 09:42 — forked from PurpleBooth/
A template to make good

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.


paschalidi /
Created January 15, 2019 15:18

Keybase proof

I hereby claim:

  • I am paschalidi on github.
  • I am paschalidi ( on keybase.
  • I have a public key ASAErA48SyiVK1eTCk7wtLRETxr_TVwTXAdYoUoMhPOEMgo

To claim this, I am signing this object:

paschalidi / arrayBufferToString.js
Created January 24, 2019 09:33 — forked from skratchdot/arrayBufferToString.js
Array Buffer -> String and String -> ArrayBuffer conversions in javascript
// source:
function ab2str(buf) {
return String.fromCharCode.apply(null, new Uint16Array(buf));


When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

Please note we have a code of conduct, please follow it in all your interactions with the project.

Pull Request Process

  1. Ensure any install or build dependencies are removed before the end of the layer when doing a
paschalidi / webcryptoapi.html
Created March 21, 2019 11:37 — forked from deiu/webcryptoapi.html
Web Crypto API example: RSA keygen & export & import & sign & verify & encrypt & decrypt
<!-- MIT License -->
function generateKey(alg, scope) {
return new Promise(function(resolve) {
var genkey = crypto.subtle.generateKey(alg, true, scope)
genkey.then(function (pair) {
paschalidi /
Created March 29, 2019 18:08 — forked from jamtur01/
Kickstarter Engineering Ladder
paschalidi / flatten.test.ts
Last active October 18, 2019 07:20
A simple function that recursively flattens a given `array`
import { flatten } from "./flatten";
describe("flatten method", function() {
it("should flatten deeply arrays", function() {
const array = [1, [2, [3, [4]], 5]];
const flatArray = flatten(array);
const expected = [1, 2, 3, 4, 5];
paschalidi / DOM question
Created December 13, 2019 09:44
A simple Dom interview question
<h1 id="one">Welcome</h1>
<p>This is the welcome message.</p>
<p>This is the technology section.</p>
<script type="text/javascript">
paschalidi / new Keyword question
Created December 13, 2019 09:55
what will be consoled?
function Person(name) { = name;
var person = Person('John');
var person = new Person('John');
function foo() {
// All variables are accessible within functions.
var bar = 'bar';
let baz = 'baz';
const qux = 'qux';