Skip to content

Instantly share code, notes, and snippets.

View skryvets's full-sized avatar
👋

Sergey Kryvets skryvets

👋
View GitHub Profile
@joshlong
joshlong / UAO.java
Last active September 25, 2024 02:27
this does the same thing as my existing unzip-and-open.py, but in less code and faster, with a compiler to help me.
// I'd suggest you create an alias somewhere:
// alias uao=java --enable-preview --source 21 $HOME/bin/UAO.java
// RUN: uao $HOME/Downloads/demo.zip
import java.io.*;
import java.util.function.*;
import java.util.* ;
void main(String[] args) throws Exception {
var zipFile = new File(args[0]);
@nrollr
nrollr / Commands.sh
Last active August 20, 2024 20:36
Install PHP and NGINX on Amazon Linux AMI
## Install NGINX
## when installing on Amazon Linux AMI, use:
$ sudo yum install nginx -y
## when installing on Amazon Linux 2 AMI, use
$ sudo amazon-linux-extras install nginx1.12 -y
## Install PHP and PHP-FPM
# for PHP version 7.1 use php71 and php71-fpm instead
$ sudo yum install php -y
$ sudo yum install php-fpm -y
@btroncone
btroncone / ngrxintro.md
Last active November 5, 2024 12:20
A Comprehensive Introduction to @ngrx/store - Companion to Egghead.io Series

Comprehensive Introduction to @ngrx/store

By: @BTroncone

Also check out my lesson @ngrx/store in 10 minutes on egghead.io!

Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!

Table of Contents