Skip to content

Instantly share code, notes, and snippets.

@arturosalgado
arturosalgado / font-awesome-v5.0.1.json
Created May 25, 2021 — forked from mohamdio/font-awesome-v5.0.1.json
List of all free Font Awesome icons class names v5.0.1
View font-awesome-v5.0.1.json
{"name":"Font Awesome v5.0.1", "icons":[
"fab fa-500px",
"fab fa-accessible-icon",
"fab fa-accusoft",
"fas fa-address-book", "far fa-address-book",
"fas fa-address-card", "far fa-address-card",
"fas fa-adjust",
"fab fa-adn",
"fab fa-adversal",
"fab fa-affiliatetheme",
View generated postgresql
ALTER TABLE students
ADD COLUMN
full_name varchar(250) GENERATED ALWAYS AS (second_last_name || ' ' || last_name || ' ' || name ) STORED
@arturosalgado
arturosalgado / ftpsupload.ps1
Created Sep 15, 2020 — forked from pbrumblay/ftpsupload.ps1
Powershell FTPS Upload Example
View ftpsupload.ps1
param (
[string]$file = $(throw "-file is required"),
[string]$ftphostpath = $(throw "-ftphostpath is required"),
[string]$username = $(throw "-username is required"),
[string]$password = $(throw "-password is required")
)
$f = dir $file
$req = [System.Net.FtpWebRequest]::Create("ftp://$ftphostpath/" + $f.Name);
$req.Credentials = New-Object System.Net.NetworkCredential($username, $password);