# initialise new project package environment
npm init
PIPENV_VENV_IN_PROJECT=1 pipenv install
# install major version of package P (and dependencies)
npm i P@1
pipenv install --selective-upgrade "P<2"
This file contains 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
#! /usr/bin/env python | |
import pandas as pd | |
import argparse | |
import os | |
import pyarrow.orc as orc | |
# usage: ./converter.py --help | |
CONVERTERS = ['parquet2json', 'orc2json', 'orc2parquet'] |
This file contains 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' | |
services: | |
# Database | |
db: | |
image: mariadb:latest | |
volumes: | |
- db_volume:/var/lib/mysql | |
- ./wp/db:/var/lib/mysql | |
restart: always |
This file contains 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
Name | Description | |
---|---|---|
Apache Cordova | The most early stack for web dev to use even in JQuery time; people use it | |
React Native | as everyone knows | |
Expo | based on React Native | |
Ionic | An open source mobile UI toolkit for building modern; high quality cross-platform mobile apps from a single code base in React/Vue/Angular | |
Capacitor | Capacitor creates Web Native apps; providing a modern native container approach for teams who want to build web-first without sacrificing full access to native SDKs when they need it. | |
Quasar | based on Vue |
This file contains 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
################################################################################## | |
# ELIMINATE SPOTIFY ADS (VERSION 1.2 - 8.5) - UPDATED FREQUENTLY # | |
################################################################################## | |
# | |
# NOTE: SOMETIMES ONLY ANNOUNCEMENT OF AN AD WHILE USING APP VERSION 7.5-7.9?-8.x. | |
# USING AN OFFICIAL OLDER VERSION SOLVES THIS. TEST IT (APKMIRROR). THIS WILL NOT | |
# OCCUR USING CHROMECAST / GOOGLE HOME. | |
# | |
# COULD NOT SOLVE THE AUDIO AD INRO/OUTRO IN THE APP. | |
# SUGGESTIONS? WRITE A COMMENT BELOW. |
This file contains 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
function get_browser() { | |
var ua = navigator.userAgent, | |
tem, M = ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i) || []; | |
if (/trident/i.test(M[1])) { | |
tem = /\brv[ :]+(\d+)/g.exec(ua) || []; | |
return { | |
name: 'IE', | |
version: (tem[1] || '') | |
}; | |
} |
This file contains 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
class Path: | |
def __init__(self, path): | |
self.current_path = path | |
def cd(self, new_path): | |
positions = self.current_path.split('/') | |
if new_path == '/..': | |
return None | |
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.
NewerOlder