Skip to content

Instantly share code, notes, and snippets.

View jvlad's full-sized avatar
💭
Open to new projects

Vlad Zams jvlad

💭
Open to new projects
View GitHub Profile
Today, on Feb 20,2023, before taking off in order to fly from YVR (Vancouver International Airport, BC, Canada) to Amsterdam (while heading to Berlin as my final destination),
I, Vladislav Zamskoi, would like to express my last wish (the will) which reads as following:
All my savings and everything, including the real estate and any other material values that I'm eligible to get according to my grandpa's (Evgeni Koshelev) Will, I bequeath to my closest friend that I know since 2009 and fully trust since 2014,
Mikhail Mladzinski,
date of birth: December 30 1992,
place of birth: Minsk, Belarus.
I fully trust and rely on his knowledge and expertise to support (to the best of his ability) the people that matter to me:
Ada Zamskoi (my daughter)
@jvlad
jvlad / csv_exercise.csv
Created July 12, 2021 20:45
csv_exercise
a = 7.1 - 4 + 2 - 3 b = a + 1 c = a - b
d = - c + 1 + 5 + a x = a + b + c + d
@jvlad
jvlad / WebShopVC.swift
Created August 19, 2020 07:18
iOS. Interacting with JS code rendered within a WebView
//
// Created by Vlad Zamskoi on 2019-08-20.
// Licenced under MIT
//
// This is an example of interacting with JS code rendered within a WebView
// See `private func buildWebView() -> WKWebView` at line 69
import Foundation
import UIKit
@CommandLine.Command(description = ["Prepend branch's name with `z_archive_`, " +
"push to remote and then delete it's local ref. Default: if no branch specified, " +
"current branch is targeted"])
fun archiveBranches(
@CommandLine.Parameters(
description = ["branches to archive. Run `git branch -a` to list branches"],
index = "0..*"
) branchesToArchive: List<String>?,
@CommandLine.Option(
import UIKit
import SnapKit
class ScrollableViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
view.backgroundColor = UIColor.whiteColor()
let scrollView = UIScrollView()
@jvlad
jvlad / updateVSCodeExtensionsInstallationScript.sh
Last active August 3, 2023 22:00
Export Installed Visual Studio Code Extensions in a Form of Installation Script
#!/usr/bin/env zsh
#
# This script generates and writes to file another bash-script (output_script)
# that implements "vscodeInstallExtensions" function which installs all
# Visual Studio Code extensions that were originally installed on your machine
# at the moment of generation output_script by running
# "vscodeUpdateExtensionsInstallationScript" function that is implemented here below.
#
# # How to use
#
@jvlad
jvlad / Property-Attributes-in-Objective-C.md
Created January 22, 2018 13:27
Property-Attributes-in-Objective-C

Property Attributes in Objective-C

Storage

  1. strong
    it's default option implicitly applied if no any other option of the same group is specified
    means you have a reference to an object and you will keep that object alive. As long as you hold that reference to the object in that property, that object will not be deallocated and released back into memory.

  2. weak gives you a reference so you can still “talk” to that object, but you are not keeping it alive. If everyone else’s strong references go away, then that object is released.

@jvlad
jvlad / Used_MacBook Test.md
Last active December 11, 2018 09:36
Used_MacBook Test before Purchasing. Step-by-Step Guide

Used_MacBook Test before Purchasing

Step-by-Step Guide

Things You May Want to Have with You

It is great to have another MacBook that you know about how it works (e. g. ask your friend who has MacBook to join you). It helps to avoid false-negative test-results.

E. g. if you hear something strange while testing the speakers, you can check the same audio track on your MacBook to understand if the problem is caused by laptop or by audio track itself.

@jvlad
jvlad / remove-sidebar.css
Created February 24, 2016 05:32 — forked from 0atman/remove-sidebar.css
slack.com remove left sidebar
/* hide the sidebar */
#team_menu {display: none;}
#col_channels_bg {display: none;}
#col_channels {display: none;}
#messages_container {margin-left: 0;}
#messages-input-container {left: -160px;}
/* move the favouites star over */
#channel_header .star {