Skip to content

Instantly share code, notes, and snippets.

View boolfalse's full-sized avatar
🕸️
Semper Paratus

San B boolfalse

🕸️
Semper Paratus
View GitHub Profile
@phoenixinlinux
phoenixinlinux / I'll Do Docker And Docker Compose Installation On Ubuntu
Created May 24, 2022 17:04
I'll Do Docker And Docker Compose Installation On Ubuntu
#!/bin/sh
apt update -y
apt-get upgrade -y
apt install build-essential checkinstall
apt install ubuntu-restricted-extras
apt install software-properties-common
apt upgrade -o APT::Get::Show-Upgraded=true
apt-show-versions | grep upgradeable
apt install apt-show-versions
@shramee
shramee / google-reviews.php
Last active March 11, 2024 18:34
Get and shows google reviews
<?php
/**
* Get google reviews
* @return array Google reviews data
*/
function get_google_reviews(){
// URL to fetch
$google_api = 'https://maps.googleapis.com/maps/api/place/details/json?placeid=<your_place_id>&sensor=true&key=<key>';
@erickyun
erickyun / ytdl trimmerV1.bat
Last active February 7, 2024 16:11
Download only part of a youtube video
@setlocal
@echo off
set /p "URL=Enter URL here: "
set /p "START_TIME=Enter START_TIME here: "
set /p "END_TIME=Enter END_TIME here: "
set /p "END_FILENAME=Enter END_FILENAME here: "
set "VIDEO_URL= "
@Ryu1845
Ryu1845 / clip.sh
Created November 21, 2021 20:14
Download only part of a youtube video
#!/bin/bash
clip() {
YOUTUBE_URL="${1}"
START_TIME="${2}"
END_TIME="${3}"
END_FILENAME="${4}"
AUDIO_URL="$(yt-dlp "${YOUTUBE_URL}" -g -f bestaudio)"
VIDEO_URL="$(yt-dlp "${YOUTUBE_URL}" -g -f bestvideo)"
ffmpeg \
@sumonst21
sumonst21 / Programmable Web API's.md
Created September 15, 2021 19:39
Programmable Web API's
We couldn’t find that file to show.
@0xConstant
0xConstant / top_websites
Created March 14, 2021 22:29
top_websites
This file has been truncated, but you can view the full file.
google.com
youtube.com
tmall.com
baidu.com
qq.com
sohu.com
facebook.com
taobao.com
360.cn
jd.com
@joeljerushan
joeljerushan / PaginateApp.js
Last active April 13, 2024 06:11
React Pagination with Firebase FireStore - (Prev / Next Pagination)
import React, { useState, useEffect } from 'react'
//i'm using react-bootstrap for UI elements
import { Table, Button, ButtonGroup } from "react-bootstrap";
//firebase config
import firebase from './../../Firebase'
export default function App() {
const [list, setList] = useState([]);
const [page, setPage] = useState(1);
@MBrassey
MBrassey / Match_Addresses.md
Last active May 29, 2024 08:51
Match Crypto Wallet Addresses (REGEX)

Match Crypto Wallet Addresses using Regular Expressions

The following regular expressions are crafted to match some commonly used cryptocurrency wallet address types. This document details the Regex components and pattern tests to match Ethereum, Bitcoin, Dash and Monero addresses.

🌀 Click the images below to view the tested patterns.

Ethereum (ETH)

/^0x[a-fA-F0-9]{40}$/g

frs/admin/qrs.php
__admin
__cache/
__index.php
__MACOSX
__pma___
__SQL
__test.php
_.htpasswd
_adm