Skip to content

Instantly share code, notes, and snippets.

View migbash's full-sized avatar
:shipit:
On Track

MigBash migbash

:shipit:
On Track
  • Edinburgh Napier Univeristy
  • Edinburgh
View GitHub Profile
@migbash
migbash / SQLzoo.sql
Created October 7, 2019 19:42
Using nested SELECT
-- # Using nested SELECT
-- # 1. List each country name where the population is larger than that of 'Russia'.
SELECT name
FROM world
WHERE population > (SELECT population
FROM world
WHERE name='Russia')
-- # 2. Show the countries in Europe with a per capita GDP greater than 'United Kingdom'.
@migbash
migbash / Pipfile
Last active June 14, 2020 17:48
Simple and quick boilerplate for python webScraping Projects using technologies such as: BeautifulSoup4, Selenium, & Scrapy.
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true
[dev-packages]
[packages]
beautifulsoup4 = "*"
requests = "*"
@migbash
migbash / flexbox.sass
Created July 4, 2020 01:17
Simple Flexbox sass @mixin for easier sass visual & code modification
@mixin flex-config($justify-content: false, $flex: false, $flex-direction: false, $align-items: false)
display: flex;
@if $justify-content != false
justify-content: $justify-content;
@if $flex != false
flex: $flex;
@if $flex-direction != false
@migbash
migbash / docker-compose.yml
Created September 14, 2021 11:51 — forked from davidostermann/docker-compose.yml
Docker compose Postgres Adminer
version: '3.1'
services :
db:
image: postgres:10-alpine
ports:
- "5432:5432"
environment:
POSTGRES_USER: user1
POSTGRES_PASSWORD: changeme
POSTGRES_DB: tododb
@migbash
migbash / _analysis.js
Last active March 17, 2022 22:29
Honors Project Data Parsing and Analysis
// ... import necessary modules;
const fs = require('fs')
// import { data } from './participants'
// console.log('data', data)
// ... ##############################
// ... [INITIALIZE];
// ... ##############################
@migbash
migbash / gunicorn.py
Created December 17, 2022 08:36 — forked from HacKanCuBa/gunicorn.py
A config file of gunicorn(http://gunicorn.org/) contains fundamental configuration.
"""Gunicorn config file.
by HacKan (https://hackan.net)
Find it at: https://gist.github.com/HacKanCuBa/275bfca09d614ee9370727f5f40dab9e
Based on: https://gist.github.com/KodeKracker/6bc6a3a35dcfbc36e2b7
Changelog
=========
See revisions to access other versions of this file.
@migbash
migbash / README.md
Last active January 9, 2023 14:09
BETARENA | INTERVIEW #010 TASK

PR

clonar o (repositório) usando **git**
https://github.com/Betarena/mission_enter_world_of_sports
[Either MAIN or TEST branches]
  • Desenvolva um rápido relógio de contagem regressiva com
    • svelte/sveltekit e
@migbash
migbash / PostgreSQL-EXTENSIONs.md
Created January 16, 2024 01:34 — forked from joelonsql/PostgreSQL-EXTENSIONs.md
1000+ PostgreSQL EXTENSIONs

🗺🐘 1000+ PostgreSQL EXTENSIONs

This is a list of URLs to PostgreSQL EXTENSION repos, listed in alphabetical order of parent repo, with active forks listed under each parent.

⭐️ >= 10 stars
⭐️⭐️ >= 100 stars
⭐️⭐️⭐️ >= 1000 stars
Numbers of stars might not be up-to-date.