Skip to content

Instantly share code, notes, and snippets.

@asaskevich
asaskevich / fullstack-vacancy.ts
Last active February 18, 2019 13:31
Gem4me vacancy
const responsibilities = [
'Chat-bots and theirs environment',
'Different backend tasks',
];
const needToKnow = [
{ languages: ['JavaScript', 'TypeScript'] }, // ES6, Node.js, TypeScript - strong knowledge
{ frameworks: ['Express.js', 'Koa.js', 'Hapi.js'] }, // preferred to know Express.js and Koa.js
{ databases: ['Relational', 'NoSQL'] },
];
0xc34663aD1Bdf344DF00c783fA6578b4dBCa2DcDB
coverage run setup.py test
coverage report -m
coverage html
@asaskevich
asaskevich / dabblet.css
Created August 16, 2014 11:44
Untitled
* {
background-color: #A9B6C7;
}
#buttons {
position: absolute;
margin: auto;
top: 0px;
left: 0px;
right: 0px;
@asaskevich
asaskevich / MainSandBox.java
Created July 26, 2014 10:07
Java Reflection - Remove "private final" modifiers and set/get value to field
package sandbox;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
public class MainSandBox {
public static void main(String[] args) throws Exception {
Example ex = new Example();
// Change private modifier to public
Field f = ex.getClass().getDeclaredField("id");

Keybase proof

I hereby claim:

  • I am asaskevich on github.
  • I am asaskevich (https://keybase.io/asaskevich) on keybase.
  • I have a public key whose fingerprint is 8B20 460B ED2E CBD7 7BE1 591A CCDC 322F 8D61 5C29

To claim this, I am signing this object:

@asaskevich
asaskevich / samples.py
Created April 28, 2014 15:33
Samples for built-in Python functions
# abs(var)
print(abs(-23))
print(abs(3 + 5j))
# all(var)
print(all([1, 2, 3, 4, 5]))
print(all("string"))
print(all([0, 1, 1]))
# any(var)
print(any([]))
print(any([0, 0, 0, 1, 0, 0, ]))
@asaskevich
asaskevich / run.bat
Last active May 5, 2017 14:56
Compile and run C# app from command line
@echo off
:: Making directory for executable files
md build
set /p fName=Write source name:
:: Csharp compiler must be in %PATH%
csc.exe %fName%.cs
:: Move executable file to directory
move %fName%.exe build/
cd build
cls